Download: https://notabug.org/TenPlus1/playerplus ... master.zip
Every second the mod checks which node the player is standing on, which node is
at foot and head level and stores inside a global table to be used by mods:
This feature is enabled by default and can be turned off by adding this line to
your minetest.conf file:
player_knockback = false
Knock-back is determined by tool strength or a specific 'knockback' value which
can be added to the tool damage_groups itself.
When enabled this allows players to use the old sneak glitch movement that lets
you climb sneak ladders and jump double blocks when using sneak+jump,
old_sneak = false
Node 'on_walk_over' function:
When added to a node definition the function will be called whenever a player
walks on top of the node e.g.
Code: Select all
on_walk_over = function(pos, node, player) print ("---", node.name, player:get_player_name() ) end