(Official) LUA Scripting Documentation
get_permission
Query if the context player has a particular permission.
Spec:
get_permission(
string name)
Parameters
name
: The permission being queried
Returns
bool
: True if the player has the permission
Valid values for name are: “Adventure”, “Edit”, “Creative”, “Fly”, “Map”, “Save”, “Admin”, “Grief” “VoiceChat”, “Spectate”, “SystemShops”, “ViewScripts”, “TextChat”
Incomplete
This documentation is incomplete