Module register_on_player_walk
Global player walk callbacks
This module allows other modules to register callbacks that run whenever a player moves from one node to another.
Example usage: ```lua minetest.registeronplayerwalk(function(pos, prevpos, player)
-- pos: current node position -- prev_pos: previous node position -- player: the ObjectRef of the walking player
end) ```
Callbacks are triggered only when the player moves to a different node. The module automatically tracks player positions and cleans up on leave.