Game Hosting home

DayZ cfggameplay.json Explained: Gameplay Settings Guide

Learn where DayZ cfggameplay.json belongs, how to enable it, and how to check its current sections before changing gameplay settings.

Difficulty
HardDifficulty Hard
Time to do
20 min
Reading
8 min
Updated
By
Game Hosting team

You will need

  • A DayZ dedicated server for Steam PC
  • Access to the server configuration and active mission files
  • A copy of the active mission file before editing

The DayZ cfggameplay.json file is the mission-level file for gameplay rules such as stamina, base damage, world lighting, map behavior and vehicle settings. If you edit it and nothing changes, the usual first checks are the active mission folder and the enableCfgGameplayFile switch. This guide explains the file’s current shape and a careful way to make one change. It covers the dedicated Steam PC build; console servers and the Microsoft Store / Game Pass PC build use separate ecosystems.

Find the active DayZ cfggameplay.json file#

The gameplay JSON belongs inside the active mission, not beside every server file and not in an inactive map folder. On a typical layout, it is at:

text
mpmissions/<active-mission>/cfggameplay.json

The value inside <active-mission> depends on the selected world. For example, Bohemia’s Central Economy repository has separate dayzOffline.chernarusplus and dayzOffline.sakhal mission templates. A server can keep more than one mission folder, so seeing the file in mpmissions does not prove the server is reading that copy.

Confirm the mission in the server’s active configuration or hosting panel before changing anything. Game Hosting’s DayZ settings show the selected map, and its Files area exposes the mission files under Maps & loot. If your panel uses different labels, find the mission template or map selected for the running server. C01’s DayZ settings by goal gives the broader map of which settings live in which files; this page focuses on the gameplay JSON itself.

If your community also plans to add Workshop mods, check the separate DayZ hosting with mods checklist for account, dependency and file-access questions before choosing a setup.

Enable the file in the server configuration#

DayZ does not use the JSON merely because it exists. Bohemia’s Gameplay Settings reference says to enable the file in the server configuration with this setting:

ini
enableCfgGameplayFile = 1;

The line belongs in the server configuration that the process actually starts with. For Game Hosting’s current DayZ setup, that is serverDZ.cfg; self-hosted setups can use a different configuration path or startup argument. Check the active file rather than editing a second copy that the server never reads.

  1. Identify the active server config

    Check the panel’s selected config or the server startup command, then open that file.
  2. Set the enable switch

    Add or change enableCfgGameplayFile = 1; and save the configuration.
  3. Confirm the mission path

    Open the cfggameplay.json under the mission the server currently runs.
  4. Restart after saving

    Restart the server so it reads the active configuration and mission file at startup.

If the switch is already enabled, keep it in place and check the file path and JSON syntax next. Don’t add a second conflicting copy of the same setting to a different configuration file.

Read the current sections without mixing up their owners#

Bohemia’s current Chernarus example has "version": 123 and seven top-level sections. Other missions can have map-specific fields, so treat the table as a guide to the current Chernarus sample, not a universal list of defaults.

Section in the Chernarus sample What it groups Keep in mind
GeneralData General gameplay switches, including base-damage behavior Exact behavior can change with a game update; check the current official notes.
PlayerData Player behavior; StaminaData is nested here The detailed stamina values belong in the focused stamina guide.
WorldsData World behavior, including lightingConfig and objectSpawnersArr Lighting values and custom object spawners have their own file and compatibility details.
BaseBuildingData Base-building rules Check the current template before editing switches.
UIData Gameplay-related interface options Keep the section structure from the matching mission template.
MapData Map behavior A field present on one map may not apply to another.
VehicleData Vehicle behavior Use the current mission-specific example; don’t paste an old global preset.

This map is for orientation, not a set of recommended values. The official Central Economy repository contains the sample files by mission. Open the folder matching your active map and use its cfggameplay.json as the reference. The Chernarus sample was version 123 when checked on November 4, 2026; that number is not a promise that every mission shares it.

Keep the matching template and change one setting#

