Expand description
Server query filter.
§Supported filters:
| Filter | Type | Description | Examples |
|---|---|---|---|
| map | str | Map name | crossfire, de_dust |
| gamedir | str | Game directory | valve, cstrike |
| protocol | u8 | Game directory | 48, 49 |
| dedicated | bool | Server running dedicated | 0, 1 |
| lan | bool | Server is LAN | 0, 1 |
| nat | bool | Server behind NAT | 0, 1 |
| noplayers | bool | Server is empty | 0, 1 |
| empty | bool | Server is not empty | 0, 1 |
| full | bool | Server is not full | 0, 1 |
| password | bool | Server is password prodected | 0, 1 |
| secure | bool | Server using anti-cheat | 0, 1 |
| bots | bool | Server has bots | 0, 1 |
§Examples:
Filter \gamedir\valve\full\1\bots\0\password\0 will select server if:
- It is Half-Life server
- Is not full
- Do not have bots
- Is not protected by a password
Structs§
- Filter
- Server filter.
- Filter
Flags - Additional filter flags.
- Version
- Client or server version.