nTraum / rubycon

CLI for managing Source dedicated game servers. HLSW for the console, so to say.
22 stars 1 forks source link

About

Rubycon is a CLI for managing Source dedicated game servers (TF2, CS:S...). Think of it as a HSLW clone, but terminal-based.

Screenshot

Features:

Follow this gem on Twitter.

Installation

Make sure you're on Ruby 2.0 or later (ruby --version).

You'll also need readline:

Install rubycon with the following command:

$ gem install rubycon

Usage

First of all, add a game server to rubycon:

$ rubycon add my_server \
    --address=192.168.0.1 \
    --rcon=foobar

Time to check out how your server is doing:

$ rubycon list
Server                   Map     Players      Ping
my_server          ctf_2fort        4/25        42

Hop into a rcon session:

$ rubycon console my_server
Use CTRL+D to exit.
> sta
star_memory  startdemos   startmovie   startupmenu  stats        status
> status
hostname: MyServer
version : 1797820/24 5331 secure
udp/ip  : 192.168.0.1:27015  (public ip: 192.168.0.1)
account : not logged in  (No account specified)
map     : ctf_2fort at: 0 x, 0 y, 0 z
sourcetv:  port 27020, delay 90.0s
players : 0 (25 max)

# userid name                uniqueid            connected ping loss state  adr
>

Need stats from all your servers? Yes sir:

$ rubycon execute --command=stats --all
my_server:
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
0.00   0.00       0.00        5093    7            62.44    0        1
---------------------------------

Need further help? $ rubycon help $ rubycon help execute $ rubycon help rm ...

Contributing

Code Status

License

rubycon is released under the MIT License.