diff options
Diffstat (limited to 'chatcommands.lua')
-rw-r--r-- | chatcommands.lua | 16 |
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 +}) |