7 Days to Die Servers Works on:
This 7 days to die server setup guide is designed for those wanting a 7 days to die dedicated server. If you plan on running this on a home connection with a private IP you will need to setup port forwarding in order to allow people to connect to your 7 days to die server from outside your home network. Be sure to change you firewall to allow for the ports that you setup in the configuration script. If you have any trouble leave a comment and I will get to you ASAP!
If you do not have the network or hardware to run a 7DtD server you can easily host in on a dedicated server through gameservers.com
*Linux requires Wine and extra programming. Does not have a very friendly interface.
7 days to die Server: Windows Guide
- Open windows explorer to the following default path: C:\Program Files (x86)\Steam\SteamApps\common\7 Days To Die
- Inside you will find startdedicated.bat and serverconfig.xml
- Open serverconfig.xml in notepad
- Edit settings needed.
- Change IP to your Public IP (http://www.whatismyip.com/)
- Change defualt ports if wanted
- Set default panel port (8080 standard)
- If you have a local network setup port forwarding on router.
- Each router is different, I recommend setuprouter.com to find a guide on setting your router correctly.
- Save settings and right click startdedicated.bat: Run as Admin
- Server should have started and you should be able to access it
- Check the commands tab for descriptions of XML settings you may want to change.
7 days to die Server: Linux Guide
***Tested on Ubuntu 14.04 64bit***
For 7dtd linux server I used a script that a community member made. These are all the linux commands I ran to get a 7dtd server running. The other 7dtd linux guides I looked at were for old versions and did not work. I will keep my eye on this game to see if we need to update the commands. Overall its super easy for Windows but expect to do some googling for linux if something is changed. You can see the creators website here: https://7dtd.illy.bz/wiki/Installation. I highly recommend using this over WINE.
sudo chmod +x bootstrap.sh
sudo ./bootstrap.sh -i
Next it will ask you for install location
Type the path or type “y” for default
Next the script will ask you for you steam information
You must own 7 days to die to download the files needed for a linux server.
If you have steamguard activated on your account you will need to enter the code sent to your email upon login.
After the game finishes downloading you can now build a server instance
sudo 7dtd.sh instances create “NAME”
Follow the script to have the server setup the way you want.
Next we can start the created instance
sudo 7dtd.sh start “NAME”
Your server is now online. You will need to do some port forwarding on your router if your not using a public IP.
If you have any issues check your log files in the instances folder (default: /home/sdtd/instances/logs/)
Configuration Cheat Sheet
|ServerPort||25000||Port you want the server to listen on|
|ServerIsPublic||true,false||Should this server register to master server – if true it will show on the server list|
|ServerName||My Game Host||Whatever you want the name of the server to be on the server browser|
|ServerPassword||String||Password to gain entry to the server. Leave empty for no password|
|ServerMaxPlayerCount||4||Maximum Concurrent Players (Max Slots)|
|GameWorld||Navezgane||Navezgane, MP Wasteland Horde, MP Wasteland Skirmish, MP Wasteland War are map options.|
|GameName||My Game||Whatever you want the game name to be (Save Folder Name)|
|GameDifficulty||2||0 – 4, 0=easiest, 4=hardest|
|GameMode||GameModeSurvival||GameModeSurvival, GameModeDeathmatch, GameModeZombieHorde|
|EnemySpawning||true,false||Spawn Zombies and other enemies?|
|ShowAllPlayersOnMap||true,false||Show other players on minimap and main map?|
|BuildCreate||true,false||cheat mode on/off|
|DayNightLength||20||Length of days and nights|
|FriendlyFire||true,false||Can players damage each other (PvP)|
|DayCount||3||Only for horde mode, use 0 for unlimited|
|FragLimit||5||Only for deathmatch, use 0 for disabled|
|MatchLength||15||only for deathmatch, use 0 for unlimited|
|RebuildMap||true, false||true=map is rebuild on next round, false=not|
|ControlPanelEnabled||true,false||Enable/Disable the control panel for web based commands|
|ControlPanelPort||8080||Port of the control panel webpage|
|ControlPanelPassword||CHANGEME||Password to gain entry to the control panel|
|TelnetEnabled||true,false||Enable/Disable the telnet|
|TelnetPort||8081||Port of the telnet server|
|DisableNAT||false,true||set this to true if your router doesn’t support NAT|
7 Days to Die: RCON Commands
||Sets the current world time.
Hour notation is military time * 1000 (1000 = 1 hour).
eg. 0 = Day 1, 16h; 8000 = Day 2, 00h; 16000 = Day 2, 8h; 24000 = Day 2, 12h
||Ends a round/match in deathmatch/horde mode.|
||NA||Toggles the blood off|
||NA||Toggles the blood on|
||Toggles debug menu (for developers)|
||Ability to spawn entities near a player. Example: “se 1807 20”.
player-id = 0 if you are alone.
||NA||Disconnects a player from the server.|
||NA||Permanently disconnects a player from the server.|
||Toggles on/off debug scopes.|
||Sets a game preference.|
||Shows all currently loaded chunks in the cache.|
||Displays data for current chunk.|