Skip to content

Latest commit

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

MCServerPing

About

MCServerPing is an API for you to obtain basic information for a Minecraft server.

Quick Start

MCServerPing is available on Maven Central. To use it, add the following dependency to your pom.xml:

<dependency>
<groupId>dev.redcoke</groupId>
<artifactId>mcserverping</artifactId>
</dependency>

Supported Inputs

  • IP
  • A record
  • SRV record

Example

importdev.redcoke.mcserverping.MCServerPing;
publicclassMCServerPingDemo() {
publicstaticvoidmain(String[] args) {
varhypixelPingResponse = MCServerPing.getPing("mc.hypixel.net", 25565);
System.out.println(hypixelPingResponse.getAsJsonString());
}
}

Releases

Packages

Used by

Contributors

Languages