Hi, how can I query multiple servers in server list? That means it shows the players of all my connected servers in the server list (like LBSG or SurvivalHive have)
There are many Queries on Google(mostly with example), or code one yourself. You can also use MySQL to save the Players Amount in a Database and use QueryRegenerateEvent to set the slots(this even will be called automatically every few ticks)
Yup! thats how some servers (cough* C%B%%T%%H) cheat player amounts. You can have for example, 2 layers on your server but on sites that use query to verify player amount like minecraft pocket server you can go to like 273 players and so on.
You can check what GrabBag does: https://github.com/alejandroliu/poc...aster/GrabBag/src/aliuly/grabbag/CmdQuery.php Or if you want you can use my libcommon library which you can find here: https://github.com/alejandroliu/pocketmine-plugins/tree/master/libcommon Usage examples: https://github.com/alejandroliu/pocketmine-plugins/tree/master/libcommon/resources/examples