The Serverbrowser acts as registry for dedicated game servers, so game clients can find them through an easy-to-use and fast API.
Server browsing integrates three parties:
- Game servers reporting their state through the Serverbrowser endpoint
- Game clients querying available server through the Serverbrowser endpoint
- Serverbrowser service itself, providing the bookkeeping for both
Filtering uses flexible, developer-defined properties and rules as well as general player count information.
For maximum flexibility and multi-seat scenarios, server browsing does not require single users to authenticate.
|ServerTimeout||Timeout at which any server expires if not refreshed|
|TickInterval||Interval at which the serverbrowser runs|
See Expressions for syntax details.
QueryExpressions is a map of named expressions. An expression is selected by a queries Filter parameter. The expression must evaluate to a bool telling if it should be included in the query result. The params of the session are accessible as variables prefixed with s_ and the query params with q_
"normal_by_map": " s_map == q_map && s_gamemode == 'normal' " "player_count" : " q_players_min >= s_players_allowed && q_players_max <= s_players_allowed "
Multiple expressions can be combined in a queries filter as comma separated list: