1
0
mirror of https://github.com/minetest/minetest.git synced 2024-11-17 15:58:23 +01:00
minetest/clientmods
Elijah Duffy 7d3641021b
Lua API: Add register_on_chatcommand to SSM and CSM (#7862)
Allows catching a chatcommand call just after the command and the
parameters are parsed but before its existence is checked and before the
corresponding function is run. Returning `true` from a callback function
will prevent default handling of the command leaving mods to handle the
command manually.
2020-10-03 17:38:08 +01:00
..
preview Lua API: Add register_on_chatcommand to SSM and CSM (#7862) 2020-10-03 17:38:08 +01:00