aboutsummaryrefslogtreecommitdiff
path: root/chatcommands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'chatcommands.lua')
-rw-r--r--chatcommands.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/chatcommands.lua b/chatcommands.lua
index 58792c3..1e61504 100644
--- a/chatcommands.lua
+++ b/chatcommands.lua
@@ -46,3 +46,19 @@ minetest.register_chatcommand("mesecons_disable", {
return true, "mesecons disabled"
end
})
+
+minetest.register_chatcommand("mesecons_whitelist_add", {
+ description = "adds the current mapblock to the whitelist",
+ privs = {mesecons_debug=true},
+ func = function()
+ return true, "mesecons disabled"
+ end
+})
+
+minetest.register_chatcommand("mesecons_whitelist_remove", {
+ description = "removes the current mapblock from the whitelist",
+ privs = {mesecons_debug=true},
+ func = function()
+ return true, "mesecons disabled"
+ end
+})