NEW 📢 Save up to 30% on your first month, limited time offer!

How to change your DayZ server name, password and slots

DayZUpdated Sep 24, 20263 min read

DayZ server settings live in serverDZ.cfg in the root of your server files. Every line ends with a semicolon.


1. Open the file

  1. Stop the server in the Game Panel.
  2. Open the Files tab and click serverDZ.cfg.

2. The settings you will change

SettingWhat it does
hostnameThe name in the launcher server list.
passwordPassword to join. Empty means open.
passwordAdminServer admin password. Keep it different from the join password.
maxPlayersPlayer slots.
verifySignatures2 enforces signed mods. Leave it at 2.
forceSameBuild1 stops clients on a different game build joining.
disableVoN0 keeps in game voice on.
motd[]Lines of text shown to players as they join.
timeAccelerationHow fast the in game day passes.
instanceIdIdentifies the storage folder for this world. Changing it starts a fresh world.

Text values are quoted, numbers are not:

hostname = "Chernarus Nights";
maxPlayers = 40;


3. Choosing the map

The map is the mission, set in the class Missions block at the end of the file:

class Missions
{
  class DayZ
  {
    template="dayzOffline.chernarusplus";
  };
};

The template name must match a folder in mpmissions. Changing map means changing this value and having the matching mission folder present.


4. Save and restart

  1. Save the file.
  2. Start the server and check the console for the hostname and mission.

5. If the server will not start

  • A missing semicolon at the end of a line stops the whole file being read.
  • Unmatched braces in the class Missions block do the same.
  • Read the first lines of the console after a start. The parser names the line it failed on.

Keep a copy of a working serverDZ.cfg before a large edit.

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS