How to decode data from FullChunkDataPacket and get the normal data of the string? I've tried base64_decode, but it's not working PHP: var_dump(base64_decode($packet->data));
Just do the opposite of what pocketmine does, you should check the source code > https://github.com/pmmp/PocketMine-MP