forked from Mirrorlandia_minetest/minetest
protection_bypass priv can now be revoked in singleplayer (#4169)
This commit is contained in:
parent
a9bc7dc405
commit
4134d8ad13
@ -32,7 +32,10 @@ core.register_privilege("settime", "Can use /time")
|
|||||||
core.register_privilege("privs", "Can modify privileges")
|
core.register_privilege("privs", "Can modify privileges")
|
||||||
core.register_privilege("basic_privs", "Can modify 'shout' and 'interact' privileges")
|
core.register_privilege("basic_privs", "Can modify 'shout' and 'interact' privileges")
|
||||||
core.register_privilege("server", "Can do server maintenance stuff")
|
core.register_privilege("server", "Can do server maintenance stuff")
|
||||||
core.register_privilege("protection_bypass", "Can bypass node protection in the world")
|
core.register_privilege("protection_bypass", {
|
||||||
|
description = "Can bypass node protection in the world",
|
||||||
|
give_to_singleplayer = false,
|
||||||
|
})
|
||||||
core.register_privilege("shout", "Can speak in chat")
|
core.register_privilege("shout", "Can speak in chat")
|
||||||
core.register_privilege("ban", "Can ban and unban players")
|
core.register_privilege("ban", "Can ban and unban players")
|
||||||
core.register_privilege("kick", "Can kick players")
|
core.register_privilege("kick", "Can kick players")
|
||||||
|
Loading…
Reference in New Issue
Block a user