Générateur de serverconfig.xml pour 7 Days to Die

7 Days to Die utilise XML, ce qui signifie qu'il est le seul paramètre ici qui refusera de charger sur un seul caractère errant - généralement un situé dans votre nom de serveur.

Commencez par un preset

Paramètres visuels

xml Format
Identity

Name in the server browser. An ampersand here must be escaped — an unescaped one breaks the whole XML file and the server falls back to defaults.

Short description in the browser.

Website link shown with the server.

Base port. The game uses TCP here and UDP on this port plus the two above it.

Gameplay

0 is easiest, 5 hardest. Affects damage dealt and taken.

Real minutes per in-game day.

In-game hours of daylight per day.

Experience rate as a percentage, not a multiplier — 100 is normal.

0 nothing, 1 everything, 2 toolbelt only, 3 backpack only.

Days between Blood Moons. 0 disables them entirely.

Loot quantity as a percentage.

Days before containers refill. 0 disables loot respawn.

World

Navezgane for the hand-built map, or RWG for a random world generated from the seed below.

Seed for random world generation. Only used when GameWorld is RWG.

Random world size. Larger maps take much longer to generate and use considerably more memory.

Save name. Changing it starts a fresh save rather than renaming the existing one.

Land claim blocks per player.

Size in blocks of the protected area around a claim.

Players & Access

Join password.

Slot limit.

Slots held back for players with the required permission level.

Performance

Zombies per player during a Blood Moon. This sets your server's peak load — it is the number to lower if horde night causes trouble.

Server-wide zombie cap. One of the strongest performance levers here.

Server-wide animal cap.

Caps how far clients may render, which limits how much the server must stream.

Network

2 is public, 1 friends only, 0 hidden and joinable by address.

RCON & Query

Telnet console. Also what external tools use to read the player list, since the standard query does not provide names.

Telnet port. Never expose it publicly without a password.

Telnet password. An empty password with telnet enabled is an open console.

Built-in web dashboard.

Web dashboard port.

serverconfig.xml

<?xml version="1.0"?>
<ServerSettings>
  <property name="ServerName" value="Spawnly 7DTD"/>
  <property name="ServerDescription" value="Survive the horde"/>
  <property name="ServerWebsiteURL" value=""/>
  <property name="ServerPort" value="26900"/>
  <property name="ServerVisibility" value="2"/>
  <property name="ServerPassword" value=""/>
  <property name="ServerMaxPlayerCount" value="8"/>
  <property name="ServerReservedSlots" value="0"/>
  <property name="GameWorld" value="Navezgane"/>
  <property name="WorldGenSeed" value=""/>
  <property name="WorldGenSize" value="6144"/>
  <property name="GameName" value="SpawnlyWorld"/>
  <property name="GameDifficulty" value="2"/>
  <property name="DayNightLength" value="60"/>
  <property name="DayLightLength" value="18"/>
  <property name="XPMultiplier" value="100"/>
  <property name="DropOnDeath" value="1"/>
  <property name="BloodMoonFrequency" value="7"/>
  <property name="BloodMoonEnemyCount" value="8"/>
  <property name="MaxSpawnedZombies" value="64"/>
  <property name="MaxSpawnedAnimals" value="50"/>
  <property name="ServerMaxAllowedViewDistance" value="12"/>
  <property name="LootAbundance" value="100"/>
  <property name="LootRespawnDays" value="30"/>
  <property name="LandClaimCount" value="3"/>
  <property name="LandClaimSize" value="41"/>
  <property name="TelnetEnabled" value="false"/>
  <property name="TelnetPort" value="8081"/>
  <property name="TelnetPassword" value=""/>
  <property name="WebDashboardEnabled" value="false"/>
  <property name="WebDashboardPort" value="8080"/>
</ServerSettings>

Comment fonctionne la syntaxe de la serverconfig.xml

Chaque paramètre est un élément de propriété avec un nom et un attribut de valeur. Comme il s'agit d'un vrai XML, les caractères qui ont une signification en XML ne peuvent pas apparaître littéralement dans vos valeurs : un accent circonflexe dans un nom de serveur doit être écrit sous forme de sa séquence d'échappement, et il en va de même pour les crochets et les guillemets à l'intérieur des valeurs entre guillemets. Ce générateur les échappe pour vous.

L'erreur qui coûte des heures aux gens

Un accent circonflexe non échappé ne produit pas une erreur utile. Le parseur XML échoue, le serveur repasse à ses paramètres par défaut intégrés, et vous obtenez un serveur fonctionnel sans aucun de vos paramètres et sans explication évidente. Si rien de ce que vous avez configuré n'a été appliqué, recherchez d'abord une ponctuation dans votre nom de serveur.

Assistance & Aide