minecraft_server library

Query and RCON implementation of Minecraft servers.

Classes

Description
MOTD description.
Extra
Extra MOTD text.
ListPingSocket
Allows the connection to a remote server using the rcon protocol. If the current ip address is banned no reply will be sent and the authentication will hang forever.
MinecraftServer
Wrapper for both RconSocket and QuerySocket
Mod
Version name and protocol number.
Modinfo
Server's mods.
Players
Total and connected players.
QuerySocket
Wrapper for the query protocol.
RconSocket
Allows the connection to a remote server using the rcon protocol. If the current ip address is banned no reply will be sent and the authentication will hang forever.
Sample
A server's player.
ServerInfo
Minecraft Server Info.
ServerPingInfo
Server info fetched using the Server List Ping interface.
SourceServer
Wrapper for both RconSocket and QuerySocket
Version
Version name and protocol number.

Typedefs

ServerFullInfo = Map<String, String>
Parsed map of a ServerFullInfo reply. See QuerySocket.getFullInfo.

Exceptions / Errors

QueryException
Exceptions thrown when the QuerySocket fails.
RconAuthenticationException
Exceptions thrown when the authentication with the RconSocket fails.
RconException
Exceptions thrown when the RconSocket fails.