mirror of
https://github.com/minetest/minetest.git
synced 2025-04-04 09:21:38 +02:00
lua_api.txt: Improve privilege definition (#8912)
This commit is contained in:
@ -7023,10 +7023,11 @@ Privilege definition
|
||||
Used by `minetest.register_privilege`.
|
||||
|
||||
{
|
||||
description = "Can teleport", -- Privilege description
|
||||
description = "",
|
||||
-- Privilege description
|
||||
|
||||
give_to_singleplayer = false,
|
||||
-- Whether to grant the privilege to singleplayer (default true).
|
||||
give_to_singleplayer = true,
|
||||
-- Whether to grant the privilege to singleplayer.
|
||||
|
||||
give_to_admin = true,
|
||||
-- Whether to grant the privilege to the server admin.
|
||||
|
Reference in New Issue
Block a user