Set up and join a 7 Days to Die dedicated server
Install the 7 Days to Die server with SteamCMD, set serverconfig.xml, open the UDP and TCP ports, join by IP or crossplay, and move your save onto it.
A 7 Days to Die dedicated server keeps your group's world running when everyone logs off: the base you fortified, the loot you stashed and the countdown to the next blood moon. The server runs on Windows and, natively, on Linux. This guide follows the Linux server.
1. Install the server
Use SteamCMD. The dedicated server (Steam app 294420) downloads without a Steam account that owns the game:
steamcmd +force_install_dir /opt/7dtd +login anonymous +app_update 294420 validate +quit The download is about 14.5 GB and takes about 18 GB on disk. Run the same command again to update: players can only join a server on the same version as their game. Steam also keeps older versions on branches named after them, such as v3.3.0, for a server that has to stay behind.
2. Set the name and password
The server reads serverconfig.xml in its folder, one property per setting, each with a comment saying what it does. These are the ones to set first:
<property name="ServerName" value="My 7 Days to Die server"/>
<property name="ServerPassword" value=""/>
<property name="ServerMaxPlayerCount" value="8"/>
<property name="ServerVisibility" value="2"/>
<property name="GameWorld" value="Navezgane"/>
<property name="GameName" value="MyGame"/>ServerVisibility: 2 lists the server in the game's server browser, 0 leaves it out, so players join by address.GameWorld:Navezgane, one of the pregenerated maps the server ships (Pregen06k01,Pregen06k02,Pregen08k01,Pregen08k02), orRWGto generate a world fromWorldGenSeedandWorldGenSize.GameName: the save's name. A new name starts a new save on the same map.
Difficulty, day length, blood moons, loot and the other rules are no longer separate lines: since V3 they are all in SandboxCode. See 7 Days to Die server settings and the sandbox code.
3. Start it
On Linux, from the server folder:
./startserver.sh -configfile=serverconfig.xml The script runs 7DaysToDieServer.x86_64 with -quit -batchmode -nographics -dedicated and writes its log beside it. The server prints hundreds of shader warnings, which are harmless without a graphics card; players can join once the log says StartGame done, which took 25 to 45 seconds in our tests.
Saves go to ~/.local/share/7DaysToDie unless you set UserDataFolder. The file ships with that line commented out, so uncomment it and give an absolute path to keep the saves somewhere else.
4. Open the ports
With the default ServerPort of 26900, the server uses:
- 26900 UDP: Steam and the server browser's queries.
- 26900 TCP: the server's details, which a player's game reads when joining by IP.
- 26901 UDP: Steam's, announced with the others.
- 26902 UDP: the game itself.
Forward all four on your router and allow them in your firewall. The telnet console (TelnetPort, 8081) needs no forwarding: with an empty TelnetPassword it listens on the machine itself only. Set a password only if you must reach it from elsewhere, and keep WebDashboardEnabled off unless you use it.
5. Stop it without losing progress
Stop the server with shutdown on the telnet console or by sending the process SIGTERM (kill, or docker stop). In our tests both saved the world and exited within four seconds, and the next start continued from there. saveworld saves without stopping. Killing the process outright skips the save.
How much memory it needs
Before anyone joined, the server used about 2.1 GB on Navezgane and 2.5 GB on an 8K pregenerated map. Every player loads the area around them and a blood moon adds its horde, so memory grows quickly once people play. Plan for 8 GB for a small group, and more for 8K maps, big hordes or more than 8 players.
Admins and bans
The game has no admin password. Admins, bans and the whitelist are kept in serveradmin.xml, in the Saves folder. On the console, admin add with a player's name or ID and 0 makes them a full admin, and ban add <name> 1 year <reason> bans them; both write the file for you.
Join a 7 Days to Die server by IP
You need the server's IP address and port, as the host gives them, and its password if it has one. The port is the server's ServerPort, 26900 unless the host set another.
Join by IP
- From the main menu, choose Join a Game.
- In the server browser, choose Connect to IP....
- Enter the address under IP and the port under Port, then choose Connect.
- If the server has a password, the game asks for it.
A server listed publicly also shows in the same server browser by its name; a host can leave a server unlisted, and then only the address finds it.
Join from PlayStation or Xbox
PlayStation 5 and Xbox Series players join from the server browser, so the server must be listed and have crossplay on (ServerAllowCrossplay). The game turns crossplay off on a server with more than 8 player slots, or one set to ignore EOS sanctions, so a bigger server is for PC players only.
Become admin
The game has no admin password. The server's owner makes you an admin from its console: admin add with your player name (or your platform ID, such as Steam_7656…) and permission level 0, the highest. The server writes it to serveradmin.xml, so it lasts across restarts.
If you can't join
- Version mismatch. Players can only join a server on the same version as their game. After an update, the server must update too; if you play an older branch on Steam, the server must run it as well.
- Connecting never finishes. The host must open the game port over both UDP and TCP, and the two UDP ports after it.
- Not in the server browser. Join by IP instead: the server may be unlisted, or started a few minutes ago.
- Banned. The host lifts a ban with
ban removeon the console, or by deleting your line fromserveradmin.xmlwhile the server is stopped.
On HostForge
The Overview tab shows the IP and port to share and the password. Every port is open, the server is kept on the current game version, and the Console tab runs admin add, kick and the other commands without joining the game.

Move your 7 Days to Die world to a server
A 7 Days to Die save is one folder, so moving a world from your own game or another host to a dedicated server is a copy. The one thing to match is the map: a save belongs to the world it was played on.
1. Find the save
The game keeps its saves in its user data folder:
- Windows:
%APPDATA%\7DaysToDie\Saves(paste it into File Explorer's address bar). - Linux:
~/.local/share/7DaysToDie/Saves. - A dedicated server:
Savesin the folder itsUserDataFoldernames, or the same default.
Inside, each map has a folder (Navezgane, Pregen08k01 or a generated world's name), and each save is a folder in it named after the game: Saves/<map>/<game name>. The save folder holds main.ttw, the Region folder with the changed parts of the map, Player with the characters, and the decorations, land claims and vehicles beside them.
2. Copy it, with the server stopped
Stop the game or the server first, so the save is whole. Copy the whole save folder; on a server, also copy serveradmin.xml from Saves to keep its admins and bans.
3. Load it on the new server
- Set
GameWorldinserverconfig.xmlto the save's map, the name of the folder it was in. - Set
GameNameto the save folder's name, or rename the folder to the server'sGameName. - Put the folder in the server's
Saves/<map>/and start the server.
A world you generated yourself (random world generation) also needs the world itself: copy its folder from GeneratedWorlds in the same user data folder to the server's GeneratedWorlds, and set GameWorld to its name.
What carries over
Everything in the save: what you built and broke, your land claims, the day count and the characters in Player, one .ttp file per player ID. The server's own rules, from serverconfig.xml and its SandboxCode, apply to the save once it runs there.
On HostForge
Zip the save folder, the one with main.ttw. On HostForge, choose the same map in Settings, stop the server, and upload the ZIP (or a .tar.gz backup from another host) in the Save tab. HostForge puts it in place under the server's own save name and brings serveradmin.xml along when the ZIP has one. It runs Navezgane and the pregenerated maps, so a save of a randomly generated world is refused with a message saying so.

Run it on HostForge instead
HostForge runs the dedicated server for you, writes serverconfig.xml and its sandbox code from the settings you pick, opens the ports, keeps the server on the current version, backs the world up every day and gives you the console in your browser. Free during the beta, no card needed.
7 Days to Die server hosting · Join a server by IP · Move your world to a server