7D2D Server Config: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
ColeP (talk | contribs)
m Sorted the wiki code
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
(51 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Getting started with configuring your server ==
{{#seo:|title=7D2D Server Config - Survival Servers|description=7 Days to Die serverconfig.xml settings explained with examples: server name, region, world, difficulty, zombies, loot, land claims and the Sandbox Code.}}
[https://www.survivalservers.com/services/game_servers/7_days_to_die/ Rent a 7 Days to Die server] from Survival Servers, or host it yourself.


Before you start please look over how to log into your FTP client using a 3rd party program
== Option #1: Renting a 7 Days to Die server ==
Tutorial listed [https://www.survivalservers.com/wiki/index.php?title=FTP_Access here]
[[File:panel-tools-row.png|thumb|none|720px|alt=Tools row on a 7 Days to Die server page with Server Config, Launch Params, Custom Restarts, serverconfig.xml, File Manager and Server Monetization.|The TOOLS row on a 7 Days to Die server's page in the Command Center.]]
[https://www.survivalservers.com/services/game_servers/7_days_to_die/ Rent a 7 Days to Die server from Survival Servers]


# You will first want to stop your serer
== Getting started with configuring your server ==
# Once stopped head into the FTP client and edit the serverconfig.xml file
## A good program to use is [https://filehippo.com/download_notepad/ notepad++]
# When you open up the file you should see a load of lines that are editable (list below)
# Make the changes you wish to make and follow the format they list in the file. If you alter the format then the file will not work
<property name="ServerPort" value="3000"/>
Port you want the server to listen on. 


<property name="ServerIsPublic" value="true"/>
Before you start, read how to log in with an FTP program (FileZilla) in [[FTP Access|our FTP Access guide]].
Should this server register to master server? (Will it be viewable in the server list) 


<property name="ServerName" value="Server Title Here | SurvivalServers.com"/>
# Stop your server
Whatever you want the name to be.
# Once stopped, log in through FTP and find the '''serverconfig.xml''' file.
#: A good program to use is [https://notepad-plus-plus.org/ Notepad++]
# After opening the file, a list of settings will show. The sections on this page explain each setting and the values you can use.
# Sticking to the file structure, make your changes and then save the file.
'''Note:''' Pressing '''Save Settings & Restart''' at the bottom of the Game Server page resets the settings file to defaults. To keep your changes, also check "Skip Save Config" under '''ONE TIME TOGGLES'''. Once you've saved in '''TOOLS''' > '''Server Config''', it also writes its own settings back into the file every time the server starts.


<property name="ServerPassword" value=""/>
The settings on this page are for 7 Days to Die V3. Settings marked '''SANDBOX CODE''' are part of the Sandbox Code since V3.0, and the game no longer reads their own lines in the file. Change them in '''TOOLS''' > '''Server Config''' under '''Difficulty, Loot and Blood Moons''' (the name after the mark is the one shown there). Or paste a code from the game's Sandbox Options screen into '''Sandbox Code'''.
Password to gain entry to the server. Blank is no password.


<property name="ServerMaxPlayerCount" value="40"/>
== Configuration Example ==
Maximum Concurrent Players.


<property name="ServerReservedSlots" value="0"/>
For each setting, the code is written in this format:
Out of the MaxPlayerCount this many slots can only be used by players with a specific permission level
<property name="ServerReservedSlotsPermission" value="100"/>
Required permission level to use reserved slots above
<property name="ServerAdminSlots" value="0"/>
This many admins can still join even if the server has reached MaxPlayerCount
<property name="ServerAdminSlotsPermission" value="0"/>
Required permission level to use the admin slots above
<property name="ServerDescription" value="A 7 Days to Die server hosted by SurvivalServers.com"/>
Whatever you want the description to be. 


<property name="ServerWebsiteURL" value=""/>
&lt;property name="ServerName" value="My Server Name! | SurvivalServers.com"/&gt; &lt;!-- Whatever you want the name of the server to be. --&gt;
Website URL for the server


<property name="ServerDisabledNetworkProtocols" value="UNET"/>
:'''property''' = This "begins" the line. It tells the server you're changing a specific setting.
Networking protocols that should not be used. Separated by comma. Possible values: UNET, RakNet, SteamNetworking. Ex: "unet,steamnetworking"
:'''name''' = This is the property you're editing. Leave this alone.
:'''value''' = This is the part you edit. Changing it has a direct effect on the server. Some settings only accept certain values (some take numbers only).
<property name="GameWorld" value="Random Gen"/>
:'''&lt;!--''' = This starts a comment, which the server ignores. Think of it as a note in the margin.
Navezgane, Random Gen 
:'''--&gt;''' = This ends the comment. The server reads anything after it.


<property name="GameName" value="20780"/>
The serverconfig.xml file itself also has a short description and the allowed values for each setting. Some values are set by our system and show '''DO NOT CHANGE''' as the "example".
Whatever you want the game name to be THIS CONTROLS THE RANDOM GENERATION SEED
<property name="GameDifficulty" value="2"/>
0 - 5, 0=easiest, 5=hardest 


<property name="GameMode" value="GameModeSurvivalMP"/>
== General Server Settings ==
GameModeSurvivalMP, GameModeSurvivalSP (MP has land protection)
<property name="ZombiesRun" value="0"/>
0 = default day/night walk/run, 1 = never run, 2 = always run
<property name="BuildCreate" value="false"/>
cheat mode on/off 


<property name="DayNightLength" value="60"/>
=== Server Representation ===
real time minutes per in game day: 50 minutes 


<property name="DayLightLength" value="18"/>  
:'''ServerName''': "This is my server name!"
in game hours the sun shines per day: 18 hours day light per day
::This is the name of the server people see in their Steam server favorites list or the in-game server browser.
:'''ServerDescription''': "Free for all, no admins, Blood Moon every 4 days. Game on!"
<property name="PlayerKillingMode" value="3"/>
::In the in-game server browser, clicking your server shows this in the right pane.
Player Killing Settings (0 = No Killing, 1 = Kill Allies Only, 2 = Kill Strangers Only, 3 = Kill Everyone)
:'''ServerWebsiteURL''': <nowiki>http://www.example.com</nowiki>
::Website URL for the server, shown in the server browser as a clickable link.
<property name="PersistentPlayerProfiles" value="false"/>  
:'''ServerPassword''': letspartyfolks
If disabled a player can join with any selected profile. If true they will join with the last profile they joined with
::Password to gain entry to the server.
:'''Region''': NorthAmericaEast
<property name="PlayerSafeZoneLevel" value="5"/>  
::Values must be one of the following: NorthAmericaEast, NorthAmericaWest, CentralAmerica, SouthAmerica, Europe, Russia, Asia, MiddleEast, Africa, Oceania.<br> If no region is set on the server, you won't be able to find the server.
If a player is less or equal this level he will create a safe zone (no enemies) when spawned
:'''Language''': English
::Use the language name your players would search for, written in English: "German", not "Deutsch".<br> This is only a filter name and doesn't set the language for players.
<property name="PlayerSafeZoneHours" value="5"/>
:'''ServerLoginConfirmationText''': "Are you ready for this?! Everyone's trigger happy, be careful!"
Hours in world time this safe zone exists 
::If set, players see this message while joining the server and must confirm it to continue. For bigger changes to this window, edit the "serverjoinrulesdialog" window in XUi.


<property name="ControlPanelEnabled" value="true"/>
=== Networking ===
Enable/Disable the control panel 
:'''ServerPort''': '''DO NOT CHANGE'''
::Port you want the server to listen on.
:'''ServerVisibility''': 2
::Visibility of this server: 2 = public, 1 = only shown to friends, 0 = not listed. A dedicated server is never anyone's friend, so "1" only works once the first player connects manually by IP.
:'''ServerDisabledNetworkProtocols''': '''DO NOT CHANGE'''
::Networking protocols the server shouldn't use, separated by commas. Possible values: LiteNetLib, SteamNetworking. A dedicated server should turn off SteamNetworking if there's no NAT router between your players and the server, or when port forwarding is set up correctly.


<property name="ControlPanelPort" value="3000"/>
=== Slots ===
Port of the control panel webpage 
:'''ServerMaxPlayerCount''': '''DO NOT CHANGE'''
::Most players online at once.
:'''ServerReservedSlots'''
::Of the MaxPlayerCount, this many slots can only be used by players with a set permission level.
:'''ServerReservedSlotsPermission'''
::Required permission level to use the reserved slots
:'''ServerAdminSlots'''
::This many admins can still join even if the server has reached MaxPlayerCount
:'''ServerAdminSlotsPermission'''
::Required permission level to use the admin slots


<property name="ControlPanelPassword" value="changeme"/>
=== Admin interfaces ===
Password to gain entry to the control panel 
:'''WebDashboardEnabled'''
::Enable/disable the web dashboard
:'''WebDashboardPort'''
::Port of the web dashboard
:'''WebDashboardUrl'''
::External URL to the web dashboard if not just using the public IP of the server, e.g. if the web dashboard is behind a reverse proxy. Needs to be the full URL, like "<nowiki>https://domainOfReverseProxy.tld:1234/</nowiki>". Can be left empty if directly using the public IP and dashboard port
:'''EnableMapRendering'''
::Enable/disable rendering of the map to tile images while exploring it. This is used e.g. by the web dashboard to display a view of the map.


<property name="TelnetEnabled" value="true"/>
=== Telnet Settings ===
Enable/Disable the telnet
:'''TelnetEnabled'''
::Enable/Disable the telnet
:'''TelnetPort'''
::Port of the telnet server
:'''TelnetPassword'''
::Password to gain entry to telnet interface. If no password is set the server will only listen on the local loopback interface
:'''TelnetFailedLoginLimit'''
::After this many wrong passwords from a single remote client the client will be blocked from connecting to the Telnet interface
:'''TelnetFailedLoginsBlocktime'''
::How long the block lasts (in seconds)
:'''TerminalWindowEnabled'''
::Show a terminal window for log output / command input (Windows only)


<property name="TelnetPort" value="3200"/>
=== Other technical settings ===
Port of the telnet server 
:'''EACEnabled''': "true" or "false"
::Enables/Disables EasyAntiCheat. Some mods require this to be set to "false". If players are EAC banned but want to play, set this to "false".
:'''HideCommandExecutionLog'''
::Hide logging of command execution. 0 = show everything, 1 = hide only from Telnet/ControlPanel, 2 = also hide from remote game clients, 3 = hide everything.
:'''MaxUncoveredMapChunksPerPlayer'''
::Override how many chunks can be uncovered on the ingame map by each player. Resulting max map file size limit per player is (x * 512 Bytes), uncovered area is (x * 256 m²). Default 131072 means max 32 km² can be uncovered at any time.
:'''PersistentPlayerProfiles'''
::If disabled a player can join with any selected profile. If true they will join with the last profile they joined with.


<property name="TelnetPassword" value="changeme"/>
== Gameplay ==
Password to gain entry to telnet interface 
 
<property name="AdminFileName" value="serveradmin.xml"/>
Server admin file name 
 
<property name="DropOnDeath" value="0"/>
0 = everything, 1 = toolbelt only, 2 = backpack only, 3 = delete all
<property name="DropOnQuit" value="0"/>
   
   
0 = nothing, 1 = everything, 2 = toolbelt only, 3 = backpack only
=== World ===
:'''GameWorld''': "RWG" (Random World Gen), "Navezgane","PREGEN" (a pregenerated world), or "Existing World Name"
<property name="BloodMoonEnemyCount" value="8"/>
::RWG (see the WorldGenSeed and WorldGenSize settings) or any already existing world name in the Worlds folder. Navezgane is the "story" map for 7 Days to Die.<br>
::The pregenerated worlds change between game versions: use a folder name from '''Data\Worlds''' in your server's main folder, letter for letter.
The number of zombies spawned during blood moons per player.  
<property name="EnemySpawnMode" value="true"/>
Enable/Disable enemy spawning 


<property name="EnemyDifficulty" value="0"/>
:'''WorldGenSeed''': "ZOMBIETIME"
0 = Normal, 1 = Feral 
::With RWG, this is the seed for the new world. If a world with that name already exists, the server loads it.
:'''WorldGenSize''': 6144 or 8192 or 10240.
::If RWG this controls the width and height of the created world. It's also combined with WorldGenSeed to make the internal RWG seed. That gives a unique map name even with the same WorldGenSeed. Has to be between 2048 and 16384 (the game only supports 6k, 8k, and 10k). Open a ticket if you want anything over 8192, since it uses too much CPU and costs extra. Larger map sizes = longer start times, possible lag, and longer time to download and join.
:'''GameName''': "Example Anything" or "Existing Game Name"
::Whatever you want the game name to be. This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It doesn't control the general layout of the world when creating an RWG world. This name can be found in /Saves/"GameWorld" for existing saves.
:'''GameMode''': '''DO NOT CHANGE'''
::GameModeSurvival
:'''SaveGameFolder''': '''DO NOT CHANGE'''
::Saves
:'''UserDataFolder''': '''DO NOT CHANGE'''
::C:\sspanel\gameservers\sevendays\SERVER_ID


<property name="BlockDurabilityModifier" value="100"/>
=== Difficulty ===
percentage in whole numbers
:'''GameDifficulty''': Nomad (the game's normal), '''SANDBOX CODE''': Difficulty Preset
::Scavenger (easiest), Adventurer, Nomad, Warrior, True Survivalist, Insane (hardest)
:'''BlockDamagePlayer''': 100, '''SANDBOX CODE''': Block Damage
::How much damage players do to blocks (percentage in whole numbers)
:'''BlockDamageAI''': 100, '''SANDBOX CODE''': Enemy Block Damage
::How much damage AIs do to blocks (percentage in whole numbers)
:'''BlockDamageAIBM''': 100, '''SANDBOX CODE''': Blood Moon Block Damage
::How much damage AIs do to blocks during blood moons (percentage in whole numbers)
:'''XPMultiplier''': 150 (for 1.5x experience points), '''SANDBOX CODE''': XP Multiplier
::XP gain multiplier (percentage in whole numbers)
:'''PlayerSafeZoneLevel''': 5
::Players at this level or lower get a safe zone (no enemies) when they spawn.
:'''PlayerSafeZoneHours''': 10
::Hours in world time this safe zone exists


<property name="LootAbundance" value="100"/>
=== Misc Settings ===
percentage in whole numbers 
:'''BuildCreate''': "true" or "false"
::Cheat mode on or off, similar to creative mode in Minecraft.
:'''DayNightLength''': 60, '''SANDBOX CODE''': 24 Hour Cycle
::Real-time minutes per in-game day. At the default, one real hour is one in-game day. The highest value tested is 120 minutes.
:'''DayLightLength''': 18 (this will result in "night" occurring at 22:00 until 4:00), '''SANDBOX CODE''': Daylight Length
::In-game hours the sun shines per day: 18 hours of daylight per in-game day.
:'''DropOnDeath''': All, '''SANDBOX CODE''': Drop On Death
::None, All, Toolbelt Only, Backpack Only, Equipment, Carried Only, Delete All.
:'''DropOnQuit''': 1, '''SANDBOX CODE''': Drop On Quit
::0 = nothing, 1 = everything, 2 = toolbelt only, 3 = backpack only
:'''BedrollDeadZoneSize''': 50
::Size of the bedroll dead zone. No zombies spawn inside it, and cleared sleeper volumes that touch it won't spawn again.


  <property name="LootRespawnDays" value="30"/>
=== Performance Related ===
days in whole numbers 
:'''MaxSpawnedZombies''': 50
::Setting this too high (more than about 80) can drop the server's frame rate, which causes lag for players.
:'''MaxSpawnedAnimals''': 60
::If your server has a large number of players you can increase this limit to add more wildlife. Animals don't consume as much CPU as zombies. Note: this doesn't make more animals spawn on its own. The biome spawning system only spawns a set number of animals in each area. If you have lots of players spread out, you may be hitting the limit and can raise it.


<property name="LandClaimSize" value="41"/>
=== Zombie Settings ===
Size in blocks that is protected by a keystone 
:'''EnemySpawnMode''': "true" or "false", '''SANDBOX CODE''': Enemy Spawning
::Enable/Disable enemy spawning
:'''EnemyDifficulty''': 0 (by default), '''SANDBOX CODE''' (set it on the game's Sandbox Options screen)
::0 = Normal, 1 = Feral  (Feral zombies will always run no matter which type they are)
:'''ZombieFeralSense''': 0 (by default), '''SANDBOX CODE''': Zombie Feral Sense
::0-3 (Off, Day, Night, All)
:'''ZombieMove''': 0 (by default), '''SANDBOX CODE''': Zombie Day Speed
::0-4 (walk, jog, run, sprint, nightmare)
:'''ZombieMoveNight''': 3 (by default), '''SANDBOX CODE''': Zombie Night Speed
::0-4 (walk, jog, run, sprint, nightmare)
:'''ZombieFeralMove''': 3 (by default), '''SANDBOX CODE''': Zombie Feral Speed
::0-4 (walk, jog, run, sprint, nightmare) This is the speed at which zombies classified as feral (glowing eyes) will move.
:'''ZombieBMMove''': 3 (by default), '''SANDBOX CODE''': Zombie Blood Moon Speed
::0-4 (walk, jog, run, sprint, nightmare). This is the speed non-feral zombies move at during a Blood Moon.
:'''BloodMoonFrequency''': 7 (by default), '''SANDBOX CODE''': Blood Moon Frequency
::How often (in days) a blood moon happens. By default it's every 7th day.
:'''BloodMoonRange''': 0 (by default), '''SANDBOX CODE''': Blood Moon Range
::Number of days of "deviation" that can be applied to the next blood moon. A value of "1" can mean the next blood moon occurs on the 6th, 7th, or 8th day.
:'''BloodMoonEnemyCount''': 8 (by default), '''SANDBOX CODE''': Blood Moon Count
::The number of zombies spawned during blood moons per player. Turn this down if your server has performance issues.
:'''BloodMoonWarning''': Morning (by default), '''SANDBOX CODE''': Blood Moon Warning
::When the warning shows on a blood moon day and the day number turns red: Disabled, Morning or Evening.


<property name="LandClaimDeadZone" value="30"/>
=== Loot ===
Keystones must be this many blocks apart (unless you are friends with the other player)
:'''LootAbundance''': 100, '''SANDBOX CODE''': Loot Abundance
::Percentage in whole numbers. The higher the number, the more ammo, feathers, etc. you'll find.
<property name="LandClaimExpiryTime" value="3"/>
:'''LootRespawnDays''': 30, '''SANDBOX CODE''': Loot Respawn Days
The number of days a player can be offline before their claims expire and are no longer protected
::Days in whole numbers. 7 is a good number to help restock for blood moons.
:'''AirDropFrequency''': 3 Days (by default), '''SANDBOX CODE''': Air Drops
<property name="LandClaimDecayMode" value="0"/>
::How often airdrops occur: Disabled, Every Day, 1-3 Days, 3 Days, 3-7 Days, 7 Days or 1-7 Days
Controls how offline players land claims decay. All claims have full protection for the first 24hrs. 0=Linear, 1=Exponential, 2=Full protection until claim is expired.  
:'''AirDropMarker''': "true" or "false", '''SANDBOX CODE''' (set it on the game's Sandbox Options screen).
::Sets if a marker is added to map/compass for air drops.
<property name="LandClaimOnlineDurabilityModifier" value="4"/>
How much protected claim area block hardness is increased when a player is online. 0 means infinite (no damage will ever be taken). Default is 32x
<property name="LandClaimOfflineDurabilityModifier" value="4"/>
How much protected claim area block hardness is increased when a player is offline. 0 means infinite (no damage will ever be taken). Default is 32x
<property name="AirDropFrequency" value="72"/>
How often airdrop occur in game-hours, 0 == never 


<property name="AirDropMarker" value="false"/>
=== Multiplayer ===
Sets if a marker is added to map/compass for air drops.  
:'''PartySharedKillRange''': 100 (by default. This value is in meters)
::The distance you must be within to receive party shared kill XP and quest party kill objective credit. 200m is a good value, so crafters back at base still get experience.
<property name="MaxSpawnedZombies" value="60"/>
:'''PlayerKillingMode'''
Making this number too large (more than about 80) may cause servers to run at poor framerates which will effect lag and play quality for clients.
::Player Killing Settings (0 = No Killing, 1 = Kill Allies Only, 2 = Kill Strangers Only, 3 = Kill Everyone)


If your server has a large number of players you can increase this limit to add more wildlife. Animals don't consume as much CPU as zombies.
=== Land Claim Options ===
NOTE: That this doesn't cause more animals to spawn arbitrarily: The biome spawning system only spawns a certain number of animals in a given
:'''LandClaimCount'''
area, but if you have lots of players that are all spread out then you may be hitting the limit and can increase it.
::Maximum allowed land claims per player.
 
:'''LandClaimSize'''
<property name="MaxSpawnedAnimals" value="50"/>
::Size in blocks that is protected by a keystone
:'''LandClaimDeadZone'''
::Keystones must be this many blocks apart (unless you're friends with the other player)
:'''LandClaimExpiryTime'''
::The number of days a player can be offline before their claims expire and are no longer protected
:'''LandClaimDecayMode'''
::Controls how offline players' land claims decay. All claims have full protection for the first 24 hours. 0=Linear, 1=Exponential, 2=Full protection until claim is expired.
:'''LandClaimOnlineDurabilityModifier'''
::How much protected claim area block hardness is increased when a player is online. 0 means infinite (no damage will ever be taken). Default is 4x
:'''LandClaimOfflineDurabilityModifier'''
::How much protected claim area block hardness is increased when a player is offline. 0 means infinite (no damage will ever be taken). Default is 4x


<property name="EACEnabled" value="true"/>
=== Twitch Settings ===
Enables/Disables EasyAntiCheat 
:'''TwitchServerPermission'''
::Required permission level to use Twitch integration on the server
:'''TwitchBloodMoonAllowed'''
::Whether the server allows Twitch actions during a blood moon. The extra zombies they spawn can cause server lag.


<property name="BedrollDeadZoneSize" value="15"/>
== Modding ==
Size of bedroll deadzone, no zombies will spawn inside this area, and any cleared sleeper volumes that touch a bedroll deadzone will not spawn after they've been cleared.  
Mods are made by the community. Most only work on specific game versions, since the game keeps changing. All mods need [[FTP Access|FTP]] to install them on your server. Most go in a Mods folder, while others need you to overwrite folders. Follow the mod developer's instructions closely. If you don't, your server may crash or stop working.
<property name="SaveGameFolder" value="Saves"/>
use this to override the default save game path 


# Once you have made the edits and have everything to your liking. Save the file and upload it back to your server.
#Stop your server from the Command Center and access your server using [[FTP Access|FTP]].
# Start the server back up using the start button at the top of the panel
#Find the '''Mods''' folder in the main folder. If it doesn't exist, create it.
# Your server is now ready to roll.
#Download the mod of your choice. Mods in .zip files will need to be extracted.
#Add your mod to the '''Mods''' folder, and overwrite any folders the mod developer tells you to.
Some mods need changes to '''serverconfig.xml''' over FTP. How to edit it: [[7D2D_Server_Config#Getting_started_with_configuring_your_server|Getting started with configuring your server]].<br>
Installing Darkness Falls: [[7D2D DarknessFalls Install|Darkness Falls install guide]]<br>
Installing Valmod: [[7D2D Valmod Install|Valmod install guide]]

Latest revision as of 08:35, 17 November 2026

Rent a 7 Days to Die server from Survival Servers, or host it yourself.

Option #1: Renting a 7 Days to Die server

Tools row on a 7 Days to Die server page with Server Config, Launch Params, Custom Restarts, serverconfig.xml, File Manager and Server Monetization.
The TOOLS row on a 7 Days to Die server's page in the Command Center.

Rent a 7 Days to Die server from Survival Servers

Getting started with configuring your server

Before you start, read how to log in with an FTP program (FileZilla) in our FTP Access guide.

  1. Stop your server
  2. Once stopped, log in through FTP and find the serverconfig.xml file.
    A good program to use is Notepad++
  3. After opening the file, a list of settings will show. The sections on this page explain each setting and the values you can use.
  4. Sticking to the file structure, make your changes and then save the file.

Note: Pressing Save Settings & Restart at the bottom of the Game Server page resets the settings file to defaults. To keep your changes, also check "Skip Save Config" under ONE TIME TOGGLES. Once you've saved in TOOLS > Server Config, it also writes its own settings back into the file every time the server starts.

The settings on this page are for 7 Days to Die V3. Settings marked SANDBOX CODE are part of the Sandbox Code since V3.0, and the game no longer reads their own lines in the file. Change them in TOOLS > Server Config under Difficulty, Loot and Blood Moons (the name after the mark is the one shown there). Or paste a code from the game's Sandbox Options screen into Sandbox Code.

Configuration Example

For each setting, the code is written in this format:

<property name="ServerName" value="My Server Name! | SurvivalServers.com"/> <!-- Whatever you want the name of the server to be. -->

property = This "begins" the line. It tells the server you're changing a specific setting.
name = This is the property you're editing. Leave this alone.
value = This is the part you edit. Changing it has a direct effect on the server. Some settings only accept certain values (some take numbers only).
<!-- = This starts a comment, which the server ignores. Think of it as a note in the margin.
--> = This ends the comment. The server reads anything after it.

The serverconfig.xml file itself also has a short description and the allowed values for each setting. Some values are set by our system and show DO NOT CHANGE as the "example".

General Server Settings

Server Representation

ServerName: "This is my server name!"
This is the name of the server people see in their Steam server favorites list or the in-game server browser.
ServerDescription: "Free for all, no admins, Blood Moon every 4 days. Game on!"
In the in-game server browser, clicking your server shows this in the right pane.
ServerWebsiteURL: http://www.example.com
Website URL for the server, shown in the server browser as a clickable link.
ServerPassword: letspartyfolks
Password to gain entry to the server.
Region: NorthAmericaEast
Values must be one of the following: NorthAmericaEast, NorthAmericaWest, CentralAmerica, SouthAmerica, Europe, Russia, Asia, MiddleEast, Africa, Oceania.
If no region is set on the server, you won't be able to find the server.
Language: English
Use the language name your players would search for, written in English: "German", not "Deutsch".
This is only a filter name and doesn't set the language for players.
ServerLoginConfirmationText: "Are you ready for this?! Everyone's trigger happy, be careful!"
If set, players see this message while joining the server and must confirm it to continue. For bigger changes to this window, edit the "serverjoinrulesdialog" window in XUi.

Networking

ServerPort: DO NOT CHANGE
Port you want the server to listen on.
ServerVisibility: 2
Visibility of this server: 2 = public, 1 = only shown to friends, 0 = not listed. A dedicated server is never anyone's friend, so "1" only works once the first player connects manually by IP.
ServerDisabledNetworkProtocols: DO NOT CHANGE
Networking protocols the server shouldn't use, separated by commas. Possible values: LiteNetLib, SteamNetworking. A dedicated server should turn off SteamNetworking if there's no NAT router between your players and the server, or when port forwarding is set up correctly.

Slots

ServerMaxPlayerCount: DO NOT CHANGE
Most players online at once.
ServerReservedSlots
Of the MaxPlayerCount, this many slots can only be used by players with a set permission level.
ServerReservedSlotsPermission
Required permission level to use the reserved slots
ServerAdminSlots
This many admins can still join even if the server has reached MaxPlayerCount
ServerAdminSlotsPermission
Required permission level to use the admin slots

Admin interfaces

WebDashboardEnabled
Enable/disable the web dashboard
WebDashboardPort
Port of the web dashboard
WebDashboardUrl
External URL to the web dashboard if not just using the public IP of the server, e.g. if the web dashboard is behind a reverse proxy. Needs to be the full URL, like "https://domainOfReverseProxy.tld:1234/". Can be left empty if directly using the public IP and dashboard port
EnableMapRendering
Enable/disable rendering of the map to tile images while exploring it. This is used e.g. by the web dashboard to display a view of the map.

Telnet Settings

TelnetEnabled
Enable/Disable the telnet
TelnetPort
Port of the telnet server
TelnetPassword
Password to gain entry to telnet interface. If no password is set the server will only listen on the local loopback interface
TelnetFailedLoginLimit
After this many wrong passwords from a single remote client the client will be blocked from connecting to the Telnet interface
TelnetFailedLoginsBlocktime
How long the block lasts (in seconds)
TerminalWindowEnabled
Show a terminal window for log output / command input (Windows only)

Other technical settings

EACEnabled: "true" or "false"
Enables/Disables EasyAntiCheat. Some mods require this to be set to "false". If players are EAC banned but want to play, set this to "false".
HideCommandExecutionLog
Hide logging of command execution. 0 = show everything, 1 = hide only from Telnet/ControlPanel, 2 = also hide from remote game clients, 3 = hide everything.
MaxUncoveredMapChunksPerPlayer
Override how many chunks can be uncovered on the ingame map by each player. Resulting max map file size limit per player is (x * 512 Bytes), uncovered area is (x * 256 m²). Default 131072 means max 32 km² can be uncovered at any time.
PersistentPlayerProfiles
If disabled a player can join with any selected profile. If true they will join with the last profile they joined with.

Gameplay

World

GameWorld: "RWG" (Random World Gen), "Navezgane","PREGEN" (a pregenerated world), or "Existing World Name"
RWG (see the WorldGenSeed and WorldGenSize settings) or any already existing world name in the Worlds folder. Navezgane is the "story" map for 7 Days to Die.
The pregenerated worlds change between game versions: use a folder name from Data\Worlds in your server's main folder, letter for letter.
WorldGenSeed: "ZOMBIETIME"
With RWG, this is the seed for the new world. If a world with that name already exists, the server loads it.
WorldGenSize: 6144 or 8192 or 10240.
If RWG this controls the width and height of the created world. It's also combined with WorldGenSeed to make the internal RWG seed. That gives a unique map name even with the same WorldGenSeed. Has to be between 2048 and 16384 (the game only supports 6k, 8k, and 10k). Open a ticket if you want anything over 8192, since it uses too much CPU and costs extra. Larger map sizes = longer start times, possible lag, and longer time to download and join.
GameName: "Example Anything" or "Existing Game Name"
Whatever you want the game name to be. This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It doesn't control the general layout of the world when creating an RWG world. This name can be found in /Saves/"GameWorld" for existing saves.
GameMode: DO NOT CHANGE
GameModeSurvival
SaveGameFolder: DO NOT CHANGE
Saves
UserDataFolder: DO NOT CHANGE
C:\sspanel\gameservers\sevendays\SERVER_ID

Difficulty

GameDifficulty: Nomad (the game's normal), SANDBOX CODE: Difficulty Preset
Scavenger (easiest), Adventurer, Nomad, Warrior, True Survivalist, Insane (hardest)
BlockDamagePlayer: 100, SANDBOX CODE: Block Damage
How much damage players do to blocks (percentage in whole numbers)
BlockDamageAI: 100, SANDBOX CODE: Enemy Block Damage
How much damage AIs do to blocks (percentage in whole numbers)
BlockDamageAIBM: 100, SANDBOX CODE: Blood Moon Block Damage
How much damage AIs do to blocks during blood moons (percentage in whole numbers)
XPMultiplier: 150 (for 1.5x experience points), SANDBOX CODE: XP Multiplier
XP gain multiplier (percentage in whole numbers)
PlayerSafeZoneLevel: 5
Players at this level or lower get a safe zone (no enemies) when they spawn.
PlayerSafeZoneHours: 10
Hours in world time this safe zone exists

Misc Settings

BuildCreate: "true" or "false"
Cheat mode on or off, similar to creative mode in Minecraft.
DayNightLength: 60, SANDBOX CODE: 24 Hour Cycle
Real-time minutes per in-game day. At the default, one real hour is one in-game day. The highest value tested is 120 minutes.
DayLightLength: 18 (this will result in "night" occurring at 22:00 until 4:00), SANDBOX CODE: Daylight Length
In-game hours the sun shines per day: 18 hours of daylight per in-game day.
DropOnDeath: All, SANDBOX CODE: Drop On Death
None, All, Toolbelt Only, Backpack Only, Equipment, Carried Only, Delete All.
DropOnQuit: 1, SANDBOX CODE: Drop On Quit
0 = nothing, 1 = everything, 2 = toolbelt only, 3 = backpack only
BedrollDeadZoneSize: 50
Size of the bedroll dead zone. No zombies spawn inside it, and cleared sleeper volumes that touch it won't spawn again.

Performance Related

MaxSpawnedZombies: 50
Setting this too high (more than about 80) can drop the server's frame rate, which causes lag for players.
MaxSpawnedAnimals: 60
If your server has a large number of players you can increase this limit to add more wildlife. Animals don't consume as much CPU as zombies. Note: this doesn't make more animals spawn on its own. The biome spawning system only spawns a set number of animals in each area. If you have lots of players spread out, you may be hitting the limit and can raise it.

Zombie Settings

EnemySpawnMode: "true" or "false", SANDBOX CODE: Enemy Spawning
Enable/Disable enemy spawning
EnemyDifficulty: 0 (by default), SANDBOX CODE (set it on the game's Sandbox Options screen)
0 = Normal, 1 = Feral (Feral zombies will always run no matter which type they are)
ZombieFeralSense: 0 (by default), SANDBOX CODE: Zombie Feral Sense
0-3 (Off, Day, Night, All)
ZombieMove: 0 (by default), SANDBOX CODE: Zombie Day Speed
0-4 (walk, jog, run, sprint, nightmare)
ZombieMoveNight: 3 (by default), SANDBOX CODE: Zombie Night Speed
0-4 (walk, jog, run, sprint, nightmare)
ZombieFeralMove: 3 (by default), SANDBOX CODE: Zombie Feral Speed
0-4 (walk, jog, run, sprint, nightmare) This is the speed at which zombies classified as feral (glowing eyes) will move.
ZombieBMMove: 3 (by default), SANDBOX CODE: Zombie Blood Moon Speed
0-4 (walk, jog, run, sprint, nightmare). This is the speed non-feral zombies move at during a Blood Moon.
BloodMoonFrequency: 7 (by default), SANDBOX CODE: Blood Moon Frequency
How often (in days) a blood moon happens. By default it's every 7th day.
BloodMoonRange: 0 (by default), SANDBOX CODE: Blood Moon Range
Number of days of "deviation" that can be applied to the next blood moon. A value of "1" can mean the next blood moon occurs on the 6th, 7th, or 8th day.
BloodMoonEnemyCount: 8 (by default), SANDBOX CODE: Blood Moon Count
The number of zombies spawned during blood moons per player. Turn this down if your server has performance issues.
BloodMoonWarning: Morning (by default), SANDBOX CODE: Blood Moon Warning
When the warning shows on a blood moon day and the day number turns red: Disabled, Morning or Evening.

Loot

LootAbundance: 100, SANDBOX CODE: Loot Abundance
Percentage in whole numbers. The higher the number, the more ammo, feathers, etc. you'll find.
LootRespawnDays: 30, SANDBOX CODE: Loot Respawn Days
Days in whole numbers. 7 is a good number to help restock for blood moons.
AirDropFrequency: 3 Days (by default), SANDBOX CODE: Air Drops
How often airdrops occur: Disabled, Every Day, 1-3 Days, 3 Days, 3-7 Days, 7 Days or 1-7 Days
AirDropMarker: "true" or "false", SANDBOX CODE (set it on the game's Sandbox Options screen).
Sets if a marker is added to map/compass for air drops.

Multiplayer

PartySharedKillRange: 100 (by default. This value is in meters)
The distance you must be within to receive party shared kill XP and quest party kill objective credit. 200m is a good value, so crafters back at base still get experience.
PlayerKillingMode
Player Killing Settings (0 = No Killing, 1 = Kill Allies Only, 2 = Kill Strangers Only, 3 = Kill Everyone)

Land Claim Options

LandClaimCount
Maximum allowed land claims per player.
LandClaimSize
Size in blocks that is protected by a keystone
LandClaimDeadZone
Keystones must be this many blocks apart (unless you're friends with the other player)
LandClaimExpiryTime
The number of days a player can be offline before their claims expire and are no longer protected
LandClaimDecayMode
Controls how offline players' land claims decay. All claims have full protection for the first 24 hours. 0=Linear, 1=Exponential, 2=Full protection until claim is expired.
LandClaimOnlineDurabilityModifier
How much protected claim area block hardness is increased when a player is online. 0 means infinite (no damage will ever be taken). Default is 4x
LandClaimOfflineDurabilityModifier
How much protected claim area block hardness is increased when a player is offline. 0 means infinite (no damage will ever be taken). Default is 4x

Twitch Settings

TwitchServerPermission
Required permission level to use Twitch integration on the server
TwitchBloodMoonAllowed
Whether the server allows Twitch actions during a blood moon. The extra zombies they spawn can cause server lag.

Modding

Mods are made by the community. Most only work on specific game versions, since the game keeps changing. All mods need FTP to install them on your server. Most go in a Mods folder, while others need you to overwrite folders. Follow the mod developer's instructions closely. If you don't, your server may crash or stop working.

  1. Stop your server from the Command Center and access your server using FTP.
  2. Find the Mods folder in the main folder. If it doesn't exist, create it.
  3. Download the mod of your choice. Mods in .zip files will need to be extracted.
  4. Add your mod to the Mods folder, and overwrite any folders the mod developer tells you to.

Some mods need changes to serverconfig.xml over FTP. How to edit it: Getting started with configuring your server.
Installing Darkness Falls: Darkness Falls install guide
Installing Valmod: Valmod install guide