Where it is and how it's written
globals.xml is in your mission's db folder, next to types.xml and events.xml. Each setting is one line: a var with a name, a type and a value. Type 0 is a whole number and type 1 is a decimal. Times are in seconds unless stated otherwise.
Infected and animals
These set how alive the map feels. More infected is harder and busier, but each one costs server performance.
- ZombieMaxCount: the most infected alive at once across the map. Vanilla is 1000.
- AnimalMaxCount: the most animals alive at once. Vanilla is 200.
- ZoneSpawnDist: how close a player must be before infected in an area spawn. Vanilla is 300 metres.
Loot condition and placement
These shape loot without touching types.xml.
- LootDamageMin and LootDamageMax: the best and worst condition loot spawns in, from 0 (pristine) to 1 (ruined). Vanilla is 0 to 0.82.
- LootProxyPlacement: 1 puts loot on shelves and tables, 0 on the floor only.
- LootSpawnAvoidance: loot won't respawn within this many metres of a player. Vanilla is 100.
- FoodDecay: 0 stops food rotting.
How long things stay
The cleanup values decide how long things lie in the world once they're dropped, dead or ruined. CleanupLifetimeDeadPlayer is a body and its gear (3600 seconds, one hour, in vanilla). CleanupLifetimeDeadInfected (330) and CleanupLifetimeDeadAnimal (1200) cover infected and carcasses, CleanupLifetimeRuined (330) covers ruined items, and CleanupLifetimeDefault (45) covers anything else without its own value.
CleanupAvoidance stops cleanup within this many metres of a player, so items don't vanish in front of someone, and CleanupLifetimeLimit sets how many items are tidied at once.
Logging in and out
TimeLogout is how long a player stays in the world after pressing log out (vanilla 15 seconds). Longer stops people escaping fights by logging off. TimeLogin is the wait before appearing when joining. TimeHopping and TimePenalty punish server hopping: a player who joins within TimeHopping seconds of leaving another server waits TimePenalty seconds longer. See logout timer settings.
Territory flags and base decay
FlagRefreshFrequency is how often a territory flag needs raising to keep the base around it from decaying. Vanilla is 432000 seconds, five days. FlagRefreshMaxDuration is the longest a fully raised flag protects a base, vanilla 3456000 seconds, 40 days.
Keep the maximum longer than the refresh time, or bases decay even when players raise their flags. Raise both for a casual server where people take breaks.
Advanced economy values
The rest tune the economy's internals: InitialSpawn and SpawnInitial for the first fill of the map, RestartSpawn for respawning loot on restart, RespawnAttempt, RespawnLimit and RespawnTypes for how much respawns per pass, the idle mode values, and WorldWetTempUpdate for item wetness and temperature. Most servers never touch these. If you do, change one at a time and watch server performance.
Sensible values by server style
Starting points that suit common server types. Change a couple, play for a few days, then adjust.
- Casual PvE: fewer infected (around 700), loot condition up to 0.6, bodies for two hours, flags refreshed every 10 days
- PvP: bodies for 30 minutes, a 30 second logout timer, and longer server hop penalties
- Hardcore: more infected (1,500 or so), loot that spawns worn and damaged, a 30 second logout timer
- Busy 60 player server: keep infected and animal counts at vanilla or lower to protect performance
Change it safely
Download the original first, keep each line's type as it is, and restart after uploading. A value outside what DayZ expects is ignored or causes odd behaviour rather than a clear error, so sense-check numbers before you save.