Start from the active mission’s own file. Do not download a random config from an old guide and replace the entire JSON: its version, fields or nesting can differ from what the server currently expects. This matters after a DayZ update too. Compare the file you use with the current sample for that mission, then merge only the setting you intend to change while preserving unrelated values.

The setting paths explain where values sit. For example, stamina values are nested below PlayerData.StaminaData, while lightingConfig is inside WorldsData. C10 owns stamina tuning, C08 owns lighting, C11 owns base-building settings, and D12 owns custom object-spawner procedures; those focused guides are planned but not published yet. This reference names the branches so you can identify them without substituting an unverified preset.

Bohemia’s Stable 1.30 Update 3 notes, released November 3, 2026, mention a fix for rebuilt-object damage when disableBaseDamage is true in cfggameplay. That’s a version-specific behavior note, not evidence that the JSON schema changed. Check the release notes when a gameplay option seems to act differently after an update.

Validate JSON syntax before saving#

The file must be valid JSON. Use an editor with JSON syntax highlighting or validation before you upload it. Check for balanced braces, double quotes around property names and text values, commas between neighboring entries, and no trailing comma after the final item in an object or array. Keep booleans as true or false, not quoted strings, when the template uses a Boolean.

Syntax validation only checks that the document parses as JSON. It does not prove that DayZ recognizes a property, that the property is in the correct section, or that the selected mission uses the file you edited. Preserve the template’s capitalization and nesting; WorldsData and WorldData, for example, are not interchangeable names.

Restart and troubleshoot when the change has no effect#

Bohemia’s documentation says the server loads gameplay settings on start. After saving both the enable switch and mission file, restart the server, then check the specific rule in game with a Steam PC client. No in-game result was tested for this reference, so treat that last check as your verification step, not a guaranteed outcome.

If nothing appears to change, check these in order:

  1. Wrong mission copy: verify the selected map and reopen its mpmissions/<active-mission>/cfggameplay.json.
  2. Switch still off or in the wrong config: confirm enableCfgGameplayFile = 1; is in the config used at startup.
  3. No restart after the edit: restart after saving both files; editing while the process runs does not reload the settings by itself.
  4. Invalid JSON syntax: run the file through an editor’s JSON validator and correct the reported syntax before uploading.
  5. Old or mismatched template: compare the file with the current official template for that mission and check the latest Stable notes for changes to the setting.

These checks narrow down the file contract; they do not claim that every unsupported key produces the same log message. If the server reports a startup error, use the exact current log and setting name to diagnose it rather than guessing at a default.

Keep a recoverable copy before the next edit#

Keep the original mission file until the new version has loaded and you have checked the intended rule. If the result is wrong, stop the server and restore only the saved cfggameplay.json and the related configuration line you changed. Do not overwrite the world persistence folder or another map’s mission as a rollback shortcut. A backup slot can preserve a working copy, but this guide has not tested restoring one.

For a Steam PC server, Game Hosting’s DayZ page documents access to mission files, three backup slots and owner-chosen update timing. Those controls fit a file-editing workflow: you can keep a copy of the mission JSON and choose when to apply server updates. They do not guarantee that a particular setting works or that a backup has been restored successfully. Console players and Microsoft Store / Game Pass PC players need a compatible platform’s server; this Steam-hosting offer is not a workaround for that mismatch.

After an update, compare your working file to the latest template for the same mission before making another edit. Keep the backup until you have checked the selected gameplay rule, then make the next change separately so you know which edit caused any difference.

Quick answers

How do I enable cfggameplay.json on my DayZ server?

Put the file in the active mission folder, set enableCfgGameplayFile = 1; in the server configuration, then restart the server so it loads the file.

Why is my DayZ cfggameplay.json not working?

Check that you edited the active mission, enabled the file in the server configuration, kept valid JSON syntax, and restarted after saving.

Which cfggameplay.json should I download?

Use the template for the mission you run from Bohemia Interactive’s Central Economy repository. Map templates differ, so do not copy one map’s file over another.