mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
DevTest: Move chat command logging to separate mod
This commit is contained in:
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)
|
Reference in New Issue
Block a user