DayZ keeps its finer gameplay rules, such as base damage, stamina and the kit a fresh character spawns with, in a file called cfggameplay.json inside your map's mission folder. Your server doesn't read that file until you add one line to serverDZ.cfg. This guide turns it on, shows the keys most servers change and explains how to change the fresh spawn kit.
Checked against DayZ 1.30 and Bohemia's gameplay settings and spawning gear pages, November 2026.
Turn the file on
The serverDZ.cfg we write for a new server has no enableCfgGameplayFile line, so cfggameplay.json sits unused. Per Bohemia, the line enableCfgGameplayFile = 1; tells the server to load it.
- Press Stop and wait for the server to stop.
- Open the File Manager and open
serverDZ.cfg. - Add
enableCfgGameplayFile = 1;on its own line, above the line that startsclass Missions. - Press Save, then Start the server.
The Server Settings tab keeps lines it doesn't manage, so the new line stays there when you save that tab later.
Find the file
Open mpmissions, then the folder for the map you run, for example dayzOffline.chernarusplus. cfggameplay.json is in that folder, next to init.c. Every map has its own copy, so edit the one for the map in your Server Settings tab. If you switch maps, make the same edit there.
The file is JSON: one wrong comma or quote and the whole file is invalid. Download a copy before you edit it.
What the file controls
Bohemia's file groups its keys by what they change. These are the ones most owners touch.
| Key | What it does |
|---|---|
GeneralData > disableBaseDamage | true stops damage to structures built with base building. |
GeneralData > disableContainerDamage | true stops damage to tents and barrels. |
GeneralData > disableRespawnDialog | true hides the window where a player picks a respawn type. |
GeneralData > disableRespawnInUnconsciousness | true removes the Respawn button from the pause menu while a player is unconscious. |
PlayerData > disablePersonalLight | true removes the faint light around a player at night. |
PlayerData > StaminaData | Sprint, melee and weight limits for stamina. |
WorldsData > lightingConfig | 0 for bright nights, 1 for dark nights. |
WorldsData > environmentMinTemps and environmentMaxTemps | Twelve temperatures each, one for each month. |
To change a value, edit it, keep the commas and quotes as they are, save and restart. Bohemia's file loads when the server runs, so a change needs a restart.
Some keys exist in both places. Bohemia says that once the file is on, its lightingConfig overrides the same setting in serverDZ.cfg, which is what the Night lighting row on the Server Settings tab edits. Change it in cfggameplay.json from then on. For personal light and base damage, check in game that the value you wanted is the one in force.
Change the fresh spawn kit
A new character spawns with a short kit. In Bohemia's init.c, which our mission folders hold, it is a BandageDressing, a random chemlight and one of an apple, a pear or a plum. That list lives in script code, in a function called StartingEquipSetup.
Bohemia's newer way is a JSON preset file. Put its name in cfggameplay.json, under PlayerData, in a list called spawnGearPresetFiles. When that list isn't empty, the presets replace StartingEquipSetup for every new character. The cfggameplay.json on our server has no spawnGearPresetFiles line, so you add it:
"spawnGearPresetFiles": ["fresh_spawn.json"],Put the line inside the PlayerData block, with a comma before and after it as the surrounding lines need. The preset file goes in the same mission folder, or in a folder under it, and the name in the list must match its path from the mission folder.
You write the preset on your PC and upload it with Upload, as the File Manager has no "new file" button. Here is a small preset built from Bohemia's own samples. It gives a T-shirt, trousers, shoes, a bandage and an apple.
{
"spawnWeight": 1,
"name": "Fresh spawn",
"attachmentSlotItemSets": [
{ "slotName": "Body", "discreteItemSets": [
{ "itemType": "TShirt_Black", "spawnWeight": 1, "quickBarSlot": -1 } ] },
{ "slotName": "Legs", "discreteItemSets": [
{ "itemType": "CanvasPantsMidi_Grey", "spawnWeight": 1, "quickBarSlot": -1 } ] },
{ "slotName": "Feet", "discreteItemSets": [
{ "itemType": "AthleticShoes_Black", "spawnWeight": 1, "quickBarSlot": -1 } ] }
],
"discreteUnsortedItemSets": [
{ "name": "Basics", "spawnWeight": 1,
"simpleChildrenUseDefaultAttributes": false,
"simpleChildrenTypes": ["BandageDressing", "Apple"] }
]
}Bohemia's page explains each field:
spawnWeight: a higher number makes that preset, or that item, more likely. You can list several preset files, and each new character gets one by weight.slotName: where on the character an item goes, such asBody,Legs,Feet,Back,Vest,shoulderLorshoulderR.itemType: the item's class name, the same nametypes.xmluses. See Loot and the Central Economy on DayZ.simpleChildrenTypes: items placed in cargo the character already has.characterTypes: which survivor models the preset applies to. Leave it out and the model the player picked is kept.
The preset replaces the vanilla kit, so give each preset clothing for the body, legs and feet. On our test server, a new character spawned with this preset, with the bandage and the apple in the T-shirt. Join as a new character to check your own preset.
Make the change while the server is stopped, then start it and join with a brand new character. A character you already had keeps its gear.
If the server doesn't start or the kit is wrong
Download cfggameplay.json and your preset file again and check them with any JSON checker. Then open the .RPT file in the profiles folder from the File Manager and look near the end. How to use your server console covers what the Console shows. Admin tools and logs are in Admin and moderation on DayZ.
More DayZ guides
Related guides

DayZ server settings: name, password, time
Change your DayZ server's name, join password, map, respawn time, voice, third-person view and day and night speed in the panel.
Updated 19 Nov 20264 min read
Admin and moderation on DayZ
Become admin with #login, kick and ban from the Console with BattlEye RCon, add VPPAdminTools and find the admin log in profiles.
Updated 19 Nov 20265 min read
Loot and the Central Economy on DayZ
Find DayZ's loot files, read a types.xml entry, change how much spawns, add mod items and edit the Central Economy safely.
Updated 20 Nov 20265 min read