DocsHostingMaster servers

Install a master

On Windows

  1. Download the programGet project-reclaimer-dedicated-version.exe from the newest release, rename it project-reclaimer.exe and put it in a folder of its own, such as C:\reclaimer-master. Open a terminal in that folder.
  2. Start the master
    PowerShell
    .\project-reclaimer.exe list-master --bind 0.0.0.0:49175 --key h3list.key --data . --origin http://your-address:49175 --peer http://148.251.153.44:44340 --peer http://23.159.176.140:44340
    It says [h3list] master http://your-address:49175 (HTTP on TCP 0.0.0.0:49175, server list on UDP 0.0.0.0:49175) and runs until you press Ctrl+C. Within a minute or two it holds the default masters' listings. Start it from a terminal: the game client opened with a double-click starts the game instead.
  3. Open the port In a terminal opened as administrator:
    PowerShell (administrator)
    New-NetFirewallRule -DisplayName "Reclaimer master" -Direction Inbound -Protocol TCP -LocalPort 49175 -Action Allow
    New-NetFirewallRule -DisplayName "Reclaimer master UDP" -Direction Inbound -Protocol UDP -LocalPort 49175 -Action Allow
    Behind a home router, forward TCP and UDP 49175 to this PC.

To start it with Windows, create a Task Scheduler task that runs C:\reclaimer-master\project-reclaimer.exe with those arguments, starting in C:\reclaimer-master, at startup, whether or not a user is logged on. For another port, change 49175 in --bind and in the firewall rules, and give players that port.

On Linux

  1. Unpack the server-only package Get project-reclaimer-dedicated-version-linux-x86_64.tar.gz, or -linux-aarch64.tar.gz for ARM64, from the newest release:
    Shell
    mkdir -p ~/reclaimer-master
    tar -xzf project-reclaimer-dedicated-v0.10.12-linux-x86_64.tar.gz -C ~/reclaimer-master --strip-components=1
    cd ~/reclaimer-master
  2. Start the master
    Shell
    ./project-reclaimer list-master --bind 0.0.0.0:49175 --key h3list.key --data . \
      --origin http://your-address:49175 \
      --peer http://148.251.153.44:44340 --peer http://23.159.176.140:44340
  3. Open the port
    Shell
    sudo ufw allow 49175/tcp && sudo ufw allow 49175/udp
    Open the same in your provider's firewall or security group.
  4. Run it as a service (optional)
    /etc/systemd/system/reclaimer-master.service
    [Unit]
    Description=Project Reclaimer master
    After=network-online.target
    Wants=network-online.target
    
    [Service]
    User=reclaimer
    WorkingDirectory=/home/reclaimer/reclaimer-master
    ExecStart=/home/reclaimer/reclaimer-master/project-reclaimer list-master --bind 0.0.0.0:49175 --key h3list.key --data . --origin http://your-address:49175 --peer http://148.251.153.44:44340 --peer http://23.159.176.140:44340
    Restart=always
    RestartSec=5
    
    [Install]
    WantedBy=multi-user.target
    Then sudo systemctl enable --now reclaimer-master.

On macOS

The master is in the game's own program, inside Project Reclaimer.app. Start it from Terminal, in a folder of its own for its key:

Terminal
mkdir -p ~/reclaimer-master && cd ~/reclaimer-master
"/Applications/Project Reclaimer.app/Contents/MacOS/project-reclaimer" list-master --bind 0.0.0.0:49175 --key h3list.key --data . \
  --origin http://your-address:49175 \
  --peer http://148.251.153.44:44340 --peer http://23.159.176.140:44340

Allow incoming connections if macOS asks, and forward TCP and UDP 49175 on your router.

In Docker

The dedicated server image includes the master. Run it with the master's command instead of the servers, and without a game folder. The image runs natively, on x86-64 Linux, and holds no game files.

Not yet tested on its own. The image and the master are the ones dedicated servers run, where the master runs beside the servers. A container that runs only the master hasn't been tried yet.

Folder
reclaimer-master/
├─ compose.yaml             the master: image, command, ports
├─ .env                     MASTER_ORIGIN, the address others reach it at
└─ data/                    its key and the masters it learned
  1. Install Docker Docker Engine with the Compose plugin, 2.24 or newer, on any x86-64 Linux:
    Ubuntu
    sudo apt install docker.io docker-compose-v2
  2. Make the folder and add compose.yaml
    Shell
    mkdir -p reclaimer-master/data
    cd reclaimer-master
    echo 'MASTER_ORIGIN=http://your-address:49175' > .env
    Save compose.yaml in reclaimer-master, or copy it from the file below.
  3. Start
    Shell
    docker compose up -d
    docker compose logs -f
    The first start downloads the image. The log then says [h3list] master http://your-address:49175 (HTTP on TCP 0.0.0.0:49175, server list on UDP 0.0.0.0:49175).
  4. Open the portOpen TCP and UDP 49175 in your provider's firewall or security group. Docker opens published ports on the machine itself, past ufw.

docker compose pull && docker compose up -d updates it to the newest release. On a machine that already runs the dedicated server image, don't add this: that container's master already serves port 49175.

compose.yaml

compose.yaml
# A Project Reclaimer master server on its own, in Docker: no game servers
# and no game files. Guide: https://projectreclaimer.dev/masters
#
# Put this file in a folder of its own, next to an empty data/ folder and a
# .env file that says where others reach this master:
#
#   MASTER_ORIGIN=http://your-address:49175
#
# Then:
#
#   docker compose up -d
#   docker compose logs -f
#
# Open port 49175 on TCP and UDP. Update to the newest release:
#   docker compose pull && docker compose up -d
# 0.9's masters and games don't speak to these: see the guide.

name: reclaimer-master

services:
  master:
    # The dedicated server image, which includes the master. Set IMAGE in
    # .env to stay on one version.
    image: ${IMAGE:-ghcr.io/projectreclaimer/project-reclaimer-dedicated:latest}
    restart: unless-stopped
    command:
      - project-reclaimer
      - list-master
      - --bind
      - 0.0.0.0:49175
      # Its key and the masters it learned (peers.json), kept in ./data.
      - --key
      - /server/h3list.key
      - --data
      - /server
      # Where others reach it, named to the masters it swaps listings with.
      - --origin
      - ${MASTER_ORIGIN:?Set MASTER_ORIGIN in .env to http://your-address:49175}
      # The masters it always swaps with: two of the default masters, each
      # of which holds every listing.
      - --peer
      - http://148.251.153.44:44340
      - --peer
      - http://23.159.176.140:44340
    # The master stops cleanly on Ctrl+C (SIGINT).
    stop_signal: SIGINT
    stop_grace_period: 10s
    volumes:
      - ./data:/server
    # TCP for the Server Browser and other masters, UDP for servers'
    # registrations, players' introductions and STUN.
    ports:
      - "49175:49175/tcp"
      - "49175:49175/udp"
    # The image's health check watches dedicated servers, which this
    # container doesn't run.
    healthcheck:
      disable: true
    security_opt:
      - no-new-privileges:true
    logging:
      driver: json-file
      options:
        max-size: 10m
        max-file: "3"