Repository navigation
Query and LAN Discovery
Players find servers in the game's multiplayer browser. It has four tabs: Internet (the project's server list,
see The Server List), LAN (servers on the same network), Favourites and Recent.
Players can also connect directly by address, or through an avalanche://connect/host:port link.
The query is on by default: it follows public, because the server list checks a listed server's query. LAN discovery is off by default. Both are set in [discovery]
(Server Configuration). Everything a server tells the browser comes from the same data as its
/info, so the tabs never disagree.
The browser pings each server it lists on UDP port + 1 (27451 by default) for its player count, mode and ping. The
server answers only a request of the exact expected size, never with more bytes than it received, and only after a
challenge that proves the asker receives at its address. At most 5 datagrams per 6 seconds per address; the answer is
cached for 10 seconds.
The server list does not list a server without the query.
The LAN tab broadcasts a probe on UDP port 35450. The server answers with its game port, only to hosts on one of its own network links (never to the Internet), at most 5 times per 6 seconds per address. Several servers on one machine all answer. LAN discovery is IPv4 broadcast; in Docker it needs the host's network.
See Joining a Server.
Servers
- Hosting a Server
- Server Configuration
- Ports and Firewalls
- Server Console
- Operators and Remote Console
- Access Control List
- Bans and Mutes
- The Server List
- Query and LAN Discovery
- Server Resources
- Blocklists
- Maps and Gamemodes
- Logs and Metrics
- Running as a Service
- Running in Docker
- Joining a Server
Scripting
- Resource Packages
- Content IDs and Kinds
- Scripting Overview
- Server Script API
- Client Script API
- Events and Messages
- Script Permissions
- Script Examples
Modding