Improve server list ping, especially for legacy MC versions.

This commit is contained in:
Andrew Steinborn
2018-08-07 01:02:39 -04:00
parent df34c78b23
commit fdf5f27da6
13 changed files with 169 additions and 58 deletions

View File

@@ -32,6 +32,12 @@ public interface ProxyServer {
*/
Collection<Player> getAllPlayers();
/**
* Returns the number of players currently connected to this proxy.
* @return the players on this proxy
*/
int getPlayerCount();
/**
* Retrieves a registered {@link ServerInfo} instance by its name.
* @param name the name of the server