Player.permissions

Gets a list of the player's permissions.

class Player
@property
string[]
permissions
()

Examples

player.grantPermission("minecraft.teleport");
player.grantPermission("minecraft.*");
assert(player.permissions == ["minecraft.*"]);

Meta