aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.homenet.org>2016-05-30 14:40:32 +0200
committerZeno- <kde.psych@gmail.com>2016-05-30 22:40:32 +1000
commit4134d8ad13c371820a485a9752b1197a8d7007f3 (patch)
tree9e76ffabbb961e8f80e9212591573c88b8267e50 /builtin
parenta9bc7dc405df04d5a3cb5fe5de43190200dc692d (diff)
downloadminetest-4134d8ad13c371820a485a9752b1197a8d7007f3.tar.gz
minetest-4134d8ad13c371820a485a9752b1197a8d7007f3.tar.bz2
minetest-4134d8ad13c371820a485a9752b1197a8d7007f3.zip
protection_bypass priv can now be revoked in singleplayer (#4169)
Diffstat (limited to 'builtin')
-rw-r--r--builtin/game/privileges.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/game/privileges.lua b/builtin/game/privileges.lua
index bd5ead624..5838b9374 100644
--- a/builtin/game/privileges.lua
+++ b/builtin/game/privileges.lua
@@ -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")