Wiki Navigation

globals.xml Configuration

The globals.xml file controls server-wide settings including cleanup timers, spawn rates, animal counts, and various gameplay mechanics.

Global Parameters

Animal and Zombie Settings

AnimalMaxCount integer

Maximum number of animals allowed on the server.

ZombieMaxCount integer

Maximum number of zombies allowed on the server.

Cleanup Settings

CleanupAvoidance integer

Distance in meters to avoid cleanup when players are nearby.

CleanupLifetimeDeadAnimal integer

Time in seconds before dead animal bodies are cleaned up.

CleanupLifetimeDeadInfected integer

Time in seconds before dead infected bodies are cleaned up.

CleanupLifetimeDeadPlayer integer

Time in seconds before dead player bodies are cleaned up.

CleanupLifetimeDefault integer

Default cleanup time in seconds for items not otherwise specified.

CleanupLifetimeRuined integer

Time in seconds before ruined items are cleaned up.

Loot Settings

LootDamageMax float

Maximum damage value for spawned loot (0.0 - 1.0).

LootDamageMin float

Minimum damage value for spawned loot (0.0 - 1.0).

LootProxyPlacement integer

Controls loot placement proxy system (0 = disabled, 1 = enabled).

LootSpawnAvoidance integer

Distance in meters to avoid spawning loot near players.

Time Settings

TimeHopping integer

Time in seconds between server hopping prevention checks.

TimeLogin integer

Time in seconds required for login process.

TimeLogout integer

Time in seconds required for logout process.

TimePenalty integer

Time penalty in seconds for various infractions.

Spawn Settings

RespawnAttempt integer

Number of attempts to find a valid spawn point.

RespawnLimit integer

Maximum number of respawn attempts allowed.

RespawnTypes integer

Number of different respawn types available.

SpawnInitial integer

Initial spawn delay in seconds after server start.

Other Settings

FoodDecay integer

Rate at which food items decay (0 = disabled, 1 = enabled).

IdleModeCountdown integer

Time in seconds before server enters idle mode.

IdleModeStartup integer

Start server in idle mode (0 = disabled, 1 = enabled).

WorldWetTempUpdate integer

Frequency of world wetness and temperature updates.

ZoneSpawnDist integer

Distance in meters between spawn zones.

Example Configuration

<variables>
    <var name="AnimalMaxCount" type="0" value="200"/>
    <var name="CleanupAvoidance" type="0" value="100"/>
    <var name="CleanupLifetimeDeadAnimal" type="0" value="1200"/>
    <var name="CleanupLifetimeDeadInfected" type="0" value="330"/>
    <var name="CleanupLifetimeDeadPlayer" type="0" value="3600"/>
    <var name="CleanupLifetimeDefault" type="0" value="45"/>
    <var name="CleanupLifetimeRuined" type="0" value="330"/>
    <var name="FoodDecay" type="0" value="1"/>
    <var name="IdleModeCountdown" type="0" value="60"/>
    <var name="IdleModeStartup" type="0" value="1"/>
    <var name="LootDamageMax" type="1" value="0.82"/>
    <var name="LootDamageMin" type="1" value="0.0"/>
    <var name="LootProxyPlacement" type="0" value="1"/>
    <var name="LootSpawnAvoidance" type="0" value="100"/>
    <var name="RespawnAttempt" type="0" value="2"/>
    <var name="RespawnLimit" type="0" value="20"/>
    <var name="RespawnTypes" type="0" value="12"/>
    <var name="SpawnInitial" type="0" value="1200"/>
    <var name="TimeHopping" type="0" value="60"/>
    <var name="TimeLogin" type="0" value="15"/>
    <var name="TimeLogout" type="0" value="15"/>
    <var name="TimePenalty" type="0" value="20"/>
    <var name="WorldWetTempUpdate" type="0" value="1"/>
    <var name="ZombieMaxCount" type="0" value="1000"/>
    <var name="ZoneSpawnDist" type="0" value="300"/>
</variables>

Configuration Tips

  • All time values are specified in seconds
  • Type "0" represents integer values, type "1" represents float values
  • Consider server performance when adjusting animal and zombie counts
  • Balance cleanup times with server performance and gameplay experience
  • Test configuration changes in a development environment first
  • Keep a backup of your working configuration
  • Monitor server performance after making changes to these values