7-days-to-die
Headless dedicated server for 7 Days to Die
TLDR
SYNOPSIS
startserver.sh [unity-flags] -configfile=file
DESCRIPTION
startserver.sh launches a headless 7 Days to Die dedicated server. The script lives in the dedicated-server install directory and starts the Linux server binary with Unity player flags. -configfile selects the XML file that holds the world, ports, passwords, and player limit. The stock file is `serverconfig.xml` next to the script.A typical dedicated launch also passes -quit, -batchmode, -nographics, and -dedicated so the process does not open a window and exits when the server stops.
CONFIGURATION
serverconfig.xml
Server settings read at startup. Properties set there include the public name, the game port (26900 by default), the maximum player count, the world name, the game name, the server password, and Telnet administration. Edit the file, then restart the server.
CAVEATS
The command is the `startserver.sh` script shipped with the dedicated server, not a program named `7-days-to-die`. The server is proprietary and is installed from the game's dedicated-server depot. Ports must be reachable for players to join. Telnet administration is a separate listener and should not be exposed without a password.
