Skip to content

How to Configure PvP and PvE on Your DayZ Server

You can adjust friendly fire and damage between players via the serverDZ.cfg.

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open serverDZ.cfg
    Open the file serverDZ.cfg in the root directory of your server.

  4. Adjust settings
    Find and adjust the following values:

    enableCfgGameplayFile = 1;
    disableDamageSystem = 0;
    enableCfgGameplayFile = 1;
    disableDamageSystem = 0;
    SettingDescriptionValues
    disableDamageSystemDamage system (PvP)0 = enabled, 1 = disabled
    enableCfgGameplayFileExtended gameplay configuration0 = off, 1 = on
  5. Start the server
    Save the file and start your server.

Tip

For a pure PvE server, set disableDamageSystem = 1. Players will then not be able to damage each other.

Note

Extended gameplay settings such as mechanics, movement and more can be configured in the cfggameplay.json once enableCfgGameplayFile = 1 is set.