mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
DevTest: Move chat command logging to separate mod
This commit is contained in:
parent
8f1593e4e8
commit
97a80b4816
3 changed files with 5 additions and 4 deletions
3
games/devtest/mods/log/init.lua
Normal file
3
games/devtest/mods/log/init.lua
Normal file
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue