Good evenning pmmp it's ya boi..;,.;;,';,.; You see, on the MCPE server list, they display the player count and the names of the players online and for this to happen the website does not require you to connect the api to your server. So this left me a bit baffled; how the heck does the website display the names of the players online? If this is able to be done it will become very handy for a plugin I'm making. How would this be done in pocketmine?
This is done through the query interface pocketmine offers. You could install SSS on your server and use it through its api: https://github.com/robske110/SignServerStats/blob/master/README.md#api
He linked you a plugin that uses it, what more do you want him to do? Do you need a back rub? This is the function he uses to query. Please check information sent to you before asking people to spoon feed it to you.