Hi guys, I have one question. How to can make multiple query on my server? (Lobby) Now i have 2 servers: survival and factions + lobby Can make players and max players on server list? Example: Survival: 12/20 Factions: 15/20 Lobby: 2/10 After multi query: Lobby: 29/50 I find libcommon and xPaw, but i can not use this. Who can help and tell me how to make this step by step. Best regards PS: lbsg have this.
Please first explain how you are planning to fetch the number of players from the other servers. Next, use QueryRegenerateEvent, or $server->getQueryInformation->setPlayerCount().
I do not understand how to do it. I know nothing about programming, (i hope you will change) You can explain it to me step by step? Not spoken with want to let have everything ready. Sorry for my english but i use google translator
I think that only changes the results of queries, but not necessarily the results from MOTD requests.
MOTD requests use QueryRegenerateEvent information, according to https://github.com/PocketMine/Pocke...c/pocketmine/network/RakLibInterface.php#L176
I modyfi query gen at line 31, but not work :/ Screen: I make ZIP (phar to ZIP) I go to libcommon --> resources --> exaples --> querygen.php Next modyfi line 31 (screen) And create phar, past to "plugins" What am i doing wrong?
If you know nothing about programming, then why bother? This task is simply too hard for someone like you. I'll even admit that I can't do it. But why post this here? Is this a tutorial or a development snippet? I don't think so.
I wrote it because want to let to know how to do it. Maybe there's a person who knows about this and help me.
I hope I will learn to write plugins. Maybe this is a bad section. Why are you asking me if I wanted to learn to write plugins?
For anyone in the future that might be interested I quickly whipped this up: https://github.com/basprohop/CombinedSlots It works and is configurable, also please use the search function before posting threads