EN · $ USD
Survival and Sandbox Servers

DayZ BattlEye RCON Setup and Remote Administration

7 min read Updated: OyunBulut technical team

In short

To set up DayZ RCON, stop the server and add RConPassword, RConPort and RestrictRCon 0 lines to BEServer_x64.cfg in the battleye folder. Open the RCON port as UDP and connect with a tool such as BattleMetrics or DaRT using the server IP, port and password. You can then manage the server without joining the game, using commands like players, say -1, kick and ban.

In this guide
  1. What is RCON and why use it?
  2. BattlEye RCON setup step by step
  3. RCON tools: which one to choose?
  4. Basic RCON commands
  5. Scheduled messages and restarts
  6. In-game administration: #login
  7. Tips for a moderation routine
  8. RCON security
  9. Next step

DayZ RCON is the BattlEye protocol that lets you send commands to your server remotely without joining the game. To set it up, you add RConPassword and RConPort lines to BEServer_x64.cfg in the server's battleye folder, open that port as UDP, and connect with an RCON tool (such as BattleMetrics or DaRT) using the server IP, port and password. In this guide we cover setup, scheduled announcements and restarts, kicking and banning players, and RCON security.

What is RCON and why use it?

RCON (Remote Console) means accessing a game server's command line over the network. In DayZ, BattlEye handles this, so RCON runs through BattlEye's server-side component. With RCON you can:

  • List online players with their IP, GUID and ping
  • Send announcements to all players
  • Kick players and ban them temporarily or permanently
  • Lock and shut down the server
  • Automate scheduled messages and restarts with external tools

There is also in-game #login administration, but it requires you to be in the game. RCON lets you moderate from your phone or computer without launching the game.

BattlEye RCON setup step by step

1. Stop the server

While the server is running, BattlEye turns the config file into a temporary copy named BEServer_x64_active_XXXX.cfg. Changes made on a running server can be lost; always edit with the server stopped.

2. Create or edit BEServer_x64.cfg

The file is in the battleye folder in the server root. If you set a different path with the -BEpath= parameter in the launch line, look in that folder. If the file does not exist, create it as plain text:

RConPassword GucluVeUzunBirSifre2026
RConPort 2306
RestrictRCon 0
  • RConPassword: The RCON password. It must not contain spaces and should not be the same as passwordAdmin.
  • RConPort: The UDP port RCON listens on. Pick a value that does not clash with the game port (2302) or the query port (usually 27016). If you run several servers on one machine, give each its own port.
  • RestrictRCon: 0 allows all commands; 1 restricts some admin commands. Use 0 for full administration.

3. Open the port

# Linux (ufw) - only to your own IP if possible
sudo ufw allow from 203.0.113.10 to any port 2306 proto udp

# Windows (admin PowerShell)
New-NetFirewallRule -DisplayName "DayZ RCON" -Direction Inbound -Protocol UDP -LocalPort 2306 -RemoteAddress 203.0.113.10 -Action Allow

Replace 203.0.113.10 in the example with the IP your RCON tool will connect from. If you use a web-based tool like BattleMetrics, keep in mind that connections come from that service's servers, not your own IP; in that case the port stays open to everyone and the password carries all of the security.

4. Start the server and connect

Once the server is up, enter the server IP, the RConPort value and the password into your RCON tool. If it will not connect, first check the server log to confirm BattlEye started, then confirm the port is actually open.

RCON tools: which one to choose?

ToolTypeStrengthBest for
BattleMetrics RCONWeb-basedAccess from browser and phone, team permissions, scheduled tasks, ban list managementCommunities with multiple moderators
DaRT (DayZ Admin RCon Tool)Windows desktopLightweight, fast, player list and ban managementA single admin managing from a desktop
BEC (BattlEye Extended Controls)Runs on the server sideScheduled messages and restart schedulerAnyone wanting automation on a Windows VDS
In-game #loginBuilt-inNo extra tool neededQuick response in an emergency

Basic RCON commands

Most RCON tools offer these commands as buttons, but you can also send them from the command line. The player number is the first column in the output of the players command and can change every time a player connects.

players                          # online players: number, IP, ping, GUID, name
say -1 Sunucu 10 dakika sonra yeniden baslayacak
say 5 Bu mesaj sadece 5 numarali oyuncuya
kick 5 Kural ihlali: VoN'da hakaret
ban 5 1440 Combat log - 24 saat
ban 5 0 Hile - kalici
addBan <GUID> 0 Hile - cevrimdisi kalici ban
bans                             # ban list
removeBan 3                      # remove ban number 3 from the list
writeBans                        # write the ban list to file
loadBans                         # reload the bans.txt file
#lock                            # block new joins
#unlock
#shutdown                        # shut down the server

The number in the ban command is the duration in minutes; 0 means a permanent ban. Bans are stored in bans.txt in the battleye folder. Backing up this file regularly means you will not lose your ban list when you move or reinstall the server.

Scheduled messages and restarts

Regular restarts are common practice on DayZ servers, both so persistence files are written cleanly and to clear the load that builds up on a server left running for a long time. Many communities use a 4- or 6-hour cycle.

