Allow mods to listen to cheat detections using minetest.register_on_cheat()
This commit is contained in:
@@ -34,6 +34,7 @@ class ScriptApiPlayer
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user