To use DayZ admin commands, join your DayZ Server, open in-game chat, and type #login followed by the server’s admin password. Once you’re logged in, enter commands such as #kick or #logout in the same chat.
How to log in as a DayZ server admin
- Join the server you manage and open the in-game text chat.
- Type
#login, a space, and your admin password, then press Enter. For example, if your admin password wereExampleAdmin47, you would enter#login ExampleAdmin47. - Use the command you need, then enter
#logoutwhen you’re done.
Use the server’s admin password, not the password players use to join. If you edit the server configuration directly, the admin password is the passwordAdmin setting in serverDZ.cfg. If login fails, check that password and make sure you entered the command in DayZ chat with the leading #. Don’t share your admin password.
DayZ admin command list
These are in-game chat commands, not commands for the DayZ Launcher or a BattlEye RCon client. The moderation examples use the player name RangerJoe. Check the exact name of the player you intend to target before running either command.
| Command | What it does |
|---|---|
#logout | Ends your admin session. |
#kick RangerJoe | Disconnects the named player without banning them. |
#exec ban RangerJoe | Bans the named player from the server. |
#restart | Restarts the current mission and interrupts play. |
#shutdown | Stops the server. |
If you want to restart the server process, use the restart control in the web interface. #restart is the chat command for restarting the mission. Let your players know before you restart or shut down a live server.
Can you spawn items with DayZ admin commands on PC?
The built-in admin chat commands don’t include an item spawner. To spawn an item on demand while you’re in the game, use a compatible PC admin mod with an item-spawning feature. After installing the DayZ mod, grant access using that mod’s own admin settings and follow its instructions for opening the item menu. Logging in with #login is separate from setting up permissions in the mod.
If your goal is to make items appear more often as regular loot, adjust the DayZ loot settings instead. Editing types.xml changes the loot economy; it doesn’t spawn an item on demand.