| Crates.io | a2squery |
| lib.rs | a2squery |
| version | 0.1.2 |
| created_at | 2025-07-25 04:59:29.194161+00 |
| updated_at | 2025-07-26 02:15:27.501188+00 |
| description | A simple CLI tool for querying Source Dedicated Servers (A2S_INFO) |
| homepage | https://github.com/km-clay/a2squery |
| repository | https://github.com/km-clay/a2squery |
| max_upload_size | |
| id | 1767202 |
| size | 1,686,978 |
A tool for extracting A2S query information from Source Dedicated Servers.
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.