# Settings for docker compose. Copy this file to .env (next to compose.yaml) # and uncomment what you change. Everything here is optional. A .env made # for Project Reclaimer 0.9's image works as it is (its RECLAIMER_XVFB and # RECLAIMER_EXE now mean nothing). Guide: docs/servers.md # ---- Folders and files ------------------------------------------------------ # Server folder: dedicated.toml, content/, playlists/, bans.json and each # server's data/. The first start creates what is missing. #SERVER_DIR=./server # Halo 3 files copied from your own MCC installation, with their folders: # halo3/halo3.dll, halo3/maps/shared.map, halo3/maps/.map with # halo3/maps/info/.mapinfo for each map you host, and campaign.map with # 040_voi.map for Forge's campaign vehicles and AI. Or MCC's own folder. # Mounted read-only. #GAME_DIR=./server/game # User and group IDs the servers run as, so the files they write belong to # you. Default: the owner of SERVER_DIR (see `id -u` and `id -g`). #PUID=1000 #PGID=1000 # ---- Ports ------------------------------------------------------------------ # compose.yaml runs one container per server on the host's network, so # every port in dedicated.toml is reachable without listing it here (open # them in your firewall: each server's UDP game port, and the master's port # on TCP and UDP). Which [[server]] a container runs is set per service in # compose.yaml (RECLAIMER_DEDICATED_ONLY), not here. # compose.single.yaml only: the UDP game ports to publish, a range covering # every server's port in dedicated.toml (e.g. 49176-49180). #GAME_PORTS=49176-49177 # The port of the master that lists your servers (TCP for the server # browser, UDP for registrations and introductions). One master runs per # machine: the first server's container to start serves it, the others list # their servers on it, and one takes over if it stops. #RECLAIMER_DEDICATED_MASTER_PORT=49175 # ---- Server settings -------------------------------------------------------- # Each RECLAIMER_DEDICATED_* variable overrides the same setting in # dedicated.toml (empty: the file decides). The [defaults] ones apply to # every server that does not set its own. Per-server settings (name, port, # playlist, map, game) live in dedicated.toml. # The address players connect to: an IPv4 address or DNS name. Empty: the # router's (with UPnP), else the address the masters see. #RECLAIMER_DEDICATED_PUBLIC_ADDRESS=play.example.com # Shown beneath each server's name in the server browser. #RECLAIMER_DEDICATED_HOST_NAME=Dedicated server # Player IDs (64 hex characters, comma separated) who may kick and ban on # every server, in addition to dedicated.toml's. #RECLAIMER_DEDICATED_ADMINS= # Players each server admits at once (campaign co-op at most 16). #RECLAIMER_DEDICATED_MAX_PLAYERS=16 # Turn away players whose ping is over this many milliseconds as they join. # 0 takes everyone. #RECLAIMER_DEDICATED_MAX_PING=0 # Seconds a player's game may hold up the next game while the others wait # before that player is removed. 0 waits as long as it takes. #RECLAIMER_DEDICATED_LOAD_TIMEOUT=30 # A chat line every player reads as they join; {name} is the player's name # and {server} the server's. #RECLAIMER_DEDICATED_WELCOME=Welcome to {server}, {name}! # Who may change teams themselves: balanced, game_type or off. #RECLAIMER_DEDICATED_TEAM_CHANGING=balanced # How players see their character on foot: first_person (default), # player_choice or third_person. #RECLAIMER_DEDICATED_CAMERA=first_person # How hard the server acts on cheating: enforce (default), detect or off. #RECLAIMER_DEDICATED_ANTI_CHEAT=enforce # true or false. #RECLAIMER_DEDICATED_VOICE=true #RECLAIMER_DEDICATED_TEXT_CHAT=true #RECLAIMER_DEDICATED_CHAT_LOG=true #RECLAIMER_DEDICATED_TRUST_PLAYER_GAMES=true #RECLAIMER_DEDICATED_DRAW_FRAMES=false #RECLAIMER_DEDICATED_VOTES=true #RECLAIMER_DEDICATED_HIDDEN=false # Refuse players on a VPN, proxy or hosting provider (on by default), and the # lists of networks to refuse ("default" keeps the default lists beside # your own), the networks refused whole, and whether a server without a # list yet refuses everyone but admins and allowed players. #RECLAIMER_DEDICATED_BLOCK_VPN=true #RECLAIMER_DEDICATED_VPN_LISTS= #RECLAIMER_DEDICATED_VPN_ASNS= #RECLAIMER_DEDICATED_VPN_FAIL_CLOSED=false # Share the mods in content/Mods with players who lack them, and the upload # limit per server in Mbit/s (0: none). #RECLAIMER_DEDICATED_SHARE_MODS=false #RECLAIMER_DEDICATED_SHARE_RATE=20 # Character mods whose characters every multiplayer game adds, by their # names as Customize shows them, separated by commas. #RECLAIMER_DEDICATED_CUSTOMIZATION=Armor Pack,Sci-Fi Heroes #RECLAIMER_DEDICATED_REQUIRE_CUSTOMIZATION=false #RECLAIMER_DEDICATED_NO_VANILLA_CHARACTERS=false # What servers without their own choice play: a playlist file, or a saved # custom game (.json), relative to the server folder. #RECLAIMER_DEDICATED_PLAYLIST=playlists/slayer.playlist.json #RECLAIMER_DEDICATED_VARIANT= # Stats service for finished games, e.g. http://stats.example:8792; off # reports nowhere. Without a setting here or in dedicated.toml, games go to # the project's public service. #RECLAIMER_DEDICATED_STATS_SERVER= # This machine's master: off runs none of your own. Peers are more masters # to list the servers on (comma separated); the project's public masters # always list them unless a server is hidden. #RECLAIMER_DEDICATED_MASTER_ENABLED=true #RECLAIMER_DEDICATED_MASTER_PEERS= #RECLAIMER_DEDICATED_MASTER_ORIGIN= # Ask the router to forward the ports. Only works with host networking # (compose.yaml). #RECLAIMER_DEDICATED_UPNP=false # Remote console for moderation tools and bots: off while the password is # empty (8 characters at least). With compose.yaml it listens on this # machine's 127.0.0.1 by default; 0.0.0.0 opens it on every network. With # compose.single.yaml it must listen on 0.0.0.0 to be published. #RECLAIMER_DEDICATED_RCON_PASSWORD= #RECLAIMER_DEDICATED_RCON_ADDRESS=0.0.0.0 # Password players need to join (separate from RCON). #RECLAIMER_DEDICATED_PASSWORD= # Ignored in Docker: the image is the update (docker compose pull && # docker compose up -d). #RECLAIMER_DEDICATED_AUTO_UPDATE=false # ---- Image ------------------------------------------------------------------ # The published image to run. Default: the newest release (latest). Name a # version to stay on it until you change this line. #IMAGE=ghcr.io/projectreclaimer/project-reclaimer-dedicated:0.10.0 # Every server in one container on published ports, where host networking # is not available. #COMPOSE_FILE=compose.single.yaml # A master, stats service and social service of your own # (compose.services.yaml), and where the servers report and list themselves # then (servers don't use the social service: players name it). #COMPOSE_FILE=compose.yaml:compose.services.yaml #STATS_SERVER=http://127.0.0.1:8792 #MASTER_PEERS=http://127.0.0.1:44340 # Optional isolated Linux SteamCMD downloader (compose.workshop.yaml). # Install SteamCMD yourself and sign in directly in its terminal. Never put # Steam passwords, Steam Guard codes or session tokens in this file. #COMPOSE_FILE=compose.yaml:compose.workshop.yaml #STEAMCMD_DIR=/srv/reclaimer-steamcmd # Copy workshop.env.example to workshop.env for the SteamCMD account name.