Module filter

Module filter 

Source
Expand description

Server query filter.

§Supported filters:

FilterTypeDescriptionExamples
mapstrMap namecrossfire, de_dust
gamedirstrGame directoryvalve, cstrike
protocolu8Game directory48, 49
dedicatedboolServer running dedicated0, 1
lanboolServer is LAN0, 1
natboolServer behind NAT0, 1
noplayersboolServer is empty0, 1
emptyboolServer is not empty0, 1
fullboolServer is not full0, 1
passwordboolServer is password prodected0, 1
secureboolServer using anti-cheat0, 1
botsboolServer has bots0, 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.
FilterFlags
Additional filter flags.
Version
Client or server version.