Scripts
This library also ships a couple of scripts intended as a proof-of-concept.
queryclt
: A Query client.rconclt
: An RCON client.rconshell
: An interactive RCON shell.
queryclt
queryclt is a Query client script to communicate with minecraft servers via the Query protocol using the shell. To communicate with a server, run:
queryclt <server> <stats_type> [<args>...] [options]
The placeholder <server>
can either be a pre-defined server’s name (see Configuration) or server socket identified by <host>:<port>
.
rconclt
rconclt is an RCON client script to communicate with minecraft servers via the RCON protocol using the shell. To communicate with a server, run:
rconclt <server> <command> [<args>...] [options]
The placeholder <server>
can either be a pre-defined server’s name (see Configuration) or server socket identified by [<password>@]<host>:<port>
.If no password was specified in either the pre-defined server entry or the server socket, the script will interactively ask for the server’s password.