01
passwordAdmin and "#" commands
The serverDZ.cfg file contains a passwordAdmin line, which the official DayZ wiki describes as the password to become a server admin:
passwordAdmin = "a-long-admin-password";
The DayZ wiki goes no further: it publishes no list of in-game admin commands specific to DayZ. For the Arma games from the same publisher, the Bohemia wiki documents commands typed in the chat and prefixed with #, such as #login followed by the password and #logout. Nothing guarantees each one behaves the same way in DayZ: test them on your server before relying on them.
That same Bohemia page recommends administering through BattlEye RCon instead, which cannot be hijacked by an in-game script and uses a separate port, easy to protect with the firewall. That is the subject of the next two sections.
Other serverDZ.cfg lines are used for administration:
enableWhitelist: turns the whitelist on (1) or off (0);
disableBanlist: true disables the server's ban file, ban.txt;
disablePrioritylist: true disables priority.txt, the file of players with priority in the login queue, placed at the server root, with Steam IDs separated by semicolons;
MaxPing: the latency, in milliseconds, above which a player is kicked.
Server installation and these files are covered in the guide creating a DayZ dedicated server.
02
Enable BattlEye RCon
BattlEye RCon is set up in BEServer_x64.cfg, which must sit in the same folder as the BattlEye library: the one given by the -BEpath option (the battleye folder in the guide's setup). On Linux, BattlEye gives the name in lowercase, beserver_x64.cfg. According to BattlEye's documentation, two lines are required:
RConPassword another-long-password
RConPort 2310
RConPassword: the password for RCon tools. Make it long and different from passwordAdmin.
RConPort: the RCon port, which must be different from the game ports. 2310 is only an example: pick a free port outside the server's ones (2302 to 2305 and 27016 in the creation guide).
RConIP: optional, the address RCon listens on. BattlEye reserves it for special cases, such as a machine with several network interfaces.
Restart the server so the file is read again. The BattlEye RCon protocol runs over UDP: open this port to your own IP address only (replace 203.0.113.10):
sudo ufw allow from 203.0.113.10 to any port 2310 proto udp
On Windows, in PowerShell as administrator:
New-NetFirewallRule -DisplayName "DayZ RCon" -Direction Inbound -Protocol UDP -LocalPort 2310 -RemoteAddress 203.0.113.10 -Action Allow
You then need an RCon client program on your computer. The DayZ wiki names BEC and DaRT as examples: these are third-party tools, maintained by neither Bohemia nor BattlEye. Port logic is explained in game server ports.
03
RCon commands: list, kick, ban
Once connected, the RCon client sends BattlEye server commands. Those from BattlEye's official documentation:
players: the player list, with their number, BattlEye ID (GUID) and ping. The number is used by the commands below;
say -1 message: a message to all players; with a player number instead of -1, the message is private;
kick number reason: kicks the player, the reason is optional;
ban number minutes reason: bans the player's GUID; with no duration or 0, the ban is permanent;
addBan GUID-or-IP minutes reason: like ban, for a player who is not connected;
bans: the list of bans, and removeBan number to remove one (the number comes from bans);
loadBans: reloads the bans.txt file in the BattlEye folder, for example after editing it by hand; writeBans rewrites it and removes expired bans;
admins: the connected RCon clients; commands: all available commands.
For example:
players
say -1 Server restart in 10 minutes
kick 3 Language
ban 3 1440 Cheating
bans
The numbers above are examples: use the ones shown by players. BattlEye bans (bans.txt) are separate from the DayZ server's ban.txt file.
04
Scheduled restarts, messages and logs
The DayZ wiki recommends stopping the server with the method designed for it, so as not to damage characters or saved data: a shutdown message in the mission's db/messages.xml file (for example mpmissions/dayzOffline.chernarusplus/db/messages.xml, to be created if it does not exist). For a shutdown after 4 hours:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages>
<message>
<delay>0</delay>
<repeat>0</repeat>
<deadline>240</deadline>
<onConnect>0</onConnect>
<shutdown>1</shutdown>
<text>#name restarts in #tmin minutes.</text>
</message>
</messages>
deadline: the countdown length, in minutes. The message is sent 90, 60, 45, 30, 20, 15, 10, 5, 2 and 1 minute before the end;
shutdown: at 1, the server stops when the countdown reaches zero;
onConnect and delay: a message sent to each player who connects, after the given delay; repeat: a message repeated at that interval, in minutes;
- the text is 160 characters at most, and accepts
#name (server name), #port and #tmin (minutes left).
The server stops, but does not start again on its own: on Linux, set Restart=always in the systemd service described in the guide creating a DayZ dedicated server. In serverDZ.cfg, serverTimePersistent = 1 keeps the in-game time from one restart to the next, and motd[] with motdInterval shows a message of the day in the chat.
Logs. The -adminLog launch option enables the admin log (.ADM file in the profile folder). Four serverDZ.cfg lines add detail: adminLogPlayerHitsOnly (only hits taken by players), adminLogPlacement (traps, tents), adminLogBuildActions (base building) and adminLogPlayerList (list of players and their position every 5 minutes). This log is used to check a complaint before banning.
05
Third-party admin tools
For an in-game menu (teleport, weather, items, vehicles), you need a mod. These are community projects, not Bohemia tools: players must download them, and a game update can break them. Both depend on the Community Framework mod (CF, no. 1559212036 on the Workshop).
- Community Online Tools (COT, no. 1564026768): this is the mod the DayZ wiki uses as its example for installing mods on a Linux server. Its Workshop page says to start the server once, then create a
.json file named after your GUID or your SteamID in the PermissionsFramework/Players folder of the profile folder, with the content it provides. The menu opens with the Y key.
- VPP Admin Tools (no. 1828439124): according to its documentation, admins are declared by their SteamID64 in
VPPAdminTools/Permissions/SuperAdmins/SuperAdmins.txt, in the profile folder; the password is set in credentials.txt, and the line vppDisablePassword = 1; in serverDZ.cfg disables it.
They install like any other mod: SteamCMD, .bikey key in keys, then -mod, with CF first. The method is in installing mods on a DayZ server. Loot, on the other hand, is not set by command but in the types.xml file.
06
On CloudFive
CloudFive has no ready-made DayZ plan: the server is installed on a VPS, and you run it as described in this guide. Two VPS plans fit:
- the Ryzen VPS, from €5.99 per month: an AMD Ryzen 9 9950X with DDR5 memory and NVMe storage, in a Linux container (LXC) with root access;
- the Windows VPS, from €8.50 per month: a KVM virtual machine with Windows Server, licence included, managed through Remote Desktop (see connecting to a Windows VPS).
Each VPS has a dedicated IPv4 address and basic DDoS protection included (see protecting a game server against DDoS). The servers are in France, billed monthly with no commitment, with support in French 7 days a week by tickets and on Discord. To choose the VPS size, see which VPS for a game server.
07
Frequently asked questions
Are there admin commands in DayZ?
There is no documented in-game admin console as in other games. The DayZ wiki only describes passwordAdmin, the password to become an admin; the documented way to kick and ban is BattlEye RCon, and in-game menus come from third-party mods.
How do I enable RCon on a DayZ server?
Write RConPassword and RConPort in BEServer_x64.cfg, in the folder given by -BEpath (beserver_x64.cfg on Linux), then restart the server. The port must differ from the game ports; open it over UDP to your own IP address only and connect with an RCon client.
How do I ban a player on DayZ?
Through BattlEye RCon: players gives the player's number, then ban followed by that number, a duration in minutes (0 for a permanent ban) and a reason. For a disconnected player, addBan accepts their BattlEye GUID or IP address.
How do I schedule a DayZ server restart?
Add a message to the mission's db/messages.xml with deadline (in minutes) and shutdown set to 1: players are warned, then the server stops cleanly. Have the system start it again, for example with Restart=always in the systemd service.
Which in-game admin tool for DayZ?
Community Online Tools and VPP Admin Tools are two third-party Workshop mods, both requiring Community Framework. They install like other mods, and players must download them.