(Official) LUA Scripting Documentation
set_permission
Set a single permission for the context player.
Spec:
set_permission(
string name,
bool on)
Parameters
name
:on
:
Valid values for name: “Adventure”, “Edit”, “Creative”, “Fly”, “Map”, “Save”, “Admin”, “Grief” “VoiceChat”, “Spectate”, “SystemShops”, “ViewScripts”, “TextChat”
Incomplete
This documentation is incomplete