# DayZ cfggameplay.json Reference (Stamina, Base Damage, Map, Temps) (/docs/dayz/cfggameplay)



`cfggameplay.json` is a vanilla, no-mod way to change core gameplay rules on your DayZ server — stamina, base raiding, the in-game map, respawn behaviour, and world temperature. It lives in your mission root and is loaded automatically when present.

File Location [#file-location]

In your active mission folder (use the map you actually run):

```
mpmissions/dayzOffline.chernarusplus/cfggameplay.json
```

The file is JSON — one bad comma or bracket stops it loading, so validate before saving.

GeneralData — Base Raiding & Respawn [#generaldata--base-raiding--respawn]

| Setting                           | Default | Description                                                                                |
| --------------------------------- | ------- | ------------------------------------------------------------------------------------------ |
| `disableBaseDamage`               | `false` | `true` = built structures (walls/gates/watchtowers) can't be damaged — a "no-raid" server. |
| `disableContainerDamage`          | `false` | `true` = tents/barrels/crates can't be destroyed.                                          |
| `disableRespawnDialog`            | `false` | Skip the respawn menu.                                                                     |
| `disableRespawnInUnconsciousness` | `false` | Prevent respawning while unconscious.                                                      |

> A popular PvE/build setup is `disableBaseDamage: true` + `disableContainerDamage: true` — bases and loot are safe from raiders.

PlayerData — Stamina & Movement [#playerdata--stamina--movement]

The `StaminaData` block controls how far players can sprint before gassing out:

| Setting                            | Default  | Description                                                               |
| ---------------------------------- | -------- | ------------------------------------------------------------------------- |
| `staminaMax`                       | `100.0`  | Total stamina pool. Raise for longer sprints.                             |
| `staminaWeightLimitThreshold`      | `6000.0` | Weight (g) before load starts eating into stamina.                        |
| `staminaKgToStaminaPercentPenalty` | `1.75`   | How harshly weight reduces stamina. Lower = friendlier to heavy loadouts. |
| `sprintStaminaModifierErc` / `Cro` | `1.0`    | Sprint drain while upright / crouched. Lower = drains slower.             |

There are also `ShockHandlingData`, `MovementData` (sprint/strafe timings), `DrowningData`, and `disablePersonalLight` toggles in the same block. To effectively give players **infinite stamina**, set the sprint modifiers very low and `staminaMax` high.

WorldsData — Temperature & Lighting [#worldsdata--temperature--lighting]

| Setting                                       | Description                                                                                                                                                                    |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `environmentMinTemps` / `environmentMaxTemps` | 12-value arrays (one per month) setting the min/max ambient temperature. Raise them to make a **warmer, more forgiving** server; lower for a harsher cold-survival experience. |
| `wetnessWeightModifiers`                      | How much rain/water affects players.                                                                                                                                           |
| `lightingConfig`                              | `0` = default day/night lighting.                                                                                                                                              |

MapData & UIData — The In-Game Map [#mapdata--uidata--the-in-game-map]

| Setting                 | Default | Description                                                                              |
| ----------------------- | ------- | ---------------------------------------------------------------------------------------- |
| `displayPlayerPosition` | `false` | `true` = show a "you are here" marker on the in-game map (great for casual/PvE servers). |
| `displayNavInfo`        | `true`  | Show navigation markers.                                                                 |
| `ignoreMapOwnership`    | `false` | `true` = players can open the map without carrying a physical map item.                  |
| `use3DMap` (UIData)     | `false` | Toggle the 3D map view.                                                                  |

> Setting `displayPlayerPosition: true` and `ignoreMapOwnership: true` together gives every player a GPS-like map — one of the most requested quality-of-life changes for new-player-friendly servers.

VehicleData [#vehicledata]

| Setting               | Default | Description                                |
| --------------------- | ------- | ------------------------------------------ |
| `boatDecayMultiplier` | `1`     | Boat decay speed. `0` disables boat decay. |

Editing Workflow [#editing-workflow]

1. **Stop the server** from the Console.
2. Edit `cfggameplay.json` in the File Manager.
3. **Validate the JSON** (any online JSON validator) — a syntax error means the file is ignored and your changes silently do nothing.
4. Start the server.

Related Guides [#related-guides]

* [Central Economy & Loot (types.xml)](/docs/dayz/central-economy)
* [Server Configuration (serverDZ.cfg)](/docs/dayz/server-config)
* [Persistence & Time](/docs/dayz/persistence-settings)
