An async CLI for Q3 compatible RCON servers built with aio-q3-rcon and clypi.
Project description
q3rcon-cli
Table of Contents
Installation
with uv
uv tool install q3rcon-cli
with pipx
pipx install q3rcon-cli
The CLI should now be discoverable as q3rcon-cli.
Configuration
Flags
Pass --host, --port and --password as flags:
q3rcon-cli --host=localhost --port=28960 --password=rconpassword
Additional Flags:
--interactive: Boolean flag, enable REPL mode.
Environment Variables
example .envrc:
#!/usr/bin/env bash
export Q3RCON_CLI_HOST=localhost
export Q3RCON_CLI_PORT=28960
export Q3RCON_CLI_PASSWORD="<rcon password>"
Use
Usage: q3rcon-cli [OPTIONS] COMMAND
┏━ Subcommands ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ fastrestart Executes a fast restart of the server ┃
┃ gametype Get or set the current gametype of the server ┃
┃ hostname Get or set the current hostname of the server ┃
┃ map Get the current map or change to a new one ┃
┃ mapname Prints the current map name of the server ┃
┃ maprestart Restarts the current map ┃
┃ maprotate Rotates the map to the next one in the map rotation list ┃
┃ plugins Prints the currently loaded plugins of the server ┃
┃ status Prints the status of the server ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
┏━ Options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ -i, --interactive Whether to start in interactive mode (defaults to false) ┃
┃ -v, --version Show the version and exit ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
┏━ Connection options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ -h, --host <HOST> The host to connect to ┃
┃ -p, --port <PORT> The port to connect to ┃
┃ -P, --password <PASSWORD> The password for authentication ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Special Thanks
- lapetus-11 for writing the aio-q3-rcon package.
- Daniel Melchor for creating the wonderful clypi library.
License
q3rcon-cli is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file q3rcon_cli-0.3.2.tar.gz.
File metadata
- Download URL: q3rcon_cli-0.3.2.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
080fd6aac0c819acb6c306198255cbce12d3ee27f1f0212504ddddd71eaec2aa
|
|
| MD5 |
649bc17426417ea93a3605b70a7ef9dc
|
|
| BLAKE2b-256 |
a4cf716a06e27362808a49ea212dac5670d232ab4451a13c8578694d3f40edd9
|
Provenance
The following attestation bundles were made for q3rcon_cli-0.3.2.tar.gz:
Publisher:
publish.yml on onyx-and-iris/q3rcon-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
q3rcon_cli-0.3.2.tar.gz -
Subject digest:
080fd6aac0c819acb6c306198255cbce12d3ee27f1f0212504ddddd71eaec2aa - Sigstore transparency entry: 1165919201
- Sigstore integration time:
-
Permalink:
onyx-and-iris/q3rcon-cli@80638762d3bd9c2ddfaa3ad3b5bb44041ec21552 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/onyx-and-iris
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@80638762d3bd9c2ddfaa3ad3b5bb44041ec21552 -
Trigger Event:
push
-
Statement type:
File details
Details for the file q3rcon_cli-0.3.2-py3-none-any.whl.
File metadata
- Download URL: q3rcon_cli-0.3.2-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf12be0129dfc3a9ac52a3178e9bc31acfeec4d79fd18d39439bce9434627d83
|
|
| MD5 |
af24249cc6648b6e8af7187939e9b5ed
|
|
| BLAKE2b-256 |
88f674d071a74e105f436430f565ea5e2700309ac0c208b086bcac7ee833f209
|
Provenance
The following attestation bundles were made for q3rcon_cli-0.3.2-py3-none-any.whl:
Publisher:
publish.yml on onyx-and-iris/q3rcon-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
q3rcon_cli-0.3.2-py3-none-any.whl -
Subject digest:
bf12be0129dfc3a9ac52a3178e9bc31acfeec4d79fd18d39439bce9434627d83 - Sigstore transparency entry: 1165919352
- Sigstore integration time:
-
Permalink:
onyx-and-iris/q3rcon-cli@80638762d3bd9c2ddfaa3ad3b5bb44041ec21552 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/onyx-and-iris
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@80638762d3bd9c2ddfaa3ad3b5bb44041ec21552 -
Trigger Event:
push
-
Statement type: