Master core gameplay mechanics including player stamina, movement, shock recovery, environmental conditions, and base building rules through this powerful configuration file.
The cfgGameplay.json file defines fundamental gameplay mechanics. It controls player stamina and movement, shock and unconsciousness recovery, environmental temperatures, and base building placement rules.
The file uses JSON format with clearly defined sections for different gameplay systems.
{
"PlayerData": {
"StaminaData": {
"staminaMax": 100.0,
"staminaMinCap": 5.0,
"staminaKgToStaminaPercentPenalty": 1.75
},
"ShockHandlingData": {
"shockRefillSpeedConscious": 5.0,
"shockRefillSpeedUnconscious": 1.0
}
},
"WorldsData": {
"lightingConfig": 1,
"environmentMinTemps": [-3, -2, 0, 4, 9, 14, 18, 17, 14, 9, 4, 0],
"environmentMaxTemps": [3, 5, 7, 14, 19, 24, 26, 25, 21, 16, 10, 5]
},
"BaseBuildingData": {
"HologramData": {
"disableIsCollidingBBoxCheck": 0,
"disableHeightPlacementCheck": 0
}
}
}
Defines stamina system parameters including maximum capacity, regeneration rates, weight-based penalties, and minimum thresholds affecting player mobility.
Manages shock recovery mechanics, determining how quickly players regain consciousness with separate rates for conscious and unconscious states.
Configures player movement dynamics including rotation speeds, transition timing between movement states, and strafing parameters.
Controls nighttime lighting intensity. 0 = bright lighting, 1 = darker atmospheric lighting. Affects ambient light, shadows, and overall visual atmosphere.
Determines which object spawner systems are enabled, such as territorial markers and infected spawning mechanisms.
Sets temperature ranges for each month (12 values). Controls seasonal weather affecting survival mechanics like hypothermia and overheating.
Maximum stamina capacity. Default: 100.0. Avoid setting to 0 to prevent issues. Higher values allow longer sprinting.
Minimum stamina threshold players cannot go below. Default: 5.0. Prevents complete stamina depletion.
Weight threshold exempt from penalties. Default: 6000.0 (6kg). Weight above this reduces stamina capacity.
Multiplier for weight-based stamina reduction. Default: 1.75. Set to 0 to disable weight penalties entirely.
Stamina consumption rate when sprinting upright. Default: 1.0. Lower values reduce stamina drain.
Stamina consumption rate when sprinting crouched. Default: 1.0. Typically higher than standing sprint.
The BaseBuildingData section controls construction mechanics and placement validation. Setting any check to 1 disables that validation, making building more permissive but potentially allowing exploits.
Disables bounding box collision detection. Allows placing objects inside other objects.
Disables player collision check. Allows placing objects where players are standing.
Disables height restrictions. Allows building at any elevation without limits.
Disables terrain clipping check. Allows placing objects partially inside terrain.
Disables underwater placement check. Allows building in water and underwater.
Disables angle collision check. Allows building on steep slopes and angled surfaces.
For PvP-focused servers with extended stamina:
staminaMax: 10000staminaKgToStaminaPercentPenalty: 0staminaMinCap: 100Reduce downtime from unconsciousness:
shockRefillSpeedUnconscious: 10.0shockRefillSpeedConscious: 15.0Relaxed building restrictions:
disableIsCollidingBBoxCheck: 1disableHeightPlacementCheck: 1disableIsInTerrainCheck: 1Lower temperatures for survival challenge:
environmentMinTemps: [-10, -8, -5, ...]environmentMaxTemps: [-2, 0, 3, ...]
The temperature arrays contain 12 values representing each month (January through December). Adjust both min and max arrays together to maintain realistic temperature ranges. For PvP servers, consider disabling personal light (disablePersonalLight: true) for darker nights.