A.S // Gameplay settings

DayZ Console cfggameplay.json Setup

cfggameplay.json is the supported configuration entry point for gameplay settings, Object Spawner files and starting gear presets. Start from the file for the active mission and preserve every field you are not intentionally changing.

Compatibility
PS5 / Xbox / Nitrado
Status
Confirmed; test on your server
Difficulty
Intermediate
Reviewed
06.10.2026
01

Use the active mission file

Copy the current official cfggameplay.json for the same map and server version into the mission only when it is not already present. Do not use a file from another map as a complete replacement.

02

Enable the supported file

The server must have gameplay-file loading enabled. Use the setting exposed by your Nitrado console panel and verify it remains enabled after saving; do not add PC startup scripts.

03

Edit supported keys only

Use parameters present in the current official schema. Common supported arrays include objectSpawnersArr and spawnGearPresetFiles. Unknown keys are not harmless and should not be invented.

04

Validate JSON

JSON must have balanced braces, quoted property names, valid commas and no comments. Preserve the version field from the current file unless the official schema says otherwise.

05

Restart, test and roll back

Perform a full restart, test one function and restore the previous file if loading fails. A successful JSON parse does not confirm classnames, coordinates or gameplay balance.

A.S // Beginner practice

Connect supported JSON files without breaking the main gameplay file

A valid current cfggameplay.json that loads one Object Spawner file and one starting-gear preset.

File or panel
Xbox: dayzxb_missions/dayzOffline.<map>/ · PlayStation: dayzps_missions/dayzOffline.<map>/cfggameplay.json
Outcome
A valid current cfggameplay.json that loads one Object Spawner file and one starting-gear preset.

Step-by-step

  1. Enable the gameplay file in Nitrado, then download the current cfggameplay.json for the active mission.
  2. Do not replace the full file with an old tutorial. Add the property inside the named parent object.
  3. Keep existing array entries, use mission-relative filenames and check commas around the inserted property.
  4. Validate the complete JSON; comments and trailing commas are invalid.
JSON

Starting-gear array property

cfggameplay.json

Confirmation: Supported official keys. The code is an insertion fragment, not a complete replacement file.

Exact placement: Insert this property inside the existing PlayerData object. Add a comma before or after it when neighbouring properties require one.

"spawnGearPresetFiles": ["custom/starter-survivor.json"]

What every variable controls

VariableTypeWhat it changesHow to set it
PlayerDataobjectParent section for player-related gameplay settings.Insert player keys inside this existing object; do not create a second PlayerData block.
spawnGearPresetFilesstring arrayMission-relative starting-gear JSON files.List only files that exist, including subfolder and .json extension.
versionintegerInternal schema version at the root of the file.Never copy an old number; keep the value from the current official file (currently 123 in the checked missions).
JSON

Object Spawner array property

cfggameplay.json

Confirmation: Supported official key. This is an insertion fragment, not a complete replacement file.

Exact placement: Insert this property inside the existing WorldsData object and preserve its temperature and wetness arrays.

"objectSpawnersArr": ["custom/custom-location.json"]

What every variable controls

VariableTypeWhat it changesHow to set it
WorldsDataobjectParent section for world settings.Keep the current map's temperature arrays and other existing fields.
objectSpawnersArrstring arrayMission-relative Object Spawner JSON files loaded at mission start.Add one validated file first. Preserve existing filenames and avoid duplicates.
lightingConfig0 / 1Neighbouring world setting selecting brighter or darker nights.Preserve the active value while adding a file; tune it only as a separate test.
Test

After a full restart

Restart. Verify both the custom objects and a fresh character spawn. If either fails, test one array at a time.

Rollback

Return to the working state

Remove only the new filename or restore the saved cfggameplay.json; leave the gameplay-file toggle enabled when returning to a previously working gameplay file.

FAQ

Questions and answers

Can JSON contain comments?

No. Remove // and block comments before upload.

Does cfggameplay.json replace Object Spawner files?

No. It references separate Object Spawner JSON files through objectSpawnersArr.

Is init.c required?

No. This console workflow uses the supported gameplay JSON mechanism and does not require scripts.

SOURCE CHECK

Official sources

Checked 6 October 2026

  1. Bohemia Interactive: Gameplay Settings ↗