7 Days to Die Server Setup Guide

7 Days to Die Server Setup Guide

7dtdlogo

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

  • Windows
  • Linux*

*Linux requires Wine and extra programming.  Does not have a very friendly interface.

 


 7 days to die Server: Windows Guide

  1. Open windows explorer to the following default path: C:\Program Files (x86)\Steam\SteamApps\common\7 Days To Die
  2. Inside you will find startdedicated.bat and serverconfig.xml
  3. Open serverconfig.xml in notepad
  4. Edit settings needed.
    1. Change IP to your Public IP (http://www.whatismyip.com/)
    2. Change defualt ports if wanted
    3. Set default panel port (8080 standard)
  5. If you have a local network setup port forwarding on router.
    1. Each router is different, I recommend setuprouter.com to find a guide on setting your router correctly.
  6. Save settings and right click startdedicated.bat: Run as Admin
  7. Server should have started and you should be able to access it
  8. 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.

 

wget http://svn.illy.bz/7dtd/bootstrapper/bootstrap.sh
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

 

Option Values Description
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
BanFileName ban.txt ban filename

7 Days to Die: RCON Commands

 

Command Shortcut Effect
settime <#> st 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
gameover go Ends a round/match in deathmatch/horde mode.
toggle_blood_off NA Toggles the blood off
toggle_blood_on NA Toggles the blood on
debugmenu [on/off] dm Toggles debug menu (for developers)
spawnentity <player-id> <entity-id> se Ability to spawn entities near a player. Example: “se 1807 20”.
player-id = 0 if you are alone.
kick <player> [reason] NA Disconnects a player from the server.
ban <player> [reason] NA Permanently disconnects a player from the server.
listents le Lists entities.
listplayers lp Lists players.
enablescopes on/off es Toggles on/off debug scopes.
listthreads lt Lists threads.
setgamepref sg Sets a game preference.
chunkcache cc Shows all currently loaded chunks in the cache.
showchunkdata sc Displays data for current chunk.
  1. GregGreg09-11-2014

    So I followed the video guide put on Youtube, but im having a problem where putty is giving me a connection refused error, and I do not know why. Any help?

    • NoxNox10-06-2014

      Make sure your ports are open. The best way to check this is to disable your firewall/antivirus and then try.

  2. Eric RemingtonEric Remington07-02-2015

    I have installed the dedicated server on a separate computer and it works. Only I am confused as to how I update the server. I have tried app_update command in the SteamCMD console but it says it is up to date.

    Can you help with this?

Leave a Reply