Does anybody have sample code in PHP to get the MOTD data from a remote PocketMine-MP server? I know I can do Query, and I have code for that. I am looking to get the data a MCPE client gets before connecting to a server.
You may want to have a look at RakLib. Though, the code can be simpler. Take a look at http://wiki.vg/Pocket_Minecraft_Protocol for more information.