All Projects → gorcon → Rcon Cli

gorcon / Rcon Cli

Licence: mit
RCON client for executing queries on game server.

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Rcon Cli

Steam Library Manager
Open source utility to manage Steam, Origin and Uplay libraries in ease of use with multi library support
Stars: ✭ 382 (+1636.36%)
Mutual labels:  steam
Steamtracking
🕵 Tracking things, so you don't have to
Stars: ✭ 542 (+2363.64%)
Mutual labels:  steam
Glosc
Tool for using the Steam-Controller as systemwide XInput controller alongside a global overlay
Stars: ✭ 677 (+2977.27%)
Mutual labels:  steam
Steamapi
An unofficial object-oriented Python library for accessing the Steam Web API.
Stars: ✭ 402 (+1727.27%)
Mutual labels:  steam
Php Source Query
🐘 PHP library to query servers that implement Steam query protocol (also known as Source Engine Query protocol)
Stars: ✭ 461 (+1995.45%)
Mutual labels:  steam
Threshold Skin
A Windows 10 UWP style skin for Steam
Stars: ✭ 590 (+2581.82%)
Mutual labels:  steam
Hourboostr
Two programs for idling Steam game hours and trading cards
Stars: ✭ 372 (+1590.91%)
Mutual labels:  steam
Smf Steam Auth
Login using your Steam account
Stars: ✭ 5 (-77.27%)
Mutual labels:  steam
Steam
☁️ Python package for interacting with Steam
Stars: ✭ 489 (+2122.73%)
Mutual labels:  steam
Valheim Server Docker
Valheim dedicated gameserver with automatic update, World backup and ValheimPlus mod support
Stars: ✭ 640 (+2809.09%)
Mutual labels:  steam
Tikione Steam Cleaner
Steam/GOG/Origin games redistributable packages finder and remover. Available in 13 languages.
Stars: ✭ 418 (+1800%)
Mutual labels:  steam
Node Steam User
Allows interaction with the Steam network via the Steam client protocol
Stars: ✭ 430 (+1854.55%)
Mutual labels:  steam
Depressurizer
Depressurizer is a program that helps you categorize your steam games.
Stars: ✭ 612 (+2681.82%)
Mutual labels:  steam
Linux Steam Integration
Helper for enabling better Steam integration on Linux
Stars: ✭ 386 (+1654.55%)
Mutual labels:  steam
Steamless
Steamless is a DRM remover of the SteamStub variants. The goal of Steamless is to make a single solution for unpacking all Steam DRM packed files. Steamless aims to support as many games as possible.
Stars: ✭ 768 (+3390.91%)
Mutual labels:  steam
Upmetroskin
This non-official addon for Metro for Steam fixes bugs with the current version and adds optional content for you to choose from.
Stars: ✭ 377 (+1613.64%)
Mutual labels:  steam
Uwphook
🔗 Add your Windows Store or UWP games to Steam
Stars: ✭ 566 (+2472.73%)
Mutual labels:  steam
Steamdock
A clean dock for your Steam games
Stars: ✭ 17 (-22.73%)
Mutual labels:  steam
Archisteamfarm
C# application with primary purpose of idling Steam cards from multiple accounts simultaneously.
Stars: ✭ 7,219 (+32713.64%)
Mutual labels:  steam
Valveresourceformat
🔬 Valve's Source 2 resource file format parser and decompiler
Stars: ✭ 638 (+2800%)
Mutual labels:  steam

rcon-cli

GitHub Build top level coverage Go Report Card GitHub All Releases

CLI for executing queries on a remote Source dedicated game server, using the RCON protocol.

Supported Games

Open pull request if you have successfully used a package with another game with rcon support and add it to the list.

Installation

Download the binary for your platform from the latest releases

See Changelog for release details

Usage

USAGE:
   rcon [options] [commands...]

GLOBAL OPTIONS:
   --address value, -a value   Set host and port to remote server. Example 127.0.0.1:16260
   --password value, -p value  Set password to remote server
   --type value, -t value      Specify type of connection (default: rcon)
   --log value, -l value       Path to the log file. If not specified it is taken from the config
   --config value, -c value    Path to the configuration file (default: rcon.yaml)
   --env value, -e value       Config environment with server credentials (default: default)
   --help, -h                  show help (default: false)
   --version, -v               print the version (default: false)

Rcon CLI can be run in two modes - in the mode of a single query and in the mode of reading the input stream

Single mode

Server address, password and command to server must be specified in flags at startup. Example:

./rcon -a 127.0.0.1:16260 -p mypassword command

Since from rcon-cli 0.9.0 version it is possible to send several commands in one request. Example:

./rcon -a 127.0.0.1:16260 -p mypassword command "command with several words" 'command "with double quotes"'

If commands are passed they will sent in a single mode. The response will displayed, and the CLI will exit.

Interactive input stream mode

To run CLI in interactive mode run rcon without commands. Example:

./rcon -a 127.0.0.1:16260 -p mypassword

Use ^C to terminate or type command :q to exit.

Configuration file

For more convenient use, the ability to create the rcon.yaml configuration file is provided. You can save the host and port of the remote server and its password. If the configuration file exists, and in it the default block is filled, then at startup the -a and -p flags can be omitted. Examples:

./rcon -a 127.0.0.1:16260 players
./rcon status
./rcon -p mypassword
./rcon 

Default configuration file name is rcon.yaml. File must be saved in yaml format. It is also possible to set the environment name and connection parameters for each server. You can enable logging requests and responses. To do this, you need to define the log variable in the environment blocks. You can do this for each server separately and create different log files for them. If the path to the log file is not specified, then logging will not be conducted.

default:
  address: "127.0.0.1:16260"
  password: "password"
  log: "rcon-default.log"
zomboid:
  address: "127.0.0.1:16260"
  password: "password"
  log: "rcon-zomboid.log"
rust:
  address: "127.0.0.1:28003"
  password: "password"
7dtd:
  address: "172.19.0.2:8081"
  password: "password"
  type: "telnet"

You can choose the environment at the start:

./rcon -e rust status
./rcon -e zomboid

And set custom config file

./rcon -c /path/to/config/file.yaml

You can use -l argument to specify path to log file.

 ./rcon -l /path/to/file.log

Since from rcon-cli 0.7.0 version support for the TELNET protocol has been added. On this protocol remote access to the 7 Days to Die console is based. You can use -t telnet argument to specify the protocol type.

 ./rcon -a 172.19.0.2:8081 -p password -t telnet version

Since from rcon-cli 0.8.0 version support for the Web RCON protocol has been added. On this protocol remote access to the Rust console is based. You can use -t web argument to specify the protocol type.

 ./rcon -a 127.0.0.1:28016 -p password -t web status

Contribute

If you think that you have found a bug, create an issue and indicate your operating system, platform and the game on which the error was reproduced. Also describe what you were doing so that the error could be reproduced.

License

MIT License, see LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].