Hi. I want to edit hungerbar (like adding hunger...). What packet should I use + does this packet even exist? 2) setHealth doesn't work. I setHealth to 20 and it kills the player... How to fix it?
It doesn't kill the player, the client thinks that it's dead, but it isn't if there is no respawn button, it's a Client-Side bug..
Katana build is suitable for minigame server only... Hahaha.. How about normal server?... Ugh... full of bugs.. And i think it will only be fixed in 0.13.x zzz
Just rename the file to "PocketMine-MP.phar". And don't tell me it doesn't work, because it should, or else you're doing something wrong.
The setHealth isn't an actual bug. read this: https://forums.pocketmine.net/threads/cancel-player-death-and-set-health.11488/