Serverbrowser

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:

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.

Configuration

Field Description
ServerTimeout Timeout at which any server expires if not refreshed
TickInterval Interval at which the serverbrowser runs
QueryExpressions see below

Expressions

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_

Example:

"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: normal_by_map,player_count