1. Home
  2. Games List  
  3. Knowledge Base  
  4. 7 Days To Die Knowledge Base  
  5. 7 Days to Die: The Definitive Guide to Server Configs
7 Days to Die: The Definitive Guide to Server Configs

7 Days to Die: The Definitive Guide to Server Configs

The server config file, 'serverconfig.xml', is the file where you can edit most basic settings within your server. In this guide, we go through each option and take a look at what they do. Looking for something specific? Use the navigation menu below. 


Navigation

Locating Your severconfig.xml File

Change Your Server Name & Description

Make Your Server Private

Use Randomly Generated Maps

General Game Settings

Land Claim Settings

Air Drop Settings


Locating Your serverconfig.xml File

You can easily find your serverconfig.xml file within your GameServerKings Manager Panel. Once you've logged in, click on your Game Service and click the Configuration Files button. By default, there will only be two files here. Click the 'Text Editor' button to the far right of the serverconfig.xml file to open up the file within your panel. Alternatively, you can also access this file via FTP and edit it using a text editor of your choice.

7dtd Config Files


How To Edit Values

Once inside the editor, it is important to edit everything properly. One out of place character or invalid value can cause major errors with your server. Let's take a look at an example and break it down before we begin:

<property name="ExampleMode"     value="1"/>     <!-- 1 = Easy, 2 = Normal, 3 = Hard -->

  • 'Property Name' will refer to the setting you are editing, for the most part these are self explanatory and you will not change these.
  • 'Value' will be the setting we do edit, this will be in the form of a number, a true/false statement, or a string.
  • To the far right of each line is a comment, this will often explain the type of value you need to enter to achieve your desired setting. In this example, the value '1' will enable Easy mode, '2' will enable Normal mode, and '3' will enable Hard mode.

After changing values, you must click the Save button in the top left corner and restart your server for any changes to take effect.

Tip: Use Ctrl + F to open a search console, type the name of the property you're looking for and press enter. You'll jump straight to the line you need to edit!


Clean File

Incase you make a mistake when editing your serverconfig.xml file and run into an error, you can go to this Pastebin to copy and paste in a fresh file to reset your server configs without doing a fresh install of your server. This way you will not lose any other edited files or installed mods and plugins.


Change Your Server Name & Description

You can edit the following properties with your serverconfig.xml file to change the info displayed on the game's master server list. Give yourself a good name and description to bring in more players. You can also add a link to your own website here!

Property Name Default Value Notes
ServerName "My Game Host" Enter whatever you'd like the server to be named within the quotes.
ServerDescription "A 7 Days to Die server" Enter your server's description within the quotes.
ServerWebsiteURL " " (blank) Enter your website's URL within the quotes. Don't have a site? Ask us about our webhosting services!

Make Your Server Private

Don't want randoms joining your server? We got you covered. You can change the following property in your serverconfig.xml file to remove your server from the game's master server list. Only people with a direct connection will be able to join you.

If you still want your server to be displayed on the master list, but only want certain players to be able to join, you can also create a password. Any user that attempts to join will have to enter this before they connect.

Property Name Default Value Notes
ServerIsPublic true Change this to false to hide your server from the master list. You can change this back at any point.
ServerPassword " " (blank) Enter a password for your server within the quotes. This is case sensitive!

Use Randomly Generated Maps

Along with the game's original Navezgane map, you can also choose to use a randomly generated map within your serverconfig.xml file. You will also be able to edit the name of the map, which will act as a seed, meaning you can create a replica later by entering the same value.

Property Name Default Value Notes
GameWorld Navezgane Use "Random Gen" to use a randomly generated map. "Navezgane" will use the default game map.
GameName My Game Enter anything within the quotes. Each value will act as a seed.

General Game Settings

Here you can find all of the important game settings that you may want to change. These range from difficulty settings to enemy and PvP options, take a look below to find out how to customize them inside your serverconfig.xml file.

Property Name Default Value Notes
GameDifficulty 2 Overall difficulty is based on a scale from 0 to 5. 0 being the easiest, 5 being the hardest. You will have to tinker with this setting to find a good balance for your server.
ZombiesRun 0 0 is the default game zombie walk/run setting. If you want them to never run, use 1. To make zombies always run, use 2. 
DayNightLength 60 This value is the amount of realtime minutes it takes to cycle through an ingame day. By default it is 60, or 1 real hour per ingame day.
DayLightLength 18 This value is the amount of ingame hours the sun shines per day. So, for example, changing it to "5" would mean there is only light 5 of the 24 hours ingame.
PlayerKillingMode 3

You have 4 different PvP options here. By default, your server will be set to All PvP.

0 - No PvP

1 - Allies only PvP

2 - Strangers only PvP

3 - All PvP

DropOnDeath 0

This value determines what players will drop on death. By default everything is dropped, but you have 4 options.

0 - Everything drops

1 - Only your toolbelt will drop

2 - Only your backpack will drop

3 - Nothing drops

DropOnQuit 0

Similar to the above, this controls items dropped when a player quits. By default nothing will drop.

0 - Nothing drops

1 - Everything drops

2 - Only your toolbelt will drop

3 - Only your backpack will drop

BloodMoonEnemyCount 8

This is the number of zombies that will spawn each blood moon per player. For example, if you have 10 players on your server, 80 zombies will spawn with the default value.

EnemySpawnMode true

Set this to false to turn off enemy spawns. It can be changed back at any time.

EnemyDifficulty 0

You have two choices here, 0 is the default enemy difficulty. However, you can change this value to 1 to make all zombies feral.

BlockDurabilityModifier 100

This value acts as a percentage. If a block has a standard durability of 10, and you upgrade the value to 200, it will now have 20 durability. Similarily, if you downgrade the value to 50, it will only have 5 durability.

LootAbundance 100

This value acts as a percentage. For example, if you change it to 200, it will double the amount of loot made available on the map.

LootRespawnDays 30

The number of ingame days it takes for loot to respawn.

MaxSpawnedZombies 60

This controls the maximum amount of zombies that can be on the map at one time. Be warned, making this number too high will cause performance issues!


Land Claim Settings

These properties will cover the majority of land claim settings within your 7 Days to Die serverconfig.xml file. You'll be able to set decay rates, land sizes, expiriy times and more. This is generally good to change if you have lots of different players on a server, especially if you have PvP enabled.

Property Default Value Notes
LandClaimSize 41 The size (in blocks) that is protected by Land Claim. To allow for larger or smaller claims, increase or decrease the value appropriately.
LandClaimDeadZone 30 The amount of blocks that must be between Land Claims. This does not apply if the players are friends.
LandClaimExpiryTime 3 The number of realtime days that a user has to login before their Land Claim expires. In this example, if a user doesn't connect for 3 days, his claims will expire.
LandClaimDecayMode 0

Controls the decay of Land Claims for offline players. Every claim is automatically protected for 24 hours.

0 - Linear Decay

1 - Exponential Decay

2 - No Decay


Air Drop Settings

You'll be able to easily control your air drops with these properties within the serverconfig.xml file. Whether you want them to be less common, more common or not in your server at all, you can make it happen.

Property Default Value Notes
AirDropFrequency 72 The number of ingame hours in between each air drop. Setting this to 0 will disable air drops completely.
AirDropMarker false Setting this value to true will activate a marker on every player's map which shows the location of the air drop.