Skip to main content

Query Valve Main and Game Servers

Project description

qvalve - Query Valve Main and Game Servers

Usage

qvalve [--max-threads NUM] [--debug] [--show-players] [--show-keywords]
       [--show-tags] [--report-keywords] [--max-servers NUM]
       [--regions NUM [NUM ...]] [--appid NUM] [--empty NUM]
       [--full NUM] [--noplayers NUM] [--map-name NAME]
       [--map-prefix PREFIX] [--min-players NUM] [--no-max-players]
       [--max-ping NUM] [--no-mm-strict-1] [--web-server] [-h] [-v]
       [-V] [--config FILE] [--print-config] [--print-url]
       [--completion [SHELL]]
       [ADDR ...]

Search Valves Main server for Game servers. Integrated with tf2mons hacker-database to identify known cheaters on game servers. Click on a server to show/hide its players; Ctrl-Click on server (or players) to subsequently connect to that server when F12 is pressed in-game.

Options

--max-threads NUM   Run `NUM` threads for game server comms (default:
                    `10`).
--debug             Pretty-print raw response records (default: `False`).
--show-players      Print `A2S_PLAYER.names` (default: `False`).
--show-keywords     Print `A2S_INFO.keywords` (default: `False`).
--show-tags         Print `A2S_RULES.sv_tags` (default: `False`).
--report-keywords   Print keywords report (default: `False`).

Stage one filters, sent to valve in query to get list of remote game servers

--max-servers NUM   Get no more than `NUM` servers per region (default:
                    `100`).
--regions NUM [NUM ...]
                    Get servers for list of regions (default: `[0, 1, 2,
                    3]`).
--appid NUM         Servers that are running game (default: `440`).
--empty NUM         Servers that are not empty.
--full NUM          Servers that are not full.
--noplayers NUM     Servers that are empty.
--map-name NAME     Match map `NAME` (exact).
--map-prefix PREFIX
                    Match map names that start with `PREFIX`.

Stage two filters, applied after querying valve

--min-players NUM   Where number of players is at least NUM.
--no-max-players    Where number of players is less than its
                    `max_players`.
--max-ping NUM      Where ping is NUM or less.
--no-mm-strict-1    Where tf_mm_strict is not 1.

Usage 2

ADDR                Query list of Game server addresses, where ADDR is
                    `IP:PORTNO`.

Usage 3

--web-server        Run web server.

General options

-h, --help          Show this help message and exit.
-v, --verbose       `-v` for detailed output and `-vv` for more detailed.
-V, --version       Print version number and exit.
--config FILE       Use config `FILE` (default: `~/.qvalve.toml`).
--print-config      Print effective config and exit.
--print-url         Print project url and exit.
--completion [SHELL]
                    Print completion scripts for `SHELL` and exit
                    (default: `bash`).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qvalve-1.0.4.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

qvalve-1.0.4-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file qvalve-1.0.4.tar.gz.

File metadata

  • Download URL: qvalve-1.0.4.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for qvalve-1.0.4.tar.gz
Algorithm Hash digest
SHA256 6241ad5bdc6ce4eae7ba1ef1e26fc569b7c346721a1f0537702a3b40cad05377
MD5 1ad0488ea2a5e59811e33e38c4f3816e
BLAKE2b-256 049b2cd1ca5805e23166b4cc97ee2f15204c835f9c58364c8f98b1da824bce81

See more details on using hashes here.

File details

Details for the file qvalve-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: qvalve-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for qvalve-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c70bc2f2517a11b8355c3ae4af1569a330a35c34dfb8f6b6fb1cc3b7bae8ffd
MD5 b6e25dd5a72b32d29a62e44b178f0cff
BLAKE2b-256 2271ef3d4d660db474df4295a074c140cca63c0cde2e8bb612b4e36f262964d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page