The cfgGameplay.json file allows you to customize various gameplay mechanics and settings in your DayZ server.
The cfgGameplay.json file is used to customize various gameplay mechanics and settings in your DayZ server. This file allows you to control:
The cfgGameplay.json file uses JSON format with various sections for different gameplay aspects:
{
"PlayerData": {
"StaminaData": {
"sprintStaminaModifierErc": 1.0,
"sprintStaminaModifierCro": 1.0,
"staminaWeightLimitThreshold": 6000.0,
"staminaMax": 100.0,
"staminaKgToStaminaPercentPenalty": 1.75,
"staminaMinCap": 5.0
},
"ShockHandlingData": {
"shockRefillSpeedConscious": 5.0,
"shockRefillSpeedUnconscious": 1.0,
"allowRefillSpeedModifier": true
},
"MovementData": {
"timeToStrafeJog": 0.1,
"rotationSpeedJog": 0.3,
"timeToSprint": 0.45,
"timeToStrafeSprint": 0.3,
"rotationSpeedSprint": 0.15
}
},
"WorldsData": {
"lightingConfig": 1,
"objectSpawnersArr": [
"territory",
"zombie"
],
"environmentMinTemps": [
-3.0,
-2.0,
0.0,
4.0,
9.0,
14.0,
18.0,
17.0,
14.0,
9.0,
4.0,
0.0
],
"environmentMaxTemps": [
3.0,
5.0,
7.0,
14.0,
19.0,
24.0,
26.0,
25.0,
21.0,
16.0,
10.0,
5.0
]
},
"BaseBuildingData": {
"HologramData": {
"disableIsCollidingBBoxCheck": 0,
"disableIsCollidingPlayerCheck": 0,
"disableIsClippingRoofCheck": 0,
"disableIsBaseViableCheck": 0,
"disableIsCollidingGPlotCheck": 0,
"disableIsCollidingAngleCheck": 0,
"disableIsPlacementPermittedCheck": 0,
"disableHeightPlacementCheck": 0,
"disableIsUnderwaterCheck": 0,
"disableIsInTerrainCheck": 0
},
"ConstructionData": {
"disablePerformRoofCheck": 0,
"disableIsCollidingCheck": 0,
"disableDistanceCheck": 0
}
}
}
Controls player stamina mechanics, including maximum stamina, regeneration rates, and weight penalties.
Controls how players recover from shock (unconsciousness).
Controls player movement mechanics, including rotation speeds and transition times between movement states.
Controls the lighting configuration for the world.
Defines which object spawners are active in the world.
Defines minimum and maximum temperatures for each month of the year.
The BaseBuildingData section controls how players can build bases and structures:
Setting any of these values to 1 will disable the corresponding check, making base building easier but potentially allowing exploits. Use with caution.
Here are some common customizations server owners make to the cfgGameplay.json file:
When configuring your cfgGameplay.json file, consider the following best practices:
For more information about gameplay configuration, check the serverDZ.cfg documentation or join our Discord community for assistance.