Skip to content

A java library that uses Minecraft's query protocol to fetch information about a Minecraft server.

License

Notifications You must be signed in to change notification settings

rmmccann/Minecraft-Status-Query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Status Query

Get information from any unmodded Minecraft server with the built in query protocol.

Usage

import query.*;
MCQuery mcQuery = new MCQuery("my.server.domain", 25565);
QueryResponse response = mcQuery.basicStat();
int players = response.getOnlinePlayers();
// Do other stuff

Examples can be found in src/examples/

Note:

Remember that query protocol must be enabled in your server.properties file with enable-query=true.

About

A java library that uses Minecraft's query protocol to fetch information about a Minecraft server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages