Stamina & Gameplay Configuration
Modern DayZ servers use cfggameplay.json to tweak stamina, weight limits, and spawning logic without needing complex mods.
Enabling cfggameplay.json
First, ensure your server.cfg has this line:
enableCfgGameplayFile = 1;
The file itself (cfggameplay.json) should be in your mission folder (e.g., mpmissions/dayzOffline.chernarusplus/).
Unlimited Stamina (No Mods)
Edit the StaminaData section in the JSON file:
"StaminaData": {
"sprintStaminaModifierErc": 0.0, // No drain when sprinting upright
"sprintStaminaModifierCro": 0.0, // No drain when crouching
"staminaMax": 100.0,
"staminaKgToStaminaPercentPenalty": 0.0, // Disable weight penalty
"staminaMinCap": 5.0
}
Weight Limits
You can also adjust how much players can carry before getting tired:
- staminaWeightLimitThreshold: 6000.0 (6kg). Increase this to allow more gear before stamina penalty kicks in.
- staminaMaxStaminaPenalty: Caps the maximum penalty if you want some realism but less punishment.
Metabolism
Modifying hunger and thirst rates directly still requires mods (like Server_Information_Panel or custom init.c scripts) or tweaking globals.xml, as cfggameplay.json does not yet fully expose metabolic drain rates.