Find the mission folder
In Nitrado's file browser, open mpmissions. On console servers it sits inside a dayzps (PlayStation) or dayzxb (Xbox) folder. The mission folder is named after the map:
- Chernarus:
dayzOffline.chernarusplus - Livonia:
dayzOffline.enoch - Sakhal:
dayzOffline.sakhal
Files in the mission folder
Next to the db folder:
Always keep a backup
Download any file before you edit it, and check it with the XML validator before uploading. One broken tag can stop the server starting.
Edit safely
A few habits save a lot of pain:
- Download a copy of a file before you change it, and keep it until the server has started cleanly
- Change one file at a time, so if something breaks you know where to look
- Check every file before uploading. XML needs every tag closed, and JSON needs every comma in place
- Restart after uploading. Most files are only read when the server starts
If the server won't start
Nearly always, the last file you edited has a mistake in it. Put the backup back, restart and check the edited file in the validator. The server won't start after an XML edit guide walks through finding it.
Settings that aren't in the mission folder
A few things live in Nitrado's settings page rather than a file: the server name, password, slots, first or third person, the crosshair and enableCfgGameplayFile. On PC they're in serverDZ.cfg. See Nitrado server settings explained.
Which file to edit for common jobs
A quick map from what you want to change to where it lives:
- More or less of an item:
db/types.xml, see types.xml explained - Cars, crashes and animals:
db/events.xml - Guns with scopes and full backpacks:
cfgspawnabletypes.xml - Stamina, building and map markers:
cfggameplay.json - Restart warnings and welcome messages:
db/messages.xml - Gas zones:
cfgEffectArea.json