ThisCalculator

Everyday

How to Kick or Ban a Player on an Arma 3 Server

Updated · Standard formula, shown below

This guide explains how to kick or ban a player from your Arma 3 server, whether you are using the in-game admin menu, server console, or BattlEye. You will learn the exact commands and steps for each method, plus what information you need beforehand.

What You’ll Need

  • Admin privileges on the Arma 3 server (either in-game admin or server console access).
  • The player’s in-game name or their Steam ID (also called Steam64 ID).
  • If using BattlEye, access to the BattlEye console or the server’s RCON (remote console) tool.
  • Basic familiarity with the server’s operating system (Windows or Linux) if using the command line.

Step-by-Step

  1. Identify the player. In-game, press P to open the player list. Note the player’s name and, if possible, their Steam ID (you may need to use an external tool or the server logs to get the Steam ID). For BattlEye bans, you must have the player’s GUID (Game Unique ID), which is different from the Steam ID but can be obtained from the BattlEye console or server logs.
  2. Choose your method. There are three main ways to kick or ban:
    • In-game admin menu: If you are the server admin and have logged in as admin (by setting your Steam ID in the server config or using the #login command), press ESC and select “Admin Menu” or press P to open the player list and right-click on the player.
    • Server console (RPT or command line): If you have access to the server’s console window (Windows) or terminal (Linux), you can type commands directly.
    • BattlEye console: If BattlEye is enabled, you can connect to the BattlEye server via RCON and use its commands.
  3. Kick a player via in-game admin menu: Open the player list (P), find the player, right-click on their name, and select “Kick”. You may be prompted to enter a reason. The player will be disconnected immediately.
  4. Ban a player via in-game admin menu: In the same player list, right-click and select “Ban”. You will be asked for a duration (in minutes, hours, or permanent) and a reason. The ban is typically stored in the server’s ban list (usually a file like bans.txt).
  5. Kick via server console: In the server console, type #kick <player name> (without the angle brackets). For example: #kick JohnDoe. If the name has spaces, enclose it in quotes: #kick "John Doe". Press Enter.
  6. Ban via server console: Type #ban <player name> <duration in minutes> <reason>. For a permanent ban, use 0 or -1 as the duration. Example: #ban JohnDoe 60 Cheating (bans for 60 minutes). The ban is added to the server’s ban list.
  7. Kick via BattlEye: Connect to the BattlEye server using an RCON tool (like the in-game console or a third-party program). Use the command kick <player number> [reason]. The player number is shown in the BattlEye player list (type players to see it). Example: kick 2 Cheating.
  8. Ban via BattlEye: Use the command ban <player number> <duration in minutes> [reason]. For permanent, use -1. Example: ban 2 1440 Cheating (bans for 1 day). To ban by GUID instead of player number, use ban <GUID> <duration> [reason].
  9. Verify the action. After kicking or banning, check the player list to confirm the player is gone. For bans, you can also check the ban list file (usually bans.txt in the server directory) to see the entry.

Common Mistakes

  • Using the wrong ID: For BattlEye bans, you must use the GUID, not the Steam ID. For in-game bans, the server may use the Steam ID or a separate UID depending on the server configuration. Always double-check which ID is required.
  • Not specifying a duration correctly: In the console, 0 might mean permanent in some contexts, but in BattlEye 0 is not a valid duration (it may be interpreted as an immediate unban or error). Use -1 for permanent bans.
  • Kicking the wrong player: If there are multiple players with similar names, the command might affect the wrong one. Use the player number in BattlEye or the exact name with quotes.
  • Forgetting to save bans: Some methods automatically save bans, but if you are manually editing a ban file, make sure to save it and possibly restart the server for it to take effect.

Tips

  • Always provide a reason for the kick or ban; it helps in case of appeals and keeps a record.
  • For permanent bans, consider using the player’s GUID and Steam ID together to prevent evasion.
  • Use the #players command in the server console to see a list of connected players with their IDs, which makes it easier to target the right person.
  • If you are using a mod like CBA or a server management tool, the commands might differ slightly. Check the mod’s documentation.
  • Regularly back up your ban list to avoid losing bans due to server crashes.

Troubleshooting

  • The kick/ban command does nothing: Check if you have the correct permissions. In the server console, you must be logged in as admin (use #login <password> if required). For BattlEye, ensure you are connected with RCON and have admin rights.
  • The player reconnects immediately after a kick: This is normal; a kick does not prevent reconnection. Use a temporary ban (e.g., 5 minutes) to give them time to cool off.
  • Ban list not working after server restart: Make sure the ban file is in the correct location and that the server is configured to read it. Some servers require the file to be named bans.txt in the server root.
  • BattlEye says “Player not found”: The player number may have changed if someone left or joined. Type players again to get the current list.
  • Cannot find the player’s GUID: You can get the GUID from the BattlEye console by typing players, which shows the GUID for each player. Alternatively, check the server logs (usually server_console.log or arma3server.RPT) for the GUID when the player joins.

Frequently Asked Questions

Can I ban a player by Steam ID instead of GUID?

For BattlEye bans, you must use the GUID. However, you can also add a Steam ID to the server’s bans.txt file (if using the in-game ban system) to ban by Steam ID. The syntax is usually SteamID followed by the ID.

How do I unban a player?

For BattlEye, use the unban <GUID> command. For the in-game ban list, edit the bans.txt file and remove the line, then restart the server or use the #unban command if available.

What is the difference between a kick and a ban?

A kick disconnects the player immediately but does not prevent them from rejoining. A ban prevents the player from joining for a specified duration or permanently.

Can I ban a player from the in-game admin menu if I’m not the server host?

Yes, if you have admin privileges (your Steam ID is in the admins list in the server config or you have logged in with the admin password).

Why is the ban not working across multiple servers?

Bans are server-specific unless you use a shared ban system like BattlEye’s global ban list or a third-party tool. You need to add the ban to each server individually.

How do I find a player’s Steam ID?

You can use the Steam overlay (Shift+Tab) to view profiles, or use external websites that show Steam IDs. In the server console, the #players command may show the Steam ID if you have the appropriate mod.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.