开源软件名称(OpenSource Name):lucaazalim/minecraft-server-ping开源软件地址(OpenSource Url):https://github.com/lucaazalim/minecraft-server-ping开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):MCServerPingMCServerPing is a quick and easy Java API for grabbing Minecraft server information. It allows you to access information sent to the client to display on the server list. Currently, information available is:
Some additional features:
Please leave the copyright notice intact in source if you copy source into your code rather than build path. If you require compatibility with the previous packets, use the alpha tag. The latest version of MCServerPing is based heavily upon the work of zh32. ConfigurationConfiguration is provided through the
ExampleMinecraftServerPing is very easy to use and implement into any project. Simply clone the repo, compile the code and add it to your build path. Coding with it is as simple as this too: MCPingOptions options = MCPingOptions.builder()
.hostname("example.com")
.port(25565)
.build();
MCPingResponse data = MCPing.getPing(options);
System.out.println(data.getDescription().getStrippedText() + " -- " + data.getPlayers().getOnline() + "/" + data.getPlayers().getMax()); An example class is available here. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论