mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
lua_api.txt: Improve privilege definition (#8912)
This commit is contained in:
parent
36bfc67574
commit
52e3b4bc72
1 changed files with 4 additions and 3 deletions
|
@ -7023,10 +7023,11 @@ Privilege definition
|
||||||
Used by `minetest.register_privilege`.
|
Used by `minetest.register_privilege`.
|
||||||
|
|
||||||
{
|
{
|
||||||
description = "Can teleport", -- Privilege description
|
description = "",
|
||||||
|
-- Privilege description
|
||||||
|
|
||||||
give_to_singleplayer = false,
|
give_to_singleplayer = true,
|
||||||
-- Whether to grant the privilege to singleplayer (default true).
|
-- Whether to grant the privilege to singleplayer.
|
||||||
|
|
||||||
give_to_admin = true,
|
give_to_admin = true,
|
||||||
-- Whether to grant the privilege to the server admin.
|
-- Whether to grant the privilege to the server admin.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue