diff options
Diffstat (limited to 'games/devtest/mods/log')
| -rw-r--r-- | games/devtest/mods/log/init.lua | 3 | ||||
| -rw-r--r-- | games/devtest/mods/log/mod.conf | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/games/devtest/mods/log/init.lua b/games/devtest/mods/log/init.lua new file mode 100644 index 000000000..4102bca36 --- /dev/null +++ b/games/devtest/mods/log/init.lua @@ -0,0 +1,3 @@ +minetest.register_on_chatcommand(function(name, command, params) + minetest.log("action", "[devtest] Caught command '"..command.."', issued by '"..name.."'. Parameters: '"..params.."'") +end) diff --git a/games/devtest/mods/log/mod.conf b/games/devtest/mods/log/mod.conf new file mode 100644 index 000000000..d2f37b979 --- /dev/null +++ b/games/devtest/mods/log/mod.conf @@ -0,0 +1,2 @@ +name = log +description = Log DevTest-related actions |
