Skip to content

Get 25% OFF your first month on every game! 🎉

In Australia? Our Australian site has the same servers, priced in Australian dollars.
In Australia? Our Australian site has the same servers, priced in Australian dollars.
In New Zealand? Our site for Australia and New Zealand has the same servers.
In New Zealand? Our site for Australia and New Zealand has the same servers.

DayZSettings and admin

DayZ gameplay settings and starting items

Turn on cfggameplay.json on your DayZ server, change base damage and stamina, and set the fresh spawn kit with a gear preset file.

Updated 5 min read

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.

  1. Press Stop and wait for the server to stop.
  2. Open the File Manager and open serverDZ.cfg.
  3. Add enableCfgGameplayFile = 1; on its own line, above the line that starts class Missions.
  4. 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.

KeyWhat it does
GeneralData > disableBaseDamagetrue stops damage to structures built with base building.
GeneralData > disableContainerDamagetrue stops damage to tents and barrels.
GeneralData > disableRespawnDialogtrue hides the window where a player picks a respawn type.
GeneralData > disableRespawnInUnconsciousnesstrue removes the Respawn button from the pause menu while a player is unconscious.
PlayerData > disablePersonalLighttrue removes the faint light around a player at night.
PlayerData > StaminaDataSprint, melee and weight limits for stamina.
WorldsData > lightingConfig0 for bright nights, 1 for dark nights.
WorldsData > environmentMinTemps and environmentMaxTempsTwelve 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.

Warning

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 as Body, Legs, Feet, Back, Vest, shoulderL or shoulderR.
  • itemType: the item's class name, the same name types.xml uses. 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.

Tip

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

Ready to launch your DayZ server?

Your choice of location, NVMe disks and DDoS protection, with the version and mod loader yours to change whenever you like.

See DayZ plans