Go to file
2017-04-09 08:18:37 -05:00
cli Allow for one-shot command executions 2017-04-09 08:18:37 -05:00
cmd Allow for one-shot command executions 2017-04-09 08:18:37 -05:00
.gitignore Initial commit 2017-04-05 15:12:15 -05:00
circle.yml In circle build, allow git describe to give us an error 2017-04-05 15:42:49 -05:00
glide.lock Fixing glide lock 2017-04-05 15:15:07 -05:00
glide.yaml Initial commit 2017-04-05 15:12:15 -05:00
LICENSE Initial commit 2017-04-05 15:12:15 -05:00
main.go Initial commit 2017-04-05 15:12:15 -05:00
README.md Allow for one-shot command executions 2017-04-09 08:18:37 -05:00

A little RCON cli based on james4k's RCON library for golang.

Installation

  1. Download the appropriate binary for your platform from the latest releases

  2. On UNIX-y platforms, set the binary to be executable

Done.

Usage

rcon-cli is a CLI for attaching to an RCON enabled game server, such as Minecraft.
Without any additional arguments, the CLI will start an interactive session with
the RCON server.

If arguments are passed into the CLI, then the arguments are sent
as a single command (joined by spaces), the response is displayed,
and the CLI will exit.

Usage:
  rcon-cli [flags] [RCON command ...]

Examples:

rcon-cli --host mc1 --port 25575
rcon-cli --port 25575 stop
RCON_PORT=25575 rcon-cli stop


Flags:
      --config string     config file (default is $HOME/.rcon-cli.yaml)
      --host string       RCON server's hostname (default "localhost")
      --password string   RCON server's password
      --port int          Server's RCON port (default 27015)