aboutsummaryrefslogtreecommitdiff
path: root/src/client/joystick_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/joystick_controller.h')
0 files changed, 0 insertions, 0 deletions
n> -- -- Privileges -- core.registered_privileges = {} function core.register_privilege(name, param) local function fill_defaults(def) if def.give_to_singleplayer == nil then def.give_to_singleplayer = true end if def.description == nil then def.description = "(no description)" end end local def = {} if type(param) == "table" then def = param else def = {description = param} end fill_defaults(def) core.registered_privileges[name] = def end core.register_privilege("interact", "Can interact with things and modify the world") core.register_privilege("teleport", "Can use /teleport command") core.register_privilege("bring", "Can teleport other players") core.register_privilege("settime", "Can use /time") core.register_privilege("privs", "Can modify privileges") core.register_privilege("basic_privs", "Can modify 'shout' and 'interact' privileges") core.register_privilege("server", "Can do server maintenance stuff") core.register_privilege("shout", "Can speak in chat") core.register_privilege("ban", "Can ban and unban players") core.register_privilege("kick", "Can kick players") core.register_privilege("give", "Can use /give and /giveme")