protection_bypass priv can now be revoked in singleplayer (#4169)

This commit is contained in:
Sokomine 2016-05-30 14:40:32 +02:00 committed by Zeno-
parent a9bc7dc405
commit 4134d8ad13
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@ core.register_privilege("settime", "Can use /time")
core.register_privilege("privs", "Can modify privileges")
core.register_privilege("basic_privs", "Can modify 'shout' and 'interact' privileges")
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("ban", "Can ban and unban players")
core.register_privilege("kick", "Can kick players")