a2squery
A tool for extracting A2S query information from Source Dedicated Servers.
Usage
Usage: a2squery --host <HOST> --port <PORT>
Options:
--host <HOST> Server hostname or IP
--port <PORT> The server's query port
-h, --help Print help
-V, --version Print version
Example:
a2squery --host 127.0.0.1 --port 27015
To use a2squery
simply provide an IP or domain name to the --host
flag, and a port number to the --port
flag. The output will look like this:
{
"protocol_ver": 17,
"server_name": "Team Fortress",
"map_name": "cp_snakewater_final1",
"game_dir": "tf",
"game_name": "Team Fortress",
"app_id": 440,
"current_players": 0,
"max_players": 24,
"bots": 0,
"server_type": "Dedicated",
"os_type": "Linux",
"visibility": "Public",
"vac_enabled": true,
"game_version": "9925705",
"extra_data": [
{
"GameID": 13085927436482341255
}
]
}
To install it using cargo:
cargo install a2squery
Have fun.