Releases: idoknow/MCSManagerAPI
BasicInfoAPI v1.1
BasicInfoAPI v1.0
Change client side protocol version
BasicInfoAPI v0.6-DebugMode
Add debug mode.
BasicInfoAPI v0.5.1
Fix uncatchable NullPointerException when getting favicon image from a server without favicon.
BasicInfoAPI v0.5-GetImageFromBase64Favicon
Add getFaviconImage(); method for getting BufferedImage object from the favicon Base64 data.
BasicInfoAPI v0.4-SupportMoreLegacyVersion
Add support for version before 1.3.x.
Check release page and commit history.
BasicInfoAPI v0.3-LegacyPing 1.4.x 1.5.x
Add support for server version 1.4.x or 1.5.x.
And add a method:boolean isAvailable();
You can simply call it to check if the info is available.
e.g.
MinecraftServer mcs=new MinecraftServer("localhost",25565);
System.out.println(mcs.isAvailable());
BasicInfoAPI v0.2-LegacyServerListPing Supported
Automatically switch to legacy list ping packet after getting a EOFException while using default list ping packet.
Now this API can get info from a 1.6.x or after server.
*Only updated internal algo,so you don't need to change your caller code.
BasicInfoAPI v0.1.1
Fix bugs:throw untrackable NullPointerException on getting player list and extra description list when they are null.
BasicInfoAPI v0.1
This API supports the basic info getting,includes:
String getVersionName();
int getVersionProtocol();
int getMaxPlayer();
int getOnlinePlayer();
Player[] getPlayerList();
String getDefaultDescriptionText();
String getDefaultDescriptionColor();
ExtraDescr[] getExtraDescription();
String getFavicon();
You can see also in src/main/api/IServerInfo.java
It requires the server's version higher than 1.6.