q3rcon-cr v0.2.1
q3rcon-cr
A Quake3 RCON implementation
Installation
-
Add the dependency to your
shard.yml:dependencies: q3rcon: github: onyx-and-iris/q3rcon-cr -
Run
shards install
Usage
require "q3rcon"
# Connect to the server
client = Q3Rcon::Client.new(
"127.0.0.1",
28960,
ENV["Q3RCON_PASSWORD"]? || "changeme"
)
# Send a RCON command
response = client.exec("status")
puts response
Included CLI
Flags
Usage: q3rcon [options] <command>
-h HOST, --host HOST Server host
-p PORT, --port PORT Server port
-w PASS, --password PASS RCON password
-i, --interactive Interactive mode
--version Show version
--help Show help
Environment Variables
example .envrc:
#!/usr/bin/env bash
export Q3RCON_HOST="127.0.0.1"
export Q3RCON_PORT="28960"
export Q3RCON_PASSWORD="changeme"
Repository
q3rcon-cr
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- about 6 hours ago
- October 19, 2026
License
MIT License
Links
Synced at
Mon, 19 Oct 2026 22:30:18 GMT
Languages