Installation
- Find the prefab on
Packages/valenvrc - BouncerSystem/Runtimeand drag it to your scene. - Add the usernames of your security personnel on the "SecurityNames" list.
- Optionally change the lists of on/off objects of both security and verified users.
Settings
- DebugMode : bool - Enables additional log messages on the console.
- UdonConsole : UdonConsole - Optional reference to Varneons UdonLogger console.
- RespawnOnUnverify : bool - If the players should be respawned when unverified.
- IOIsSecurity : bool - If true, automatically grants security status to the instance creator.
- SecurityNamesUrl : VRCUrl - External url to get security usernames from.
- SecurityRole : KeyPadRol - If the player has this KeyPadRol it will be automatically logged in as security.
- SecurityNames : string[] - List of user names that will be automatically logged in as security.
- SecurityObjectsOn : GameObject[] - List of objects that will be turned on for security users.
- SecurityObjectsOff : GameObject[] - List of objects that will be turned off for security users.
- VerifiedRole : KeyPadRol - If the player has this role it will be automatically verified.
- VerifiedObjectsOn : GameObject[] - List of objects that will be turned on for verified users.
- VerifiedObjectsOff : GameObject[] - List of objects that will be turned off for verified users.
References
You shouldnt need to change these unless you know what you are doing.
BUD : BouncerUserData - PlayerObject that stores the security level of each player. LoadingScreen : GameObject - Will be turned on while the user list on the gui is updating.