Creates a new instance of the PlayerPermissions class.
The player whose permissions are being managed.
The player's ability to have operator-level tags.
True if the player has the admin
tag, otherwise false.
Only applies when Main Menu > Security > Settings > Require admin tag for operator level tags
is enabled.
The player's ability to use the more dangerous operator-level custom commands in the add-on, such as \chunkban
.
True if the player has the canUseDangerousCommands
tag, otherwise false.
Gets the player's ability to run arbitrary JavaScript code in the chat with the ${se}
or ${scripteval}
escape sequence.
True if the player has the canUseScriptEval
tag, otherwise false.
Disables all permissions for the player.
Gets a JSON object representing the player's permissions.
The player's permissions as a JSON object.
A class that manages the permissions of a player.
Note: This only applies when the security mode is set to "Standard Security Mode" and not "Ultra Security Mode".
See
securityVariables