DayZ: Becoming admin – in-game commands and RCON tools

Log in with the admin password in chat, kick and ban players – or manage comfortably with an RCON program.

2 minute read Updated 28.10.2026

For in-game administration you need the admin password (ADMIN_PASSWORD). For programs that control the server from outside, there's also the RCON password (RCON_PASSWORD). The portal generated both during setup and showed them once – you can change them any time in the Startup variables tab (takes effect after a restart).

Logging in as admin in the game

Open the chat in the game and enter:

#login YourAdminPassword

Then these commands are available:

CommandEffect
#kick PlayerNameKick a player from the server
#exec ban PlayerNameBan a player permanently
#shutdownShut down the server
#logoutEnd the admin login

Put player names with spaces in quotation marks.

Managing via RCON

With an RCON program you see the player list, message everyone, kick and ban – without being in the game. Well-known programs are BattleMetrics (in the browser), DaRT or BEC.

You need:

  • IP – the address at the top of the server page (without port)
  • RCON port – in the Startup variables tab at RCON_PORT or in the Ports tab
  • RCON password – RCON_PASSWORD from the startup variables

Good to know

  • Whitelist: If only certain players should join, set enableWhitelist = 1; in serverDZ.cfg and add the players to whitelist.txt (one Steam ID per line).
  • More comfortable with mods: Admin tools like Community Online Tools or VPPAdminTools (teleport, spawn items, spectate players) are installed via the Mods tab – how it works.
  • Forgot the password? Just set a new one in the Startup variables tab and restart the server.
Was this helpful?