1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Builtin: Add basic_privs setting

This commit is contained in:
rubenwardy 2016-04-09 16:07:45 +01:00 committed by paramat
parent 30083d1e00
commit 17bfe2fe5b
4 changed files with 14 additions and 3 deletions

View file

@ -1924,6 +1924,7 @@ Call these functions only at load time!
* `minetest.register_privilege(name, definition)`
* `definition`: `"description text"`
* `definition`: `{ description = "description text", give_to_singleplayer = boolean, -- default: true }`
* To allow players with basic_privs to grant, see basic_privs minetest.conf setting.
* `minetest.register_authentication_handler(handler)`
* See `minetest.builtin_auth_handler` in `builtin.lua` for reference