How to Configure PvP and PvE on Your DayZ Server
You can adjust friendly fire and damage between players via the serverDZ.cfg.
Stop the server
Stop your server via the dashboard.Connect via SFTP
Connect to your server via SFTP.Open serverDZ.cfg
Open the fileserverDZ.cfgin the root directory of your server.Adjust settings
Find and adjust the following values:enableCfgGameplayFile = 1; disableDamageSystem = 0;enableCfgGameplayFile = 1; disableDamageSystem = 0;Setting Description Values disableDamageSystemDamage system (PvP) 0= enabled,1= disabledenableCfgGameplayFileExtended gameplay configuration 0= off,1= onStart 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.