Scripting / Reference
Instance
Types in the ParelVR.Volt.Instance namespace.
VoltInstance#
ParelVR.Volt.Instance.VoltInstance static
The running copy of the world that the local player is in.
VoltInstance properties#
The player with authority over shared state that has no owner. In ParelVR this is the master.
Names of the players banned from this instance.
Most players the instance accepts.
Id of this instance.
The player on this client.
The instance master: the player who decides when several clients could.
Number of players in the instance, in every subroom.
Who can join the instance.
Id of the world this is an instance of.
VoltInstance methods#
Kicks a player and keeps them out for as long as the instance lives. Master only.
A property of the instance, such as "region" or "name". Empty when there is no such property.
True when the player is banned from this instance.
Sends a player out of the instance; their client goes back to the hub. Master only.
Lets a banned player back in, by the name they had when banned. Master only.
VoltInstancePrivacy#
ParelVR.Volt.Instance.VoltInstancePrivacy enum
Who can join an instance.
Values: Unknown, Public, FriendsPlus, Friends, InvitePlus, Invite, Group
