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.2.tar.gz (19.0 kB view hashes)

Uploaded Source

Built Distribution

qvalve-1.0.2-py3-none-any.whl (21.6 kB view hashes)

Uploaded Python 3

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