# How to Configure Your 7 Days to Die Server (serverconfig.xml) (/docs/7-days-to-die/server-config)







import { Step, Steps } from 'fumadocs-ui/components/steps';

All 7 Days to Die server settings live in `serverconfig.xml` in the server root directory.

Quick Settings via Startup Tab [#quick-settings-via-startup-tab]

Common settings (Max Players, Game Difficulty, Telnet, Beta Branch) can be changed directly in the **Startup** tab without editing the config file:

<img alt="Startup tab showing 7DTD variables" src={__img0} placeholder="blur" />

Editing serverconfig.xml [#editing-serverconfigxml]

For full control, edit the config file directly:

<Steps>
  <Step>
    Stop the server [#stop-the-server]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Console** and stop the server.
  </Step>

  <Step>
    Open serverconfig.xml [#open-serverconfigxml]

    Click **Files** in the sidebar and open `serverconfig.xml` in the server root.

        <img alt="serverconfig.xml in the editor" src={__img1} placeholder="blur" />
  </Step>

  <Step>
    Edit and save [#edit-and-save]

    Make your changes and click **Save Content**. Start from **Console**.
  </Step>
</Steps>

***

Server Identity [#server-identity]

| Property                      | Default                    | Description                                    |
| ----------------------------- | -------------------------- | ---------------------------------------------- |
| `ServerName`                  | `"My Game Host"`           | Name shown in the server browser               |
| `ServerDescription`           | `"A 7 Days to Die server"` | Description shown when highlighting the server |
| `ServerWebsiteURL`            | `""`                       | Clickable link in the browser                  |
| `ServerPassword`              | `""`                       | Join password (blank = open)                   |
| `ServerLoginConfirmationText` | `""`                       | Message players must confirm before joining    |
| `Region`                      | `"NorthAmericaEast"`       | Region tag for browser filtering               |
| `Language`                    | `"English"`                | Server language tag                            |

Networking [#networking]

| Property                          | Default             | Description                                |
| --------------------------------- | ------------------- | ------------------------------------------ |
| `ServerPort`                      | `26900`             | Main game port (UDP). Also uses +1 and +2  |
| `ServerVisibility`                | `2`                 | 0 = unlisted, 1 = friends only, 2 = public |
| `ServerDisabledNetworkProtocols`  | `"SteamNetworking"` | Disable specific protocols                 |
| `ServerMaxWorldTransferSpeedKiBs` | `512`               | Max world download speed for clients       |

> 📝 **Note:** For the server to appear in the **LAN tab**, `ServerPort` must be in range 26900–26905 or 27015–27020.

Player Slots & Reserved Slots [#player-slots--reserved-slots]

| Property                        | Default | Description                                        |
| ------------------------------- | ------- | -------------------------------------------------- |
| `ServerMaxPlayerCount`          | `8`     | Maximum concurrent players                         |
| `ServerReservedSlots`           | `0`     | Slots carved from max count for privileged players |
| `ServerReservedSlotsPermission` | `100`   | Permission level required for reserved slots       |
| `ServerAdminSlots`              | `0`     | **Extra** slots beyond max count for admins        |
| `ServerAdminSlotsPermission`    | `0`     | Permission level required for admin slots          |

> 💡 **Tip:** Admin slots are **extra** — they let admins join even when the server is "full." Reserved slots are carved **from** the max count.

World & Map [#world--map]

| Property       | Default              | Description                                                               |
| -------------- | -------------------- | ------------------------------------------------------------------------- |
| `GameWorld`    | `"Navezgane"`        | `"Navezgane"` (hand-crafted) or `"RWG"` (random gen) or custom world name |
| `WorldGenSeed` | `"asdf"`             | Seed string for RWG — determines world layout                             |
| `WorldGenSize` | `6144`               | RWG world size: 2048–16384 (multiples of 2048)                            |
| `GameName`     | `"My Game"`          | Save folder name and decoration seed                                      |
| `GameMode`     | `"GameModeSurvival"` | Only survival mode is available                                           |

Difficulty & Damage [#difficulty--damage]

| Property              | Default | Description                                                            |
| --------------------- | ------- | ---------------------------------------------------------------------- |
| `GameDifficulty`      | `2`     | 0=Scavenger, 1=Adventurer, 2=Nomad, 3=Warrior, 4=Survivalist, 5=Insane |
| `BlockDamagePlayer`   | `100`   | Player damage to blocks (%)                                            |
| `BlockDamageAI`       | `100`   | Zombie damage to blocks (%)                                            |
| `BlockDamageAIBM`     | `100`   | Blood moon zombie damage to blocks (%)                                 |
| `XPMultiplier`        | `100`   | XP gain multiplier (%)                                                 |
| `PlayerSafeZoneLevel` | `5`     | Player level at which safe zone deactivates                            |
| `PlayerSafeZoneHours` | `5`     | In-game hours of safe zone protection                                  |

Day/Night Cycle [#daynight-cycle]

| Property         | Default | Description                           |
| ---------------- | ------- | ------------------------------------- |
| `DayNightLength` | `60`    | Real minutes per in-game 24-hour day  |
| `DayLightLength` | `18`    | In-game hours of daylight (out of 24) |

Drop on Death [#drop-on-death]

| Property      | Default | Description                                                             |
| ------------- | ------- | ----------------------------------------------------------------------- |
| `DropOnDeath` | `1`     | 0=Nothing, 1=Everything, 2=Toolbelt only, 3=Backpack only, 4=Delete all |
| `DropOnQuit`  | `0`     | Same options — applied when a player disconnects                        |

Zombie Settings [#zombie-settings]

| Property            | Default | Description                                            |
| ------------------- | ------- | ------------------------------------------------------ |
| `EnemySpawnMode`    | `true`  | Master toggle for zombie spawning                      |
| `EnemyDifficulty`   | `0`     | 0=Normal, 1=Feral (all zombies start feral)            |
| `ZombieFeralSense`  | `0`     | 0=Off, 1=Day, 2=Night, 3=All                           |
| `ZombieMove`        | `0`     | Day speed: 0=Walk, 1=Jog, 2=Run, 3=Sprint, 4=Nightmare |
| `ZombieMoveNight`   | `3`     | Night speed (0–4)                                      |
| `ZombieFeralMove`   | `3`     | Feral speed (0–4)                                      |
| `ZombieBMMove`      | `3`     | Blood moon speed (0–4)                                 |
| `MaxSpawnedZombies` | `64`    | Global zombie cap — biggest performance impact         |
| `MaxSpawnedAnimals` | `50`    | Global animal cap                                      |

Blood Moon [#blood-moon]

| Property              | Default | Description                                   |
| --------------------- | ------- | --------------------------------------------- |
| `BloodMoonFrequency`  | `7`     | Days between blood moons (0=never)            |
| `BloodMoonRange`      | `0`     | Random day variance (+/- days)                |
| `BloodMoonWarning`    | `8`     | In-game hour sky turns red (-1=never)         |
| `BloodMoonEnemyCount` | `8`     | Max alive zombies **per player** during horde |

Loot [#loot]

| Property           | Default | Description                                  |
| ------------------ | ------- | -------------------------------------------- |
| `LootAbundance`    | `100`   | Loot amount as percentage (25–200+)          |
| `LootRespawnDays`  | `7`     | In-game days before looted containers refill |
| `AirDropFrequency` | `72`    | Game hours between airdrops (0=disabled)     |
| `AirDropMarker`    | `false` | Show map marker for airdrops                 |

PvP [#pvp]

| Property               | Default | Description                                           |
| ---------------------- | ------- | ----------------------------------------------------- |
| `PlayerKillingMode`    | `3`     | 0=No PvP, 1=Allies only, 2=Strangers only, 3=Everyone |
| `PartySharedKillRange` | `100`   | Distance (meters) for party XP sharing                |

Land Claims [#land-claims]

| Property                             | Default | Description                                          |
| ------------------------------------ | ------- | ---------------------------------------------------- |
| `LandClaimCount`                     | `1`     | Max claims per player                                |
| `LandClaimSize`                      | `41`    | Protected area in blocks                             |
| `LandClaimDeadZone`                  | `30`    | Minimum blocks between claims                        |
| `LandClaimExpiryTime`                | `7`     | Days offline before claim expires                    |
| `LandClaimOnlineDurabilityModifier`  | `4`     | Block hardness when owner is online (0=invulnerable) |
| `LandClaimOfflineDurabilityModifier` | `4`     | Block hardness when owner is offline                 |

Bedroll [#bedroll]

| Property              | Default | Description                                       |
| --------------------- | ------- | ------------------------------------------------- |
| `BedrollDeadZoneSize` | `15`    | Block radius around bedroll with no zombie spawns |
| `BedrollExpiryTime`   | `45`    | Real days before unvisited bedroll expires        |

Anti-Cheat & Crossplay [#anti-cheat--crossplay]

| Property               | Default | Description                  |
| ---------------------- | ------- | ---------------------------- |
| `EACEnabled`           | `true`  | Enable EasyAntiCheat         |
| `ServerAllowCrossplay` | `false` | Enable PC/Xbox/PS5 crossplay |

> ⚠️ **Crossplay requires:** EAC enabled, no mods, max 8 players, world size 8192 or smaller.

Admin Interfaces [#admin-interfaces]

| Property              | Default | Description                              |
| --------------------- | ------- | ---------------------------------------- |
| `TelnetEnabled`       | `true`  | Enable Telnet/RCON                       |
| `TelnetPort`          | `8081`  | Telnet port (TCP)                        |
| `TelnetPassword`      | `""`    | Telnet password (blank = localhost only) |
| `WebDashboardEnabled` | `false` | Enable web dashboard                     |
| `WebDashboardPort`    | `8080`  | Dashboard port (TCP)                     |
| `EnableMapRendering`  | `false` | Render map tiles for web map             |

Twitch [#twitch]

| Property                 | Default | Description                                      |
| ------------------------ | ------- | ------------------------------------------------ |
| `TwitchServerPermission` | `90`    | Permission level required for Twitch integration |
| `TwitchBloodMoonAllowed` | `false` | Allow Twitch events during blood moons           |

Performance [#performance]

| Property                       | Default | Description                             |
| ------------------------------ | ------- | --------------------------------------- |
| `ServerMaxAllowedViewDistance` | `12`    | Max chunk view distance (6–12)          |
| `PersistentPlayerProfiles`     | `false` | Force players to reuse the same profile |

Other [#other]

| Property        | Default             | Description                                             |
| --------------- | ------------------- | ------------------------------------------------------- |
| `BuildCreate`   | `false`             | Enable creative mode for all (flags server as "Modded") |
| `AdminFileName` | `"serveradmin.xml"` | Admin configuration filename                            |

> ⚠️ **Modded flag:** Changing `DayNightLength`, `DropOnDeath`, `DropOnQuit`, `EnemySpawnMode`, `LootRespawnDays`, `LootAbundance`, `AirDropFrequency`, or `BuildCreate` from defaults flags the server as "Modded" in the browser.

***

> 💡 **Tip:** Need help? Join our [Discord](https://discord.xgamingserver.com) for support.

Full serverconfig.xml Example [#full-serverconfigxml-example]

A real working serverconfig.xml with comments:

```xml
<?xml version="1.0"?>
<ServerSettings>
    <!-- Server Identity -->
    <property name="ServerName"                     value="My 7DTD Server"/>
    <property name="ServerDescription"              value="PvE survival server with mods"/>
    <property name="ServerPassword"                 value=""/>
    <property name="Region"                         value="NorthAmericaEast"/>
    <property name="Language"                       value="English"/>

    <!-- Networking -->
    <property name="ServerPort"                     value="26900"/>
    <property name="ServerVisibility"               value="2"/>
    <property name="ServerDisabledNetworkProtocols"  value="SteamNetworking"/>
    <property name="ServerMaxWorldTransferSpeedKiBs" value="1300"/>

    <!-- Slots -->
    <property name="ServerMaxPlayerCount"           value="100"/>
    <property name="ServerReservedSlots"             value="0"/>
    <property name="ServerAdminSlots"               value="0"/>

    <!-- Admin -->
    <property name="TelnetEnabled"                  value="true"/>
    <property name="TelnetPort"                     value="8081"/>
    <property name="TelnetPassword"                 value=""/>
    <property name="WebDashboardEnabled"            value="false"/>
    <property name="EACEnabled"                     value="false"/>
    <property name="ServerAllowCrossplay"           value="false"/>

    <!-- World -->
    <property name="GameWorld"                      value="Navezgane"/>
    <property name="WorldGenSeed"                   value="MyGame"/>
    <property name="WorldGenSize"                   value="6144"/>
    <property name="GameName"                       value="MyServer"/>
    <property name="GameMode"                       value="GameModeSurvival"/>

    <!-- Difficulty -->
    <property name="GameDifficulty"                 value="2"/>
    <property name="BlockDamagePlayer"              value="100"/>
    <property name="BlockDamageAI"                  value="100"/>
    <property name="XPMultiplier"                   value="100"/>

    <!-- Day/Night -->
    <property name="DayNightLength"                 value="60"/>
    <property name="DayLightLength"                 value="18"/>

    <!-- Death -->
    <property name="DeathPenalty"                   value="1"/>
    <property name="DropOnDeath"                    value="1"/>
    <property name="DropOnQuit"                     value="0"/>

    <!-- PvP -->
    <property name="PlayerKillingMode"              value="3"/>

    <!-- Zombies -->
    <property name="EnemySpawnMode"                 value="true"/>
    <property name="ZombieMove"                     value="0"/>
    <property name="ZombieMoveNight"                value="3"/>
    <property name="ZombieFeralSense"               value="0"/>
    <property name="BloodMoonFrequency"             value="7"/>
    <property name="BloodMoonEnemyCount"            value="8"/>

    <!-- Loot -->
    <property name="LootAbundance"                  value="100"/>
    <property name="LootRespawnDays"                value="7"/>
    <property name="AirDropFrequency"               value="72"/>

    <!-- Land Claims -->
    <property name="LandClaimCount"                 value="3"/>
    <property name="LandClaimSize"                  value="41"/>
    <property name="LandClaimDeadZone"              value="30"/>
    <property name="LandClaimExpiryTime"            value="7"/>

    <!-- Performance -->
    <property name="MaxSpawnedZombies"              value="64"/>
    <property name="MaxSpawnedAnimals"              value="50"/>
    <property name="ServerMaxAllowedViewDistance"    value="12"/>

    <class name="Missions">
        <property name="QuestProgressionDailyLimit" value="12"/>
    </class>
</ServerSettings>
```

Related Guides [#related-guides]

* [Difficulty Settings](/docs/7-days-to-die/difficulty-settings)
* [Day/Night Cycle](/docs/7-days-to-die/day-night-cycle)
* [PvP Settings](/docs/7-days-to-die/pvp-settings)
* [Zombie Settings](/docs/7-days-to-die/zombie-settings)
* [Blood Moon](/docs/7-days-to-die/blood-moon)
* [Disable EAC](/docs/7-days-to-die/disable-eac)
* [Server Visibility](/docs/7-days-to-die/server-visibility)
* [Backup & Restore](/docs/7-days-to-die/backup-restore)
* [Map Selection](/docs/7-days-to-die/map-selection)
* [Crossplay Setup](/docs/7-days-to-die/crossplay)
