mc_rcon library

Package mc_rcon allow to use rcon to control Minecraft servers.

This package has only been tested with Minecraft servers, so it might not work with any other game server, PRs are welcome.

Classes

Rcon
Class Rcon allows to connect and send commads to a rcon sever

Exceptions / Errors

AlreadyConnectedException
Thrown then calling connect() but the Rcon instance is already connected
AuthenticationFailedException
Thrown when the authentication fails [...]
InvalidPacketException
Thrown when trying to deserialize an invalid packet
NotConnectedException
Thrown when trying to do something without connecting first [...]
TimeoutException
Thrown when the rcon server fails to respond within the timeout duration