Skip to content

Tool for sending RCON commands to game servers from the CLI

License

Notifications You must be signed in to change notification settings

blastorg/rcon-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RCON-CLI

A simple CLI for Valve's RCON server management.

rcon cli preview

Usage

rcon --help

example commands:

  • rcon server list // list all servers
  • rcon server add // add a new server
  • rcon -d action exec // execute a command on the Default server
  • rcon action exec // execute a command on a server (selected from a list)
  • rcon action shell // open a recurring command executor
  • rcon shell-completion <filename e.g. completion.sh> // generate shell completion script (auto detects shell)

Installation

Using Binaries

Download the latest release for your operating system and add them to your PATH.

CLI Autocomplete

You can generate shell completion scripts by running the following command:

rcon shell-completion <Filename e.g. completion.sh>

Installing it depends on your shell, for example, for bash:

source completion.sh

Building from source

Make sure you've set up your rust environment by following the instructions here.

  cargo build

or

  cargo build --release

Logging verbosity flag 🚩

  • -q silences output
  • -v show warnings
  • -vv show info
  • -vvv show debug
  • -vvvv show trace