Skip to content

DayZ ​

Description ​

This module changes the game's basic functions and mechanics.

Configuration ​

Default configuration ​

DayZ.json
json
{
    "m_EnableLeaning": 0,
    "m_EnableVehicle3PP": 0,
    "m_DisableBrokenLegs": 0,
    "m_DisableCarDamage": 0,
    "m_DisableMotorbikeDamage": 0,
    "m_DisableBoatDamage": 0,
    "m_DisableCarCrewDamage": 0,
    "m_DisableMotorbikeCrewDamage": 0,
    "m_DisableBoatCrewDamage": 0,
    "m_DisableBuildCollision": 0,
    "m_EnableInventorySwimming": 0,
    "m_EnableInventoryVehicle": 0,
    "m_EnableZoomInSprint": 0,
    "m_DisableDofEffect": 0,
    "m_DisableDropshot": 0,
    "m_DisableLiftWeapon": 0,
    "m_DisablePlayerRoll": 0,
    "m_DisablePlayerProne": 0,
    "m_DisableUnpackPaper": 0,
    "m_DisableWalkRun": 0,
    "m_SetMaxPlayerStat": 0
}

Options ​

All options are of type bool, with a default value of 0. Use 1 to apply the described change and 0 to keep the game's normal behavior for that option. This module does not have a general m_Enable option.

OptionTypeDescription
m_EnableLeaningboolAllows the character to keep leaning sideways while sprinting.
m_EnableVehicle3PPboolAllows third-person camera use in the vehicle's first two seats, at indices 0 and 1, including on first-person servers. This additional permission is removed when leaving the vehicle.

It does not force the player to use 3PP or enable it for every passenger. A value of 0 does not block third-person view already allowed by normal server settings.
m_DisableBrokenLegsboolPrevents the broken-leg modifier from activating. It should not be used as a command to heal an existing fracture.
m_DisableCarDamageboolDisables collision damage to cars and their components.
m_DisableMotorbikeDamageboolDisables collision damage to motorbikes and their components.
m_DisableBoatDamageboolDisables environmental damage processed by the game on boats and items carried in them.
m_DisableCarCrewDamageboolDisables collision damage applied to car occupants.
m_DisableMotorbikeCrewDamageboolDisables collision damage applied to motorbike occupants.
m_DisableBoatCrewDamageboolDisables damage processing when jumping out of a boat. This is not general passenger protection against every damage source.
m_DisableBuildCollisionboolDisables normal collision checks when placing and constructing objects. The placement preview still checks for collisions with garden plots.
m_EnableInventorySwimmingboolUnlocks the inventory while swimming and allows receiving items into the character's hands during swimming.
m_EnableInventoryVehicleboolUnlocks the inventory while the character is in a vehicle and allows receiving items into their hands in that situation.
m_EnableZoomInSprintboolAllows normal view zoom while sprinting, provided the weapon is not raised.
m_DisableDofEffectboolDisables depth-of-field effects, or DOF, applied by weapons and the game's visual effect controls.
m_DisableDropshotboolBlocks firing for 2 seconds when entering the prone stance, reducing dropshot use. The block is rearmed when the character returns to standing; switching only between crouching and prone does not apply it again.

It does not prevent the character from going prone; use m_DisablePlayerProne to block the prone control.
m_DisableLiftWeaponboolDisables automatic weapon lifting when encountering nearby obstacles.
m_DisablePlayerRollboolPrevents the character from rolling sideways.
m_DisablePlayerProneboolLocks the control used to enter the prone stance. This setting acts on the player's control rather than automatically changing characters who are already prone.
m_DisableUnpackPaperboolPrevents paper from spawning when unpacking items.
m_DisableWalkRunboolLocks temporary and toggle controls for switching between walking and running. It does not disable sprinting.
m_SetMaxPlayerStatboolSets water and energy to their maximum when creating a new character on connection to the server. It does not maximize every character attribute or keep these values continuously filled.

Controls ​

The module changes the native controls below according to its configuration. Keys follow the player’s bindings in the game’s control settings.

ControlAction
Prone (UAProne)With m_DisablePlayerProne=1, blocks the prone input; it does not automatically change the character’s current stance.
Temporary walk/run (UAWalkRunTemp) and walk/run toggle (UAWalkRunToggle)With m_DisableWalkRun=1, blocks these inputs during movement updates. With 0, unlocks them. Sprint remains available.
View zoomWith m_EnableZoomInSprint=1, allows normal zoom during sprint while the weapon is not raised.

Released under the MIT License.