Find the two settings
In cfggameplay.json, GeneralData has:
disableBaseDamage: true stops walls, gates and other base parts taking damagedisableContainerDamage: true stops tents, barrels and crates taking damage
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.
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.
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 onedisableRespawnInUnconsciousness: stops players respawning while unconscious
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
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.
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.