mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow mods to listen to cheat detections using minetest.register_on_cheat()
This commit is contained in:
parent
742614180c
commit
8831669505
7 changed files with 40 additions and 3 deletions
|
@ -34,6 +34,7 @@ public:
|
|||
bool on_respawnplayer(ServerActiveObject *player);
|
||||
void on_joinplayer(ServerActiveObject *player);
|
||||
void on_leaveplayer(ServerActiveObject *player);
|
||||
void on_cheat(ServerActiveObject *player, const std::string &cheat_type);
|
||||
|
||||
void on_playerReceiveFields(ServerActiveObject *player,
|
||||
const std::string &formname,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue