i want to set manually the PlayerList (DisplayList which the names of all players), there is a packet called 'PlayerListPacket' but what exactly it need to work? any example?
look at how the core does it: https://github.com/pmmp/PocketMine-...80659ea/src/pocketmine/Server.php#L2116-L2152 just construct it, modify entries correctly https://github.com/pmmp/PocketMine-...network/protocol/PlayerListPacket.php#L33-L35 and send it to all players.