DayZ admin commands and RCON setup
Use BattlEye RCON to inspect connected players, broadcast messages and moderate your DayZ server. Configure its password and UDP port in the BattlEye file loaded by the running instance, then check access with a compatible client. For a Workshop admin menu, follow that mod’s installation and permission procedure.
Choose the administration channel
Section titled “Choose the administration channel”| Task | Use |
|---|---|
| Moderate players through a remote connection | Configure BattlEye RCON using the steps below. |
| Control the game process | Use your supervisor or VXPanel Console power controls to start, stop or restart. |
| Open a menu, teleport or spawn an object | Install VPP, COT or a mod that documents the required feature. |
| Control who can join | Configure a join password or whitelist. |
Keep the native game setting passwordAdmin, BattlEye’s RConPassword, join controls and mod administrator files separate. They control different kinds of access. Check command support in DayZ before using a table copied from Arma.
Log in as an admin in game
Section titled “Log in as an admin in game”DayZ’s native admin login uses passwordAdmin after you’ve joined the server. The server browser’s password prompt is for the join password.
- Back up the configuration selected by the server’s
-configlaunch argument. Stop the instance before editing its existing admin-password assignment:
passwordAdmin = "REPLACE_WITH_A_UNIQUE_ADMIN_PASSWORD";- Replace the placeholder with a private admin password, save the file and start the server. Keep the quotes and semicolon. Bohemia’s configuration reference identifies this field as the server-administration password.
- Join your instance, supplying the separate join password if it requires one. Once connected, open text chat with your configured chat key. The documented default is Enter. Submit:
#login REPLACE_WITH_YOUR_ADMIN_PASSWORDReplace that placeholder with the value you set in passwordAdmin, without the configuration’s quotes or semicolon. Read the server’s reply. If login is rejected or you receive no clear confirmation, check the instance, loaded configuration and saved password before proceeding. Keep the password out of screenshots and ordinary chat messages.
This login sequence comes from Bohemia’s DayZ support reply of 17 September 2020. It has not been retested in the current game client. Native admin login does not configure VPP or COT permissions; follow the relevant mod guide for its menu. Use the documented RCON steps below for moderation. Native #logout, chat-ban and server-control commands remain unverified in this guide.
Find the active BattlEye configuration
Section titled “Find the active BattlEye configuration”Save your launch settings and configuration, and record the game, query and RCON endpoints. If the server is managed, use the RCON endpoint assigned to your service and its supported password control. Choosing an arbitrary port can conflict with another instance.
Locate -BEpath in the launch arguments or current startup log and confirm which BattlEye directory the instance uses. Save a copy of its configuration before editing it. The path override is described in the DayZ server configuration reference; a directory named battleye elsewhere may belong to another instance.
On Windows x64, BattlEye documents BEServer_x64.cfg in its working directory; Linux uses lowercase filenames. CFTools’ DayZ troubleshooting guide also describes a possible _active_{code} suffix. Confirm the installed server’s directory and filename before editing. These references do not establish which file takes precedence if a crash leaves multiple copies, so keep those copies and resolve the loaded file before changing the password.
Set the password and port
Section titled “Set the password and port”Use the supported stop control and wait until the game process exits. In the saved working copy, keep one assignment for each field:
RConPassword REPLACE_WITH_A_UNIQUE_SECRETRConPort REPLACE_WITH_ASSIGNED_UDP_PORTReplace both placeholders before uploading. Enter a numeric RCON port allocated to this instance, with no conflict with its game ports. Set a strong secret and exclude it from screenshots, shared launch examples and support logs. Use your supported firewall controls to allow inbound UDP from the required management addresses.
Upload the checked file, start the instance and read the new startup output. Test RCON access in the next step even if players can join the game. BEC supplies optional third-party administration and scheduling; you can configure BattlEye RCON without installing it.
Choose an external RCON client
Section titled “Choose an external RCON client”For Windows, use the BE RCon client linked from BattlEye’s download page, which lists version 0.94 as of 8 October 2026. CFTools’ DayZ troubleshooting guide also uses this client to check connectivity from another device. Download it from the publisher and enter your instance’s connection details in the client.
After connecting, run version to request the BattlEye server version. Keep that result with the endpoint you tested, then use the checks below to confirm command support and identify the instance. An empty players result is expected on an empty server; arrange for a tester to join before checking a broadcast.
Prove the connection with a harmless command
Section titled “Prove the connection with a harmless command”Enter the server address, assigned RCON UDP port and RCON password in a compatible client. Run commands to see the available commands, then players to check who is connected. Check that the listed players are on your instance before sending a command that changes access.
VXPanel exposes a Console RCON field and Send control where the service policy permits it. On your private test server, send this broadcast:
say -1 RCON test: this is an announcement only.Have a connected tester check the text in chat. Save the build, endpoint and result in your test record, excluding the password. Arrange the restart through scheduled maintenance or native server messages; a chat announcement itself leaves the process running.
Check connected RCON clients
Section titled “Check connected RCON clients”Run admins in the RCON console to list connected RCON clients. Compare the result with the sessions your staff and management tools are using. This is a connection check; a shared RCON password does not identify an individual staff member.
BattlEye documents the command but does not specify its output fields. If your client displays remote addresses, compare them with the expected management endpoints and keep them out of public screenshots. The address format and client display have not been verified here. An unfamiliar connection needs investigation before you attribute it to a person.
Identify players before moderation
Section titled “Identify players before moderation”Check the argument order against BattlEye’s command reference:
| Command | Purpose |
|---|---|
players |
Inspect session numbers and GUIDs. |
admins |
Check which RCON clients are connected. This does not list a mod’s staff permissions. |
say [player #] [message] |
Message one connected player; use -1 for everyone. |
kick [player #] [reason] |
Disconnect the selected session. |
ban [player #] [minutes] [reason] |
Restrict access for that player; a duration of 0 is permanent. |
addBan [GUID or IP address] [minutes] [reason] |
Ban an identity even after the player has left. |
bans |
Obtain the ban list and entry numbers. |
removeBan [ban #] |
Delete the matching ban entry. |
writeBans |
Save the active ban list to bans.txt. |
loadBans |
Reload bans.txt from the active BattlEye directory. |
Replace the bracketed arguments with values from the current list. Run players again before acting because session numbers can change after reconnects. Match the player to the incident evidence and retain the reason. Practice with a consenting test account and a short ban duration, then check ban removal and the account’s ability to rejoin.
Label stored identities by system: BattlEye GUID, DayZ identity or Steam64 ID. Use the identifier required by each mod permission or whitelist format instead of substituting one for another. Include the active ban data in your backup.
For a player who has left, use addBan with the BattlEye GUID recorded for that player. Confirm the identifier against your saved connection or incident record. An IP ban can affect other people sharing that address. Set the duration explicitly, inspect bans, then follow the save steps below.
DayZ’s native ban.txt and BattlEye’s bans.txt are separate lists. The commands below manage the BattlEye file. If a player remains blocked after you remove a BattlEye entry, check the native list and any mod or provider ban controls as well. Follow each list’s own identifier format.
Back up bans.txt before changing the saved list. After a ban or removal, check bans and use writeBans when you intend to save that active list. If you edit the file instead, loadBans reloads it; check bans again afterwards. Keep other admin tools from rewriting the file during this check.
BattlEye loads bans.txt when the server starts. On the private test instance, restart before the temporary ban expires and check that the account is still blocked. Then remove the ban, save the intended list, restart and check that the account can rejoin. Verify both results before using this sequence for live moderation. Keep the test duration explicit: 0 means permanent.
Ban or unban through the native ban.txt
Section titled “Ban or unban through the native ban.txt”DayZ’s native list is ban.txt in the server root. It uses a 44-character DayZ player UID, one per line. Copy the UID from the player’s entry in the admin log, preserving its case and punctuation. A Steam64 ID or the 32-character BattlEye GUID belongs to a different format. Bohemia’s server-file documentation distinguishes the two ban lists.
- Save a copy of the current
ban.txt. Check the configuration selected by-config:disableBanlist = false;keeps this list enabled;truedisables it. If you need to change that setting, apply it through your normal configuration and restart procedure. See the configuration reference. - To add a ban, match the UID to the incident record, then put it on its own line. Keep existing entries. You can add a
//comment after the UID to identify the reason without changing the ID. - To unban someone, remove the line containing that exact UID and check for duplicate entries. Keep other players’ bans intact. Disabling the whole list would lift those bans too.
- Save the file and re-open it to check your edit. If another admin tool manages the list, make the change there so it does not overwrite your work.
The file instructions retained with DayZ server 1.29.0.163709 say additions and removals take effect while the server runs, and that adding a connected player kicks them. Check the instructions shipped with your version before relying on live edits. On a private instance, use a consenting account to check rejection after adding its UID, rejoining after removal, and the intended result after the next restart. If removal does not restore access, check BattlEye’s bans.txt and any mod or provider ban controls.
If you edited the wrong entry, restore it from your saved copy without overwriting other admins’ later changes. This procedure covers file edits; DayZ’s chat-ban commands and where they write bans remain unverified here.
Diagnose a failed connection
Section titled “Diagnose a failed connection”| Result | Check next |
|---|---|
| Timeout | Confirm the loaded directory, startup result, RCON port and UDP firewall policy. Testing a TCP connection does not test this UDP service. |
| Authentication rejected | Compare the client profile with the current RCON secret. Neither a join password nor passwordAdmin authenticates this connection. |
| Read-only command works, announcement fails | Read the reply, inspect the command and panel policy, and ask a player to check chat. |
| Mod menu remains unavailable | Check the mod’s permissions and load order through its own procedure. |
For rollback, stop the instance and restore the saved configuration and launch settings. Revoke temporary management access; replace any secret exposed during troubleshooting.
When RCON connects but kicks and bans fail
Section titled “When RCON connects but kicks and bans fail”If players works but a moderation command is rejected, check RestrictRCon in the loaded BattlEye configuration and any provider restrictions. Bohemia’s DayZ server-file documentation lists this setting for kick, ban and connection restrictions. CFTools’ setup instructions require 0 for its remote kicks to work.
For a self-managed instance where you intend to allow RCON moderation, use this sequence:
- Stop the instance and back up the loaded configuration. Record the previous
RestrictRConvalue, or that it was absent. - Update the existing assignment, or add one if missing:
RestrictRCon 0- Save the file, start the instance and reconnect. Check
players, then test a kick with a consenting account using the moderation steps above. Keep the command reply and check the result with that player.
This gives clients using the shared RCON password access to moderation actions. Check who has that password and retain the UDP firewall restrictions. For a managed service, use its supported controls or ask support to check the policy before editing provider-managed files.
If the change fails, stop the instance and restore the previous assignment, removing the new line if none existed. Restart and check the connection again. The cited setting is documented; this guide has not tested it in the current server build.
Source and verification scope
Section titled “Source and verification scope”The connected-client guidance was checked against BattlEye’s command reference on 8 October 2026. Its address output remains unverified.
This guide used AI-assisted research and drafting. The linked DayZ and BattlEye references support the configuration and command syntax. The native ban-file instructions, publisher’s client listing and CFTools connection guidance were checked on 8 October 2026.
A saved Windows localhost test from 3 October 2026, using DayZ server 1.29.163709, records RCON authentication and acknowledgements for version, players and say -1. It had zero players and used a protocol test client. It does not verify the BE RCon download, public connectivity, panel delivery, player-visible messages or bans. No new game test was run for this update. Complete the connection, moderation and restart-persistence checks on your private instance before using the procedure for live moderation.