summaryrefslogtreecommitdiff
path: root/games/devtest/mods/experimental/commands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'games/devtest/mods/experimental/commands.lua')
-rw-r--r--games/devtest/mods/experimental/commands.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/devtest/mods/experimental/commands.lua b/games/devtest/mods/experimental/commands.lua
index 158e5039d..132b08b0b 100644
--- a/games/devtest/mods/experimental/commands.lua
+++ b/games/devtest/mods/experimental/commands.lua
@@ -214,3 +214,6 @@ minetest.register_chatcommand("test_place_nodes", {
end,
})
+core.register_on_chatcommand(function(name, command, params)
+ minetest.log("caught command '"..command.."', issued by '"..name.."'. Parameters: '"..params.."'")
+end)