Is it possible to make a vanish that hides armor and items in the hand? Also is it possible to make the heads transparent for op's?
You could just despawn the player from other players which would completely hide the player. Transparent pixels in skins IIRC isn't possible and doing so would instead fill the pixel with a solid color.
you can hide specific player from another player PHP: $player->hidePlayer($playerToHide); https://github.com/pmmp/PocketMine-MP/blob/stable/src/pocketmine/Player.php#L562
Thanks! Also how can I make it so it ticks the message constantly: (You are in vanish!) above the player's hotbar