7 Days to Die
How to Host a 7 Days to Die Dedicated Server on Windows (with Crossplay)
Set up a 7 Days to Die V3 dedicated server on a Windows PC: SteamCMD app 294420, your own serverconfig.xml, the new SandboxCode, ports TCP 26900 and UDP 26900-26903, crossplay rules for PS5 and Xbox, admins, backups, and when renting is easier.

7 Days to Die has had crossplay between PC, PlayStation 5 and Xbox Series X|S on dedicated servers since version 2.0, and consoles cannot run a server themselves. So if your group wants a world that keeps going between sessions, someone runs the free 7 Days to Die Dedicated Server on a PC, or rents one.
This guide uses The Fun Pimps’ own sources: the V3.0 release notes, the help center articles on opening ports and dedicated servers for cross-platform, and the comments inside the serverconfig.xml that ships with the server. We have not run a 7 Days to Die server on our own setup. The game changes a lot between versions, so if anything here disagrees with the file on your disk, trust the file.
Self-host or rent?
Host it yourself if you have a Windows PC with plenty of RAM that can stay on while people play. The server is a free download, there is no monthly fee, and you get full control of mods and settings.
Rent a server if no PC can stay on, your upload is weak, you are behind CGNAT, or you do not want to open five ports. Bigger worlds and overhaul mods also need a lot of RAM, which is cheaper to rent than to buy for some groups.
The server cost calculator compares electricity at home with a host’s price; its RAM presets are for ARK and Palworld, so treat them as a rough guide here. See also self-hosting vs paid hosting.
Install the server
Download Valve’s SteamCMD, extract it to C:\steamcmd, and run:
C:\steamcmd\steamcmd.exe +force_install_dir C:\7dtdserver +login anonymous +app_update 294420 validate +quit
294420 is the Steam app ID of the 7 Days to Die Dedicated Server tool (the game itself is 251570). It downloads anonymously. Run the same command again after every game update: the server and every player must be on the same version, or they cannot connect. You can also install it from the Steam client’s Library with the Tools filter ticked.
Use your own config file
All server settings live in an XML file. The one that ships is serverconfig.xml, and game updates overwrite it. So:
- Copy
serverconfig.xmlin the server folder to a new name, such asmyserver.xml. - Open
startdedicated.batin Notepad and change-configfile=serverconfig.xmlto-configfile=myserver.xml. - Edit only
myserver.xmlfrom now on, and only while the server is stopped.
Each setting is a line like <property name="ServerName" value="My Game Host"/>. Change only the text inside value="…". The comments next to each line explain the options.
The settings to set first:
| Property | What it does |
|---|---|
ServerName |
The name in the server browser |
ServerPassword |
The join password. Empty means anyone can join |
ServerVisibility |
2 public, 1 friends only, 0 not listed |
ServerPort |
The base port, 26900 by default |
ServerMaxPlayerCount |
Player slots, 8 by default |
GameWorld |
Navezgane (the handmade map), a shipped pregenerated world, or RWG for a random one |
WorldGenSeed, WorldGenSize |
For RWG: the seed, and a size of 6144, 8192 or 10240 |
GameName |
The save name. A new name starts a new save |
EACEnabled, ServerAllowCrossplay |
Easy Anti-Cheat and console crossplay (see below) |
Difficulty, loot and blood moons moved to SandboxCode (V3)
If you are following an older guide, this is the part that changed. V3.0 (Dead Hot Summer, 2026) removed about thirty gameplay properties from serverconfig.xml, including GameDifficulty, XPMultiplier, DayNightLength, BloodMoonFrequency, BloodMoonEnemyCount, LootAbundance and LootRespawnDays. Setting them in the file now does nothing.
They are now one value, SandboxCode. The Fun Pimps’ release notes give the default, which matches the old Adventurer difficulty:
<property name="SandboxCode" value="AAAJABJACJADJARFBNC"/>
To change those settings: start a new game in 7 Days to Die, set everything you want in the Sandbox Options menu, copy the code the game shows, and paste it as the SandboxCode value. Do not edit the code by hand. Restart the server to apply it. If you are continuing a V2.6 save, the release notes say you need to recreate your old settings this way.
Start the server
Double-click startdedicated.bat. Allow it through Windows Firewall if asked. The first start of a random (RWG) world takes a while because the server generates the map. Watch the log in the server folder for errors.
To stop it cleanly, connect with the telnet console from the same PC (TCP 8081 on localhost) and type shutdown, or use the web dashboard if you set one up, rather than just closing the window.
Ports, firewall and how friends join
From The Fun Pimps’ help center, a dedicated server needs:
- TCP 26900 (game details query)
- UDP 26900-26903 (Steam master server, Steam communication, game networking, and one reserved port that can block joins if it is not open)
The web dashboard (TCP 8080) and telnet (TCP 8081) are for admins only. Do not forward those to the internet.
Allow the game ports in Windows Firewall, in PowerShell as administrator:
New-NetFirewallRule -DisplayName "7 Days to Die TCP" -Direction Inbound -Protocol TCP -LocalPort 26900 -Action Allow
New-NetFirewallRule -DisplayName "7 Days to Die UDP" -Direction Inbound -Protocol UDP -LocalPort 26900-26903 -Action Allow
Then forward the same ports on your router to the server PC’s reserved LAN address. If you change ServerPort, the whole block moves with it. If you host behind a port-forwarding VPN with a port cap, this game alone uses five of them (one TCP, four UDP), so count before you buy. Port Forwarding for Game Servers walks through each step and explains how to test the UDP ports.
Joining: with ServerVisibility at 2, players find the server by name in the game’s server browser. PC players can also connect directly with your public IP and the port.
Crossplay with PS5 and Xbox
PC players can join a server whatever its settings. Console players only see and join servers that meet The Fun Pimps’ cross-platform rules:
ServerAllowCrossplayset totrueEACEnabledset totrueServerMaxPlayerCountat 8 or fewerIgnoreEOSSanctionsset tofalse- No mods. PS5 and Xbox Series players cannot join a modded dedicated server.
The help center also lists allowed ranges for gameplay settings such as XP, day length, block damage and loot. In V3 those live in the SandboxCode, so pick values in the Sandbox Options menu that stay within console-friendly ranges. If console friends cannot see the server, a setting outside those ranges is the usual reason.
Admins and backups
Admins, whitelists and bans live in serveradmin.xml (the name is set by AdminFileName). It sits in the server’s save data folder, not the install folder; the server log prints the exact path. You can add an admin from the server console with the admin add command, or edit the file with the server stopped. Each player is identified by platform and user ID, which the console’s listplayerids command shows once they have joined.
For backups, stop the server and copy the whole save data folder (worlds and saves) to another drive or a cloud folder. A generated world can be large, so leave room. The backup and restore guide shows the stop, copy and restore routine for other games; the same idea works here. Take a manual copy before every major game update, because big versions can break saves and mods.
Common problems
My difficulty or loot setting is ignored. On V3 those properties were removed. Generate a SandboxCode in the game’s Sandbox Options menu instead.
My settings reset after an update. You edited the shipped serverconfig.xml. Copy it to your own file and point -configfile= at it.
Console friends cannot see the server. Check crossplay and EAC are on, slots are 8 or fewer, there are no mods, and everyone is on the same version.
PC friends time out. Check TCP 26900 and UDP 26900-26903 are forwarded and allowed, you gave out your public IP, and you are not behind CGNAT.
FAQ
Is the 7 Days to Die dedicated server free? Yes. It is a free Steam tool (app 294420) that downloads anonymously with SteamCMD.
Which ports does a 7 Days to Die server need? TCP 26900 and UDP 26900-26903 by default.
Can PS5 and Xbox players join a PC-hosted server? Yes, if the server meets the crossplay rules: crossplay and EAC on, 8 players at most, and no mods.
How many players can a crossplay server have? Eight, under The Fun Pimps’ crossplay rules. A PC-only server can be set higher, at the cost of more RAM and CPU.
DIY Game Hosting is an unofficial fan site. It is not affiliated with The Fun Pimps, Valve, Microsoft or Sony. Game names and trademarks belong to their owners. Also hosting ARK or Palworld? Our free Windows server managers handle those.