advancedSERVER CONFIGFeatured

Globals — Server Economy Settings Guide

Complete guide to globals.xml server economy settings — AI & spawn limits, cleanup, loot control, respawn, player timers, and the item condition scale with a working example.

Anonymous
Jul 15, 2026
0 views

Overview

globals.xml controls the server-wide economy and spawn settings. These variables are located in DB > globals.xml and govern everything from animal and zombie caps to loot respawn, cleanup, and food decay.


Part 1 — AI & Spawn / Cleanup / Flags / Food

AI & Spawn Limits

  • AnimalMaxCount — Max number of animals across the map
  • ZombieMaxCount — Max number of infected across all zones
  • ZoneSpawnDist — Distance required to trigger infected spawns

Cleanup Settings

  • CleanupAvoidance — Distance a player must be from an item for it to despawn
  • CleanupLifetimeDeadAnimal — Lifetime of dead animals
  • CleanupLifetimeDeadInfected — Lifetime of dead zombies
  • CleanupLifetimeDeadPlayer — Lifetime of dead players
  • CleanupLifetimeDefault — Lifetime for dead entities without custom settings
  • CleanupLifetimeRuined — Lifetime of ruined items
  • CleanupLifetimeLimit — Max items deleted per cleanup cycle

Flag Settings

  • FlagRefreshFrequency — How often item lifetime refreshes
  • FlagRefreshMaxDuration — How long flags keep refreshing items

Food & World Settings

  • FoodDecay — Enables/disables food decay (requires WorldWetTempUpdate = 1)
  • WorldWetTempUpdate — Controls wetness & temperature system

Part 2 — Loot Control / Damage / Respawn / Player Timers

Loot Control

  • InitialSpawn — Amount of loot spawned on first start
  • RestartSpawn — Loot respawned on server restart
  • SpawnInitial — Number of attempts for initial item spawn
  • LootSpawnAvoidance — Distance from players required for loot spawn
  • LootProxyPlacement — Allows containers to receive loot

Loot Damage Settings

  • LootDamageMin — Minimum damage on spawn
  • LootDamageMax — Maximum damage on spawn

Set both to 0.0 to force all loot to spawn pristine.

Respawn Settings

  • RespawnAttempt — Attempts per item respawn
  • RespawnLimit — Max of one item type spawning at once
  • RespawnTypes — Number of item types spawning at once

Player Timers

  • TimeLogin — Login timer
  • TimeLogout — Logout timer
  • TimePenalty — Penalty for active session
  • TimeHopping — Penalty for server hopping

Item Condition Scale

| Condition | Value Range | |---|---| | Pristine | 0.00 – 0.29 | | Worn | 0.30 – 0.59 | | Damaged | 0.60 – 0.79 | | Badly Damaged | 0.80 – 0.99 | | Ruined | 1.00 |


Example (globals.xml)

<var name="AnimalMaxCount" type="0" value="200"/>
<var name="ZombieMaxCount" type="0" value="1000"/>
<var name="ZoneSpawnDist" type="0" value="300"/>
<var name="InitialSpawn" type="0" value="100"/>
<var name="RestartSpawn" type="0" value="50"/>
<var name="LootDamageMin" type="1" value="0.0"/>
<var name="LootDamageMax" type="1" value="0.0"/>
<var name="RespawnAttempt" type="0" value="2"/>
<var name="RespawnLimit" type="0" value="10"/>
<var name="RespawnTypes" type="0" value="5"/>
<var name="TimeLogin" type="0" value="15"/>
<var name="TimeLogout" type="0" value="15"/>
<var name="TimeHopping" type="0" value="30"/>

Need help tuning your economy? Open a ticket — we've got you.

0 Comments

You need to be logged in to comment

No comments yet. Be the first to comment!