Skip to main content

API Reference

The Bouncer System provides a set of public methods allowing external Udon scripts to interact with it.

Below are the primary methods available to developers.


Methods

SetPlayerSecurityLevel

Updates a player's security level

public void SetPlayerSecurityLevel(int playerId, sbyte level)

Parameters:

ParameterTypeDescription
playerIdintThe ID of the player whose security level will be updated.
levelsbyteThe security level to assign.

SetPlayerVerified

Updates a non-security player's verification state

public void SetPlayerVerified(int playerId, bool state)

Parameters:

ParameterTypeDescription
playerIdintThe ID of the player whose verification state will be updated.
stateboolThe verification state to assign.

SetSecurity

Enables or disables security mode and updates verification for players without security privileges.

public void SetSecurity(bool state)

Parameters:

ParameterTypeDescription
statebooltrue to enable security mode; otherwise, false.

SetPlayersListSortMode

Sets the player-list sort mode and reorders synchronized player data

public void SetPlayersListSortMode(bool state)

Parameters:

ParameterTypeDescription
statebooltrue to sort alphabetically; false to sort by most recent join time.