Explainer

DayZ RCon commands list

Once BattlEye RCon is set up, these are the commands you can send to a DayZ PC server from an RCon client or tool. They come from BattlEye, not DayZ itself, which is why they look different from the chat commands you may know from Arma. Each one is listed with what it does and an example.

  • 4 min read
  • Updated
  • PlayStation, Xbox and PC
RCon consoleExample
playerssay -1 Server restart in 10 minuteskick 4 Please rejoin with a proper nameban 7 0 CheatingwriteBans

See who's online

players lists everyone connected, with a number for each player, their IP, ping, BattlEye GUID and name. That number is what kick and ban use, and it can change when people leave and join, so always run players again before you act on someone.

admins lists the RCon clients connected right now, which is handy for checking which tools have access. version shows the BattlEye server version, and commands lists every command available.

  • players: list players with their number, ping and GUID
  • admins: list connected RCon clients
  • commands: show every available command

Send messages

say sends a message into the game. Use -1 to send to everyone, or a player number to message one player privately.

  • say -1 Restart in 5 minutes, get somewhere safe
  • say 3 Please change your name, it breaks rule 4

Kick a player

kick removes a player from the server. They can rejoin straight away, so it's best for a warning or to clear a stuck character. Add a reason and the player sees it.

  • kick 3 AFK in a full server

Ban a player

ban bans an online player's BattlEye GUID by their player number. Add a time in minutes, or use 0 (or leave it out) for a permanent ban, then an optional reason. addBan does the same for someone who isn't online, using their GUID or IP address.

  • ban 3 0 Cheating: permanent ban
  • ban 3 1440 Combat logging: one day
  • addBan 1a2b3c4d5e6f... 0 Ban evasion

Manage the ban list

bans shows every BattlEye ban with a number. removeBan takes that number to lift a ban. BattlEye keeps bans in bans.txt; loadBans reloads that file after you edit it by hand, and writeBans saves the current list back to it, which also clears out bans that have expired.

  • bans: list bans with their numbers
  • removeBan 12: lift ban number 12
  • loadBans: reload bans.txt
  • writeBans: save the ban list and drop expired bans

Find a player's GUID

BattlEye bans are tied to a GUID worked out from the player's Steam account, not their in-game name, so a name change doesn't get around a ban. The players command shows each player's GUID. Copy it into your ban notes along with the player's name and the reason, so you can find it again if they appeal.

Players can see their own GUID too by typing #beclient guid into the in-game chat, which helps when someone asks why they can't join.

Commands that don't exist in DayZ

Many lists online mix in Arma server commands such as #shutdown, #lock or #exec ban. DayZ's RCon is BattlEye's, so treat those with caution and test them on your own server before relying on them. To restart on a timer, use a messages.xml countdown or your host's restart scheduler. To keep people out, use a password or the whitelist. See restart schedules and whitelisting.

Use RCon from Discord instead

Typing player numbers into an RCon client works, but it's easy to ban the wrong person and there's no record of who did what. Most communities move moderation into Discord, where staff can act from their phone and every action is logged.

Tools for this

Common questions

How do I message everyone with RCon?

Use say -1 followed by your message, for example say -1 Restart in 5 minutes.

How do I ban someone who isn't online?

Use addBan with their BattlEye GUID or IP, a time in minutes (0 for permanent) and a reason.

How do I unban a player with RCon?

Run bans to find the ban's number, then removeBan with that number. Run writeBans to save the change.

What's the difference between kick and ban?

A kick removes a player but lets them rejoin straight away. A ban stops them joining for the time you set, or for good with 0.

Do RCon bans work across my other servers?

Only if each server shares the same bans.txt or you add the ban on each one. BattlEye bans are stored per server.

Why did my ban disappear after a restart?

The ban list wasn't saved. Run writeBans after banning so it's written to bans.txt, or ban through a tool that saves it for you.

Can I spawn items or teleport with RCon?

No. BattlEye RCon only manages players, bans and messages. Spawning and teleporting need an admin mod on a PC server.

Run your DayZ server from one place

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