Get started

Free trial Try a game free for 3 days. No card needed. Start a free trial Start a free trial

Game server hosting

All games

Guides / DayZ / Basics

Set a password on your DayZ server

Put a join password on a DayZ server with Server Password under Passwords. Leave it empty for a public server. The admin password is a different setting.

Updated , checked on DayZ 1.29

Type the password in Server Password under Passwords on the Config Editor page, choose Save, and restart. Players then have to type it to join. Leave the box empty and the server is public.

In the ArthOS panel

  1. Open your server and choose Config Editor, then the Passwords button.
  2. Find the Server Password row. It reads “Password required to join the server. Leave blank to have no password.”
  3. Type the password. To remove it, empty the box.
  4. Choose Save in the bar at the bottom of the page.
  5. Restart the server. The password is written into serverDZ.cfg as password at every start.
The Passwords page of the Config Editor with the Passwords button (1) and the Server Password row (2); the values are hidden
  1. Passwords
  2. Server Password

A server ordered from the Loafhosts store starts with a random 20-character value in Server Password, Admin Password and RCON Password. So a new DayZ server already has a join password. Read all three under Passwords. Players need it, or empty Server Password for a public server.

The Join password row in the Config Editor settings is locked, because the panel writes it at every start from Passwords. Set it under Passwords, not there.

Use letters and numbers. The panel writes the password between double quotes, so do not use a double quote " in it.

What players see

A player who joins a server with a password is asked for it, and a new Loafhosts server has one. See connect to a DayZ server. The restart that applies the password disconnects everyone, so tell your players the new password first.

The admin password is different

Server Password lets players in. Admin Password is the one an admin types in the game chat to get admin rights. Do not give players the admin password. See admin login and commands.

To let only chosen players in, a password is not enough, because anyone who learns it can join. Use a whitelist.

By hand

If you host DayZ yourself, set password in serverDZ.cfg:

password = "letmein2026";

An empty password = ""; means no password. Restart the server. Bohemia documents it as “Password to connect to the server” in its server configuration page.

If it does not work

  • Players can still join without a password. Check you chose Save under Passwords and restarted the server.
  • The password prompt does not accept the password. Check for a space at the start or end of what you typed, and send it again as plain text.
  • I changed it in the file and it went back. On Loafhosts the file is rewritten at each start from the value under Passwords.

Sources: Bohemia wiki: Server Configuration, store.steampowered.com: 221100

DayZ server hostingAll DayZ guides