7 Days To Die is a post apocalyptic zombie survival game where you can scavenge, build and destroy the world to survive the zombie onslaught. It combines elements of Minecraft with DayZ and is brutally hard (much harder than DayZ) on the default settings.
This HOWTO will describe how you can set up a server using a vanilla server that relies on text file configuration. 7 Days To Die can be run as a Windows Service using FireDaemon Pro, which allows you to have 7 Days To Die start automatically at boot prior to login, start multiple instances of 7 Days To Die and restart 7 Days To Die should it crash. You can also use FireDaemon Fusion to manage FireDaemon and other Windows services via your web browser.
7 Days to Die Setup Under FireDaemon Pro
You can only install the server files if you own a copy of the game. The easy way to install them is via Steam's SteamPipe servers, but the caveat to this is that the Steam account must have 7 Days To Die owned on it. We suggest that you do not use your local client version of Steam as it will be logged out when you install/update the server files and you risk having your Steam account hijacked/stolen should your server ever be hacked (since the hackers could then get access to your Steam account).
To make your new Steam account for your server, go here. Purchase 7 Days To Die from here and gift it to the server account you just created. If you already have a Steam account with 7 Days to Die on it, skip to the next step.
Download and extract SteamCMD. The download is small (< 2 MB).
Download the 7 Days To Die server files via the Steam SteamPipe servers. Go to the directory where you installed SteamCMD and create a shortcut to "SteamCMD.exe". In the shortcut, edit the properties and in the target box, at the end of it (with a space before the following), put:
+login USERNAME PASSWORD +force_install_dir "C:\7 Days To Die" +app_update 294420 validate +quit
Note: Replace USERNAME with your Steam username and PASSWORD with your Steam password. You will need to enter a verification string if your steam account has SteamGuard enabled. The verification string will be sent to the email you set up as your Steam account email. This string only needs to be filled in once. It might take a while to download everything because there are over 1.43 GB of files. You should also run the shortcut every month or so to grab the latest server updates. Stop your server first before doing this.
Now open "C:\7 Days To Die\serverconfig.xml" and edit the settings to your preference. By default Cheat mode is on (aka Creative mode), so if you don't want your players able to spawn any block then disable it by setting the BuildCreate property to false. At this time you cannot configure which IP address the server will listen on; all you can do is change the port.
Make a copy of "C:\7 Days To Die\serverconfig.xml" and name it something like myserverconfig.xml. This is important to do because every time your server is updated, serverconfig.xml will be overwritten. You can use myserverconfig.xml as a backup of your config so you can copy over your changes into the newly updated serverconfig.xml
Next start the FireDaemon GUI from the desktop shortcut. Click on the "Create a new service definition" button in the toolbar (or type Ctrl+N) and enter the information into the fields as you see below. Adjust paths to suit your installation.
The Executable should be: C:\7 Days To Die\7DaysToDie.exe
The Working Directory should be: C:\7 Days To Die
The most important field on the tab is the Parameters. The Parameters define the initial setup of your server.
-quit -batchmode -nographics -configfile=serverconfig.xml -dedicated
- -configfile=serverconfig.xml - Loads the config named serverconfig.xml
- All the other settings are required or the server will not start.
Now click on the Settings tab. If you DON'T want to see 7 Days To Die running, uncheck the Interact with Desktop check box. You must run 7 Days To Die as the user you installed it as. In the Logon Account field type your username (e.g. Administrator) and then enter the user's password twice in the Password and Confirm fields. You can change the Process Priority to allocate more CPU time to the dedicated server or specify which cores the dedicated server will run on. Be sure to change Job Type to "Global Job".
Now click on the Lifecycle tab. Uncheck Graceful Shutdown as 7 Days to Die doesn't respond to it.
Now click on the Install button to install and start 7 Days To Die! If you are running Windows Vista or later your server will start on Session 0. You will need to switch desktops to see your server running.
NOTE: 7 Days To Die's vanilla server does not create any window, even when Interact with Desktop is checked.