Can we change a server's(hub) player count in server list motd to a count of players on all other branch servers
Max players: PHP: $this->getModifier()->setMaxPlayerCount(number); Players inside the server: PHP: $this->getModifier()->setPlayers(number);
You can use QueryRegenerateEvent to change the displayed player count and max player count. PHP: /** @var QueryRegenerateEvent $event */$event->setPlayerCount(currentPlayerCount);$event->setMaxPlayerCount(maxPlayerCount);
QueryRegenerateEvent is called every 10 seconds or so. So you can have a repeating task yhat repeats every 10 seconds (200 ticks) which queries the other servers.