Step-by-step guide · 7 steps

How to turn off base damage in DayZ

Base damage decides whether walls, gates and containers can be destroyed. PvE servers often turn it off completely, while many PvP servers only allow raiding at weekends. Both are done with two settings in cfggameplay.json.

  • 3 min read
  • Updated
  • PlayStation, Xbox and PC
cfggameplay.jsonExample
"GeneralData": {    "disableBaseDamage": true,    "disableContainerDamage": true}
Step 1

Find the two settings

In cfggameplay.json, GeneralData has:

  • disableBaseDamage: true stops walls, gates and other base parts taking damage
  • disableContainerDamage: true stops tents, barrels and crates taking damage
Step 2

Turn them on and restart

Set both to true for raid-proof bases. Make sure enableCfgGameplayFile is on in your Nitrado settings, then upload and restart.

Step 3

Allow raids only at set times

If you want raiding at weekends only, the settings have to change at the start and end of each raid window. Doing that by hand means being online at the right moment, every week.

On the Server and Pro plans, Blxckforge's raid windows switch base damage on and off for the times you choose, restart the server so the change applies, and warn players in Discord first. See how to set raid times.

Step 4

What else lives in GeneralData

The same section has two more switches PvE servers often change at the same time:

  • disableRespawnDialog: skips the screen that asks whether to respawn with the same look or a random one
  • disableRespawnInUnconsciousness: stops players respawning while unconscious
Step 5

PvE, PvP or somewhere in between

How servers usually set it:

  • PvE: both switches true all the time, with the rules saying no stealing. See how to make a PvE server
  • Full PvP: both false, so bases can be raided with tools and explosives at any time
  • Weekend raids: true during the week and false at weekends, switched on a schedule
  • Bases safe, loot fair game: walls protected, containers not, so a raid means getting in rather than breaking in
Step 6

Check the file before you restart

cfggameplay.json is strict JSON. One missing comma and the server ignores the whole file, and every other setting in it goes back to the defaults. Check it with the JSON validator before uploading. After the restart, test with a hatchet on a wall that doesn't belong to anyone. If it takes damage, the file isn't being read.

Step 7

Tell players before you change it

Changing base damage affects everyone who has built. Announce it a few days ahead so players can prepare, and say whether it's a trial or permanent. If you're turning damage on after a PvE spell, give people time to strengthen their bases first.

Tools for this

Common questions

How do I make bases unraidable in DayZ?

Set disableBaseDamage and disableContainerDamage to true in cfggameplay.json, make sure enableCfgGameplayFile is on and restart.

Can I allow raiding only at weekends?

Yes, by switching the settings at the start and end of the window. Blxckforge's raid windows do this for you on paid plans.

Does this stop lock picking?

No. It stops damage. Players can still open things they have the code or key for.

Does turning off base damage stop base building?

No. Players can still build and dismantle their own bases. It only stops walls, gates and containers taking damage.

Why can players still damage bases after I changed it?

Usually enableCfgGameplayFile is off, the JSON has a mistake, or the server hasn't restarted since the upload.

Does it work on PS5 and Xbox?

Yes. cfggameplay.json works on every Nitrado DayZ server, including PlayStation and Xbox.

Can I protect tents but allow base raids?

Yes. Base damage and container damage are separate, so you can allow walls and gates to be raided while keeping tents and barrels safe, or the other way round.

Run your DayZ server from one place

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