minetest.register_on_cheat

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.register_on_cheat(func(ObjectRef, cheat))


Description

  • Called when a player cheats
  • cheat: {type="moved_too_fast"/"interacted_too_far"/"finished_unknown_dig"/"dug_unbreakable"/"dug_too_fast"}



This article is incomplete.




This article is missing examples, feel free to add them.


Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox