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:
parent
30083d1e00
commit
17bfe2fe5b
4 changed files with 14 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue