forked from Mineclonia/Mineclonia
cora
d77f31eab8
Before this patch, Mineclonia set (and therefore sent) player bone positions and player properties in every globalstep. This results in about 30 TOCLIENT_ACTIVE_OBJECT_MESSAGE per second per player. This patch adds conditional functions to set bone positions and properties. The functions set values only when they have changed, reducing traffic. |
||
---|---|---|
.. | ||
locale | ||
textures | ||
README.md | ||
init.lua | ||
license.txt | ||
mod.conf |
README.md
PlayerPlus mod for MineClone 2
Features
- Hurt players touching cacti (0.5 hearts / 0.5s)
- Suffocation: Hurt players who have their head inside a solid block (0.5 hearts / 0.5s)
- Exhaustion for swimming and jumping
- Particle effects
Suffocation not dealt to player with the noclip
privilege.
Notes
This mod is based on PlayerPlus [playerplus
] by TenPlus1. It is now
very different than the original, no compability is intended.
See also mcl_playerinfo
for the player node info.
API
Setting the group disable_suffocation=1
disables suffocation for nodes which
would otherwise deal suffocation damage.
License
MIT License