|tenplus1 d626b7b77a add proper knockback with minetest 5.x's add_velocity||2 weeks ago|
|textures||4 years ago|
|README.md||2 weeks ago|
|depends.txt||3 years ago|
|description.txt||2 years ago|
|init.lua||2 weeks ago|
|license.txt||4 years ago|
|mod.conf||3 months ago|
|screenshot.png||2 years ago|
|settingtypes.txt||2 months ago|
PlayerPlus mod for minetest
This mod lets the player move faster when walking on ice, slows down the player when walking on snow, makes touching a cactus hurt and suffocates player when their head is inside a solid node... enjoy!
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:
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
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. A player with the privelage 'no_knockback' will not be affected when it's enabled.
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.
on_walk_over = function(pos, node, player) print ("---", node.name, player:get_player_name() ) end