Step-by-step guide · 7 steps

How to change the DayZ logout timer

The logout timer is how long a character stays in the world after a player quits. It stops people escaping a fight by logging out. Three values in globals.xml control logging out, logging in and hopping between servers.

  • 3 min read
  • Updated
  • PlayStation, Xbox and PC
db/globals.xmlExample
<var name="TimeLogin" type="0" value="15"/><var name="TimeLogout" type="0" value="15"/><var name="TimePenalty" type="0" value="20"/>
Step 1

Find the three timers

In globals.xml in the db folder (on Nitrado: mpmissions, your map's mission folder, then db):

  • TimeLogout: seconds a character stays in the world after quitting
  • TimeLogin: seconds a player waits before spawning in
  • TimePenalty: extra wait for players who hop from another server
Step 2

What players actually see

When a player quits from the menu, a countdown runs while their character stays where it is. If they close the game or pull the plug, the character still stays in the world for the same time, and anyone nearby can still shoot or loot it. If it dies, the player joins as a fresh spawn next time. That's what makes the timer a real answer to combat logging.

On the way in, TimeLogin is the countdown before they appear. TimePenalty adds to it when they've just come from another server, so jumping between servers to loot military bases gets slow and tedious.

Step 3

Pick your numbers

15 seconds is the default logout for many servers. PvP servers sometimes raise it to discourage combat logging; PvE servers often shorten it.

  • Hardcore PvP: a logout of 30 to 60 seconds, with a hop penalty to match
  • Standard community server: keep the defaults of 15 for login and logout
  • PvE and casual: a short logout, as nobody is trying to escape a fight
Step 4

Login queues on busy servers

Full servers can get a rush of players straight after a restart. serverDZ.cfg has loginQueueConcurrentPlayers, how many players load in at the same time, and loginQueueMaxPlayers, how long the queue can get. The defaults suit most servers. Nitrado doesn't show these for every server type, so leave them alone unless players regularly time out while joining after a restart.

Step 5

Keep it reasonable

Very long timers punish honest players as much as cheaters. Someone whose game crashes leaves their character standing in the open for the whole timer. Raise the number in small steps and tell your community in Discord before you do.

Step 6

Upload and restart

Check the file with the XML validator, upload it and restart. globals.xml is read when the server starts, so a change does nothing until then. A typo in globals.xml can stop the server starting, so keep your old copy to hand.

Step 7

Catch combat logging

On the Server and Pro plans, Blxckforge can post a combat logging alert to Discord when a player quits soon after a fight, read from your server's logs. See Discord feeds.

Tools for this

Common questions

How do I stop combat logging in DayZ?

Raise TimeLogout in globals.xml so characters stay in the world for longer after quitting. Blxckforge can also alert staff to likely combat logs.

Does the character stay in the world if a player alt-F4s?

Yes. Closing the game or losing connection leaves the character in the world for the TimeLogout period, the same as quitting from the menu.

What's a good logout time for a PvP server?

30 to 60 seconds is common. It's long enough that logging out mid-fight doesn't save anyone, and short enough that honest players don't mind.

What is TimePenalty?

An extra login wait for players who recently played on another server, to discourage server hopping.

Do I need to restart?

Yes. globals.xml is read when the server starts.

Does this work on PS5 and Xbox?

Yes. globals.xml is part of every DayZ server, including console servers on Nitrado.

Run your DayZ server from one place

Free editors for every config file, plus a live dashboard and Discord feeds when you're ready.