Go to file
2019-01-10 18:05:35 -06:00
.circleci ci: allow for rc tags 2019-01-10 18:05:35 -06:00
cli Allow for one-shot command executions 2017-04-09 08:18:37 -05:00
cmd Don't use config file searching when explicitly passed 2019-01-09 22:21:15 -06:00
.gitignore Switch to Go modules 2019-01-09 22:22:24 -06:00
.goreleaser.yml ci: allow for rc tags 2019-01-10 18:05:35 -06:00
DEVELOPMENT.md docs: adding release instructions 2019-01-10 17:47:04 -06:00
Dockerfile ci: fix docker build 2018-05-19 11:39:34 -05:00
go.mod ci: tidy up the go.mod 2019-01-10 17:42:05 -06:00
go.sum ci: tidy up the go.mod 2019-01-10 17:42:05 -06: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)