rcon-cli

rcon-cli

Command-line RCON client for managing game servers

623stars
54forks
Last commit: 7mo ago
Repo age: 7y old

rcon-cli is a small command-line client implemented in Go for sending commands to game servers that expose the RCON protocol. It can run single commands or operate interactively, and supports multiple connection types (RCON, telnet, web) depending on the game server.

Key Features

  • Implements Source RCON protocol (and supports alternate connection types such as telnet and web where applicable).
  • Two operation modes: single-command mode (execute one or multiple commands and exit) and interactive input-stream mode (REPL-like session).
  • YAML-based configuration file (rcon.yaml) with named environments to store multiple server credentials and per-environment logging paths.
  • Docker image provided for containerized usage and easy deployment.
  • Cross-platform prebuilt binaries published in releases for common OS/architectures.
  • CLI options for address, password, connection type, config path, environment selection, timeout, logging, and a skip-errors mode.
  • Works with many games tested by the project (examples include Minecraft, Rust, CS:GO, Factorio, ARK, Project Zomboid, 7 Days to Die, Conan Exiles, TF2, V Rising, Palworld).

Use Cases

  • Send administrative or diagnostic commands to a remote game server from scripts or CI jobs.
  • Interactive server management for game administrators who prefer a terminal-based tool.
  • Integrate into automation pipelines (containers or host scripts) to query server status, list players, or run maintenance commands.

Limitations and Considerations

  • Protocol scope is limited to RCON (Source RCON) and specific alternate connection types; servers using other remote-control protocols (e.g., BattlEye-specific protocols) are not supported unless they expose a compatible interface.
  • Some games require server-side flags or specific connection types (e.g., enabling web RCON for Rust or using telnet for certain titles); operator must configure the server accordingly.
  • No graphical interface or web UI; tool is purely command-line oriented and intended for administrators comfortable with terminals.

rcon-cli is a focused, minimal CLI tool for remotely executing commands on RCON-capable game servers. It emphasizes simplicity, scriptability, and small operational footprint while providing configuration and Docker support for common deployment patterns.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Puter

Puter

Self-hostable web-based personal cloud and desktop environment

38.7k
3.4k
Last commit: 16h ago

Self-hostable internet OS that provides a web desktop, cloud storage, and an app platform for files, web apps, and remote-work style workflows.

Alternative to:
Google Drive
Google Drive
+19
Sunshine

Sunshine

Self-hosted game streaming host compatible with Moonlight

33.6k
1.7k
Last commit: 18h ago

Self-hosted game streaming server for Moonlight with low-latency streaming, hardware/software encoding, and web-based configuration and pairing.

Alternative to:
Parsec
Parsec
+11
Teleport

Teleport

Identity-aware access proxy for infrastructure and internal apps

19.7k
2k
Last commit: 17h ago

Secure access platform for servers, Kubernetes, databases, desktops, and web apps with SSO/MFA, short-lived certificates, and full session auditing.

Alternative to:
Twingate
Twingate
+16
Pangolin

Pangolin

Identity-aware VPN and reverse proxy for secure remote access

18k
532
Last commit: 2d ago

Open-source identity-based remote access platform combining WireGuard VPN and tunneled reverse proxy access with granular zero-trust controls.

Alternative to:
Cloudflare Access
Cloudflare Access
+16
n.eko (Neko)

n.eko (Neko)

Self-hosted virtual browser and shared desktop via WebRTC

16.8k
1.1k
Last commit: 1mo ago

Neko is a self-hosted virtual browser/desktop streamed over WebRTC, enabling low-latency remote access and multi-user collaborative sessions in Docker.

Alternative to:
Hyperbeam
Hyperbeam
+10
XPipe

XPipe

Connection hub and remote file manager for managing server infrastructure

13.5k
517
Last commit: 22h ago

Desktop application that centralizes SSH, containers, VMs, Kubernetes and remote file management; integrates local CLI tools and syncs connection data via git.

Alternative to:
MobaXterm
MobaXterm
+6