DayZ Server Commands & RCon
How to manage a DayZ server: admin login in game, setting up BattlEye RCon and the most important RCon commands for kicking, banning and server messages.
Quick answer: DayZ has hardly any server commands of its own. In game you log in as admin with #login <admin password>. Kicking, banning and messages to everyone go through BattlEye RCon – with an RCon tool, the server IP, the RCon port and the RCON Password from the Startkonfiguration tab.
Admin login in game
- In the customer area on the Startkonfiguration (startup) tab, set an Admin Password (it is written as
passwordAdminintoserverDZ.cfg) and restart the server. - Open the chat in game and type:
#login YourAdminPassword
- Use
#logoutto log out again.
Never type the admin password into the normal chat without #login in front – everyone would read it.
Setting up BattlEye RCon
DayZ uses BattlEye's remote administration protocol. The settings are in battleye/beserver_x64.cfg:
RConPort 2305
RConPassword YourRConPassword
At NexoraHost the panel writes RConPort and RConPassword into this file on every start from the Startkonfiguration tab. So you only set an RCON Password there. The port is also shown on that tab.
To connect you need an RCon program for BattlEye (e.g. a desktop tool or a web service for DayZ/Arma). Enter the server IP, RCon port and password there.
The most important RCon commands
According to the BattlEye documentation:
players– player list with number, GUID and ping. You need the number for the other commands.say -1 <message>– message to all players; use a player number instead of-1for a private message.kick <number> [reason]– kick a player.ban <number> [minutes] [reason]– ban a player;0or no time = permanent.addBan <GUID or IP> [minutes] [reason]– ban a player who is not online.bans– list of all bans with number.removeBan <ban number>– lift a ban (number frombans).writeBans– rewrite the ban list, removing expired bans.loadBans– reloadbans.txt.admins– show connected RCon admins.commands– show all available commands.
Restarting and saving
DayZ saves the world continuously by itself (persistence). Restart the server with Neustart (restart) in the customer area instead of killing it. For scheduled restarts with a warning, use the Zeitpläne (schedules) tab in the customer area and server messages in db/messages.xml in the mission folder.
Tips
- Use different passwords for RCon and admin login.
- Note player GUIDs from
playersif you want to ban them later withaddBan. - More about
serverDZ.cfgin the server settings.
Related guides
Servers at NexoraHost: Rent a DayZ server · Manage: panel.nexorahost.de (Frankfurt · 1 Tbit/s DDoS · 99.9% uptime)