Method 1: built-in announcements and shutdown with messages.xml

The db/messages.xml file in the mission folder lets you define announcements and a countdown shutdown without any external tool. Times are in minutes:

<messages>
    <message>
        <delay>2</delay>
        <repeat>30</repeat>
        <text>Kurallar ve duyurular icin Discord sunucumuza katilin.</text>
    </message>
    <message>
        <deadline>240</deadline>
        <shutdown>1</shutdown>
        <text>Sunucu #tmin dakika icinde yeniden baslayacak.</text>
    </message>
</messages>

delay sets the wait before the message first appears, repeat sets the repeat interval, and deadline sets the time left until shutdown; the #tmin variable inserts the remaining minutes into the message. You need to restart the server after editing the file. This method only shuts down the server. To bring it back up afterward, you need your panel, a restart script on Windows, or a systemd service with Restart=always on Linux.

Method 2: the scheduler in your RCON tool

With BattleMetrics scheduled tasks or the BEC scheduler, you can send say -1 announcements 30, 15, 5 and 1 minute before the restart and then run #shutdown at the end. Sending #lock before the restart cuts down on complaints from players who join at the last minute and lose gear.

In-game administration: #login

When you do not have an RCON tool at hand, you can do basic administration from inside the game. This uses the passwordAdmin value in serverDZ.cfg. Type the following into the chat window:

#login AdminSifreniz
#kick 5
#lock
#unlock
#shutdown
#logout

In-game administration is handy for emergencies, but chat history can end up in a screenshot, so be careful when typing the password and never reuse your RCON password here. For a persistent ban list, scheduled tasks and moderator permissions, RCON tools are always safer and easier to audit.

Tips for a moderation routine

  • Give every ban a reason: The last part of the ban command is the reason shown to the player and kept in the list. A clear reason like "Cheating - Discord report" makes appeals easier to review.
  • Use escalating penalties: A written rule set, such as a kick for a first offense, a temporary ban for repeats and a permanent ban for serious violations, makes life easier for both moderators and players.
  • Keep the logs: The admin log created by the -adminlog parameter answers who killed whom and who did what to which player. You go back to these records for ban appeals.

If your server runs in an environment that gets attacked often, infrastructure-level protection matters as much as RCON security; DDoS-protected DayZ server plans handle that layer for you.

RCON security

  • Long, unique password: The RCON password is the key to your entire server. Choose one of at least 16 characters that you do not use anywhere else.
  • Do not share the password: Instead of giving moderators the raw password, prefer tools like BattleMetrics that grant per-user permissions; when someone leaves, you remove only their access.
  • Restrict the port: If you use a desktop tool, open the RCON port in the firewall only to your own IP. For general VDS security, see the game VDS security: SSH, RDP and firewall guide.
  • If the password leaks: Stop the server, change the RConPassword value, and check bans.txt and the admin logs for suspicious activity.

To avoid confusing player connection problems with RCON problems, it also helps to know the checks in the can't join DayZ server guide. If you have not done the basic server setup yet, start with the DayZ server setup guide.

Next step

With RCON remote administration, regular restarts and a ban list in place, you can manage your community without being in the game. For the server you build this routine on, the OB-DAYZ-3 DayZ server with 4 CPUs and 8 GB of RAM is a good starting point for small and mid-sized vanilla or lightly modded communities. If you need more capacity, you can compare all DayZ server plans. OyunBulut DayZ plans come with DDoS protection, automatic installation and a web panel; if you get stuck on RCON configuration, you can open a support ticket.

Frequently asked questions

Where is the BEServer_x64.cfg file?

It is in the battleye folder in the server root; if you set a different path with -BEpath in the launch line, it is in that folder. If the file does not exist, you can create it yourself as plain text.

I can't connect to RCON. What should I check?

Make sure you edited the file with the server stopped, that the RConPort value is open as UDP in the firewall, and that it does not clash with the game or query port. Also confirm in the server log that BattlEye started.

How do I permanently ban a player in DayZ?

Find the player's number with the players command and send ban <number> 0 <reason>; 0 means a permanent ban. If the player is offline, use addBan <GUID> 0 <reason>.

How do I set up automatic restarts on a DayZ server?

You can define a countdown shutdown with the deadline and shutdown fields in db/messages.xml in the mission folder, or use your RCON tool's scheduler. Either way, you need a panel, script or service to start the server again.

What is the difference between RestrictRCon 0 and 1?

0 allows all RCON commands, while 1 restricts some admin commands. Use 0 if you want full control of the server over RCON.

For this guide

Recommended plans

With DDoS protection and a web panel, OB-DAYZ-3 provides enough resources for a small or mid-sized DayZ community that you manage remotely over RCON.

OB-DAYZ-3

Recommended

8 GB RAM

$7.47/mo

+VAT

  • Processor4 CPU
  • Disk45 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

4 GB RAM

$3.54/mo

+VAT

  • Processor4 CPU
  • Disk30 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

6 GB RAM

$5.31/mo

+VAT

  • Processor4 CPU
  • Disk35 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

DayZ — tüm paketler

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.