Step-by-step guide · 7 steps

How to set up BattlEye RCon on a DayZ server

RCon (remote console) lets you manage a DayZ PC server without being in the game: see who's online, send messages, kick and ban. It's provided by BattlEye, DayZ's anti-cheat, and almost every server tool uses it, from desktop RCon clients to Discord bots. Setting it up means editing one small BattlEye file. Here's exactly what goes in it and how to check it works.

  • 4 min read
  • Updated
  • PlayStation, Xbox and PC
battleye/BEServer_x64.cfgExample
RConPassword ChangeThisToSomethingLong123RConPort 2306RestrictRCon 0
Step 1

Find BEServer_x64.cfg

The RCon settings live in a file called BEServer_x64.cfg (beserver_x64.cfg on Linux servers). It sits in the BattlEye folder, which is usually inside your server's profiles folder. Bohemia's documentation says it must be in the same folder as BEServer_x64.dll, and the -bePath and -profiles launch options decide where that is.

Use FTP or your host's file manager to open it. If you can't find it, check the folder set by -profiles first. When the server starts, BattlEye may create a working copy with "active" in its name. Edit the original, not the copy.

Step 2

Set a strong RCon password

Add or change the RConPassword line. Anyone with this password can kick and ban players, so make it long and unique. Some tools struggle with spaces and special symbols, so letters and numbers are the safest choice. Never reuse your admin password or your host account password.

Step 3

Choose the RCon port

RConPort sets which port BattlEye listens on. It must not clash with the game port or Steam query port. A common choice is a few numbers above the game port, for example 2305 or 2306 for a server on 2302. Some hosts assign the RCon port for you, in which case use theirs. RCon uses UDP, so if you run the server yourself, allow that port through your firewall.

Step 4

Decide on RestrictRCon

RestrictRCon controls whether RCon may use its powerful commands. When it's 1, kick, ban and similar commands are blocked; when it's 0, they're allowed. If you want your RCon tool or bot to kick and ban, set it to 0. If you only want to read the player list and send messages, 1 is the safer choice.

Step 5

Restart and test the connection

Save the file and restart the server so BattlEye reads it. Then connect with an RCon client using your server's IP address, the RConPort and the RConPassword. A good first test is the players command, which should list everyone online.

If it won't connect, check in this order: the server fully restarted, the IP is the server's public address, the port matches RConPort, the password matches exactly, and nothing is blocking UDP on that port.

  • Connection refused or timed out: wrong port, firewall, or the server hasn't restarted
  • Wrong password: check for spaces or a different file being read
  • Connects but kick and ban fail: RestrictRCon is 1
Step 6

Pick an RCon tool

Any BattlEye RCon client can connect once the file is set up. Desktop clients suit a single admin at a PC. Web-based tools and Discord bots suit a team, because staff don't need the password and every action can be logged. Some tools also add scheduled messages and restarts on top of RCon.

Whatever you choose, give each tool the minimum it needs. A tool that only posts a player list to Discord doesn't need kick and ban, so a separate server with RestrictRCon set to 1 is fine for it.

Step 7

Keep it secure

RCon sends a single password over the network, so treat it like a key to your server. Only give it to tools you trust, change it if a staff member leaves, and if you run the server yourself, consider limiting the RCon port to known IP addresses.

Tools for this

Common questions

Where is the RCon password for DayZ?

In BEServer_x64.cfg, on the RConPassword line, inside your server's BattlEye folder.

Is DayZ RCon TCP or UDP?

UDP. Open the RCon port for UDP if you host the server yourself.

What does RestrictRCon do?

At 1 it blocks powerful RCon commands such as kick and ban. Set it to 0 if your tools need them.

Can I use the same RCon password on several servers?

You can, but it's safer not to. A separate password per server means one leaked password only affects one server.

Do I need to restart after changing BEServer_x64.cfg?

Yes. BattlEye reads the file when the server starts, so changes apply after the next restart.

Why does my RCon tool connect but show no players?

Check that it's connected to the right server and port, and that players are actually on. Some tools only refresh the list every minute or so.

Does RCon work on PS5 or Xbox servers?

No. Console servers on Nitrado don't give owners RCon access. Bans and the whitelist are managed in Nitrado's web interface or a tool like Blxckforge.

Run your DayZ server from one place

Free editors for every config file, plus a live dashboard and Discord feeds when you're ready.