DocsHostingMaster servers

Host a master

Host a master

Running a master gives your community its own way into the Server Browser, one that keeps working when the default masters don't, and one more place for servers to register and players to be introduced. It needs no game files, no Steam and no game install: only the Project Reclaimer program and one open port number.

Beside dedicated servers

Every dedicated server setup already runs a master on port 49175 ([master] enabled = true), and its servers are listed on it. To have other masters learn it, set its peers and origin: see get it known and the configuration file.

A master on its own

On a machine without the game, such as a small VPS, run only the master: one command on Windows, Linux or macOS, or the image in Docker.

WhatDetails
SoftwareAny package from the download page: every one of them has the master, as the list-master command. For a machine that hosts nothing else, take the server-only package. Docker uses the dedicated server image.
Game filesNone.
WindowsWindows 10, 11 or Server 2019 or newer (x64), on any 64-bit processor.
Linuxx86-64, with the same processors as Windows, or ARM64, built on Debian 12 (glibc 2.36). Docker: x86-64, Engine and Compose 2.24 or newer.
macOSmacOS 11 or newer, Apple silicon.
NetworkPort 49175 open to the internet on TCP and UDP, at an address that doesn't change, since players and other masters remember it: a fixed IP address or a DNS name. The master also connects out to other masters on their ports. Behind a router, forward both.

A master is light: it holds a list in memory and keeps only its key and peers.json on disk.

Run 0.10.3 or newer. Players' browsers read a master on the internet only when it lists just the servers that answered it, which masters do from 0.10.3 on. They leave an older master's list out, and read it again by themselves once it's updated. Servers are still joined by address and found through the updated masters meanwhile. Place the master where it sees its senders' real addresses and can reach the servers it lists: not behind a proxy.

Masters from 0.9

0.10 has a new master, with a new protocol. A master and the games and servers that use it must be on the same side of that line: 0.10 games and servers can't use a 0.9 master, and 0.9 games can't use a 0.10 master. If you run a master, update it when your community updates.

The project's default masters run 0.10's master on port 44340, two of them beside 0.9's on 49175 on the same machines, so both games keep their server lists while 0.9 is still played. A list of masters saved by 0.9, or a --peer naming 0.9's default masters, asks the 0.10 masters that took over from them.

What0.90.10
Commanddiscovery-master --bind …list-master --bind …, with the options below
PortsTCP 49175; UDP on the two default masters aloneTCP and UDP on every master: open the UDP port too. 49175 by default; the default masters serve on 44340, two of them beside 0.9's on 49175
Reaching servers behind routersOnly the two default masters introduced playersAny master a server registers with, up to four, with STUN
LinuxThe Windows program under Wine, in DockerNative, from a tarball or the image
Getting knownAdded by hand, or from a dedicated setup--peer and --origin introduce it to other masters
Where it keeps thingsThe player folder's discovery, or RECLAIMER_DISCOVERY_DIR--key and --data name them