{"name":"BattlEye","title":"BattlEye","type":"topic","url":"https://community.bistudio.com/wiki/BattlEye","revid":378579,"updated":"2026-05-10T17:03:23Z","aliases":[],"markdown":"[BattlEye website](http://www.battleye.com)\nAbbreviation: **BE**\n\nBattlEye is an anti-cheat tool created by *BattlEye Innovations*. It is currently included in Bohemia Interactive's *Arma*, *Arma 2* and *Arma 3* series as an optional installation and server configuration option.\n\nBattlEye works by scanning connected clients for various cheat and exploit methods. Upon detection, BattlEye disconnects (*kicking*) the offending clients. You can find more details about the *BE* cheat scanning engine on the [about page](https://www.battleye.com/about/).\n\n### Privacy\n\n**BattlEye will never violate your privacy in any way**. The EULA clearly states this when installing BattlEye. Any other statements found anywhere else are superseded by the EULA.\n\nBattlEye always has and will secure the user's privacy and protect against any sort of software exploitation from outside.\n\n### Setup\n\n#### Latest version\n\nYou can find out what the latest version is by visiting the [news section](http://www.battleye.com/index.html).\n\n#### Installation\n\nInstallation of the BattlEye client is an option during the initial game installation process.\n\nBE updates itself automatically during a running MP session with internet access. However in the case of troubles use the following options:\n\n##### Manual BEClient.dll download\n\n1. Download the latest *BEClient.dll* from the [download section](http://www.battleye.com/download.html). Make sure to download the *BEClient.dll* for the your series of Arma:\n\n   *Arma, Arma 2, Operation Arrowhead, Arma 3,* …\n1. Now you need to put *BEClient.dll* to the right location:\n\n   ***Windows 7*:** `C:\\Users\\%USERNAME%\\AppData\\Local\\Arma 2 OA\\BattlEye\\`\n\n   ***Windows XP*:** `C:\\Documents and Settings\\%USERNAME%\\Local Settings\\Application Data\\ARMA 2 OA\\BattlEye\\`\n\n   ***STEAM*:** `C:\\Program Files (x86)\\Steam\\SteamApps\\common\\ARMA 2 Operation Arrowhead\\Expansion\\BattlEye\\`\n\n> [!IMPORTANT]\n> You need to use the right subfolder for your game version (Arma/Arma 2/Arma 2 OA/Arma 3…).\n\n##### Automated BEClient.dll installer\n\n1. Download the [installer](http://forums.bistudio.com/showthread.php?t=109915) for your series of Arma.\n1. Next run it and use ***run as Administrator*** (select file by left mouse click, right mouse click, select the ***run as*** option).\n\nIt is a very fast **silent-installer**. This means normally you will not notice anything - no application widow, no progress bar, no completion info. **Only if there are issues, it will speak up**.\n\nThe automated installer looks for the *BEClient.dll* on your computer:\n\n1. If your BEClient.dll is same or newer, then installer does nothing,\n1. If your BEClient.dll is older, it updates the BEClient.dll version,\n1. If the BEClient.dll is not found, it will install the latest BEClient.dll.\n\nYou can verify if it was installed by checking the software uninstall list. You find it under \"*BattlEye for OA uninstall*\".\n\n#### Installation on Linux servers\n\nFirst of all, set up a working *Arma 2* or *Arma 2:OA* server. When your Linux Arma 2 server works as it should, you can follow these instructions to install and enable BattlEye.\n\n1. Log on to your Linux server with ***SSH*** or open a new ***terminal emulator window***.\n1. Change directory to where you have the Arma 2 server files installed. In this example we'll use \"`/home/arma2/arma2server`\" as the server's installation directory:\n\n   `cd /home/arma2/arma2server`\n1. Next, create a directory for the BattlEye server.\n   - For an Arma 2 server, the path should be:\n\n   `./battleye`\n   - Whilst for an Arma 2: Operation Arrowhead server it is:\n\n   `./expansion/battleye`:\n   - *i.e.* `mkdir battleye` **or** `mkdir expansion/battleye`\n1. Download the correct *BE* server from the BattlEye [website](http://www.battleye.com/download.html) - there's one file for Arma 2 and another for Arma 2:OA. You can use a *command-line* download tool such as \"*wget*\" or \"*curl*\" as well:\n   - For Arma 2, use:\n\n   `wget http://www.battleye.com/downloads/arma2/beserver.so -O battleye/beserver.so`\n   - Whilst for Arma 2:OA it is:\n\n   `wget http://www.battleye.com/downloads/arma2oa/beserver.so -O expansion/battleye/beserver.so`\n1. You now have the BE server component installed. Enable it in your game server's config with \"`BattlEye=1;`\".\n1. Start the server again and watch the log file (usually \"`log.2302.txt`\"). With BattlEye enabled, you'll see an extra line of output when the server is started. For example:\n\n   `14:20:22 BattlEye Server: Initialized (v1.122)`\n1. ***(Optional)*** In order to administrate your BE server remotely, you'll need to create a configuration file for the BE server. It should be named \"`beserver.cfg`\" and placed in the BE directory you just created.\n   We'll create one and set the admin password to \"*mypassword*\". (You should change the password used in this example to something better).\n   - For an Arma 2 server, run:\n\n   `echo \"RConPassword mypassword\" > ./battleye/beserver.cfg`\n   - For an Arma 2:OA server, do this:\n\n   `echo \"RConPassword mypassword\" > ./expansion/battleye/beserver.cfg`\n   - For an Arma 3 server, do this:\n\n   `echo \"RConPassword mypassword\" > ./battleye/launch/beserver.cfg`\n   - For more details, see the section below on RCon.\n\n#### Configuration\n\n##### Client\n\nApart from installation there is no additional configuration required for game clients.\n\n##### Server\n\nRefer to the server config section on how to enable BattlEye on a game server.\n\n> [!IMPORTANT]\n> If you run multiple game servers on one machine, you need to specify separate BE paths for each in the server startup parameters.\n\n### 64-bit support\n\nThe 64-bit version of Arma 3 uses 64-bit dlls: BEClient_x64.dll and BEServer_x64.dll, as well as BEServer_x64.cfg for configuration.\n\n### BE commands\n\n> [!IMPORTANT]\n> The #beserver command has been disabled for now, due to the game admin hijacking hack.\n> You need to use the BE RCon tool to ban players from your server.\n\n> [!IMPORTANT]\n> The commands are case insensitive. In other words you can write them all lower case.\n\n#### GUID banning\n\n***BE*** can permanently or temporarily ban players from your server. The advantage over Arma 2's *PID* banning is that the BE *GUID* cannot be hacked/changed client-side, therefore the only way for a player to get unbanned is to buy a new *game/cd-key*.\n\nThe following commands are available to manage *GUID* bans:\n\n| Command | Description |\n|---|---|\n| `loadBans` | (Re)load the BE ban list from bans.txt. |\n| `bans` | Show a list of all BE server bans. |\n| `ban` *[player #] [time in minutes] [reason]* | Ban a player's BE GUID from the server. If time is not specified or `0`, the ban will be permanent; if reason is not specified the player will be kicked with \"Banned\". |\n| `addBan` *[GUID] [time in minutes] [reason]* | Same as \"ban\", but allows to ban a player that is not currently on the server. |\n| `removeBan` *[ban #]* | Remove ban (get the ban # from the bans command). |\n| `writeBans` | removes expired bans from bans file |\n\nYou can either enter them via BE RCon or in-game using \"`#beserver [command]`\" (if logged in as admin). For example:\n\n`#beserver ban 11`\n\nKeep in mind that the \"`player #`\" used here is the one listed by BE's \"*players*\" command.\n\nBattlEye *GUID* and *IP* bans will now both be loaded from and saved to \"`bans.txt`\" (no longer \"`guidbans.txt`\" and \"`ipbans.txt`\") in your server's BE working directory.\nTimed bans're saved into bans.txt as timestamp of end-date(unixformat)\n\n### RCon\n\n**Latest version**\n\n`b0.94`.\n\nSince BattlEye server version `1.102` you can control your Arma game server remotely (without having to be in-game) using the *BattlEye RCon tool*.\n\n1. Download the [BattlEye RCon tool (BERCon.exe)](http://www.battleye.com/downloads/BERCon.exe).\n1. Create a file called `beserver.cfg` (or `beserver_x64.cfg` for 64-bit server) in ***BattlEye working directory*** on the server.\n1. Set private *RCon password* in the `beserver.cfg` (or `beserver_x64.cfg` for 64-bit server) via setting \"RConPassword\"\n1. Set *custom BattlEye's RCON port* defined in `beserver.cfg` (or `beserver_x64.cfg` for 64-bit server) via setting \"RConPort\" (*for Arma 3 update 1.58.135656 and newer builds*)\n1. Set *optional BattlEye's RCON IP* defined in `beserver.cfg` (or `beserver_x64.cfg` for 64-bit server) via setting \"RConIP\" (*for Arma 3 update 1.58.135656 and newer builds*)\n1. Start the RCon tool binary and connect to server with its *IP*, *port* and *RCon password*.\n\nRconPort must avoid reserved ARMA3server port range (gameport *+0,+1,+2,+3,+4))\ndefault reserved ports are 2302 - 2306 (to clarify the reserved ports can't be used for BattlEye's RCON).\nexample for default server setting, RconPort 2301\n\nRconIP entry isn't needed, as when undefined it equals to value of 0.0.0.0 (all IPv4 local IP addresses used at once)\nsetting it to e.g. 127.0.0.1 will prevent it to respond on external IP\nsetting it to e.g. external IP will prevent it to respond on localhost 127.0.0.1\n\n#### BattlEye working directory\n\nThe BattlEye working directory is a folder in one of three places:\n\n1. A folder named \"*BattlEye*\" within the Arma 2 application data folder.\n1. A folder named \"*BattlEye*\" in the path given by the \"`-profiles`\" startup parameter.\n1. In a folder given by the \"`-bepath`\" startup parameter.\n\n> [!IMPORTANT]\n> Even with custom locations you will still need the BattlEye *.dll's* or *.so's* **ALSO in the default location** (\"<*arma2*>\\BattlEye\" for Arma 2 or \"<*arma2*>\\Expansion\\BattlEye\" for Arma 2:OA/CO) for BattlEye to start.\n\n##### The Arma 2 application data folder\n\nIn *Windows Vista, 7 and 2008*, that's the path given by \"`%LOCALAPPDATA%\\Arma 2`\" for Arma 2 and \"`%LOCALAPPDATA%\\Arma 2 OA`\" for the Arrowhead dedi. A typical value is:\n\n`C:\\Users\\username\\AppData\\Local\\Arma 2`\n\nIn *Windows XP and 2003*, the application data folder is \"`%USERPROFILE%\\Local Settings\\Application Data\\Arma 2`\". A typical example is:\n\n`C:\\Documents and Settings\\username\\Local Settings\\Application data\\Arma 2`\n\nThese locations are the default and are used, if you launch the dedicated server **without** using either the \"`-profiles`\" or \"`-bepath`\" launch parameters.\n\n##### The -profiles location\n\nThe path given as the \"`-profiles=...`\" startup parameter used when launching the Arma 2 dedi. If, for example, you would launch the Arma 2:OA dedicated server using:\n\n`arma2oaserver.exe -profiles=D:\\Games\\ArmA2`\n\nthen the BattlEye working directory would be:\n\n`D:\\Games\\ArmA2\\BattlEye`\n\n> [!IMPORTANT]\n> Even if using custom locations you will still need the *.dll's* or *.so's* **ALSO in the default location** (\"<*arma2*>\\BattlEye\" for Arma 2 or \"<*arma2*>\\Expansion\\BattlEye\" for Arma 2:OA/CO) for BattlEye to start.\n\n##### The -bepath location\n\nYou can also specify the BattlEye working directory directly using the startup parameter \"`-bepath`\". Example:\n\n`arma2oaserver.exe -bepath=D:\\MyBattlEye`\n\nIn this case, the BattlEye working directory will be:\n\n`D:\\MyBattlEye`\n\nIf path contains spaces, encase everything in quotes:\n\n`arma2oaserver.exe \"-bepath=D:\\My BattlEye\"`\n\n> [!IMPORTANT]\n> Even if using custom locations you will still need the *.dll's* or *.so's* **ALSO in the default location** (\"<*arma2*>\\BattlEye\" for Arma 2 or \"<*arma2*>\\Expansion\\BattlEye\" for Arma 2:OA/CO) for BattlEye to start.\n\n##### Full examples\n\nHere are examples of the full paths to the \"`beserver.cfg`\" file for a few different cases.\n\n- The examples assume that the username of the user that will run the servers is \"*jimbob*\".\n- \"*Arma 2*\" means running the \"`arma2server.exe`\" whereas \"*Arma 2:OA*\" means you're launching \"`arma2oaserver.exe`\".\n\n| To Launch | Follow Path |\n|---|---|\n| Arma 2, Windows 7/Vista/2008, default: | C:\\Users\\jimbob\\AppData\\Local\\Arma 2\\BattlEye\\beserver.cfg |\n| Arma 2:OA, Windows 7/Vista/2008, default: | C:\\Users\\jimbob\\AppData\\Local\\Arma 2 OA\\BattlEye\\beserver.cfg |\n| Arma 2, Windows XP, default: | C:\\Documents and Settings\\jimbob\\Local Settings\\Application data\\Arma 2\\BattlEye\\beserver.cfg |\n| Arma 2:OA, Windows XP, default: | C:\\Documents and Settings\\jimbob\\Local Settings\\Application data\\Arma 2 OA\\BattlEye\\beserver.cfg |\n| Any Arma 2, any Windows, *-profiles=D:\\profiles*: | D:\\profiles\\BattlEye\\beserver.cfg |\n\n##### Linux\n\nFor Linux dedicated servers, the default locations are:\n\n- For the Arma 2 dedi, it is \"`./battleye`\"\n- For the Arma 2:OA dedi, it is \"`./expansion/battleye`\"\n\n#### Sample beserver.cfg\n\n```\nRConPassword xyzxyz\nMaxPing 200\n```\n\n#### RCon commands\n\n> [!IMPORTANT]\n> The commands are case insensitive. In other words you can write them all lower case.\n\n| Command | Description |\n|---|---|\n| `loadScripts` | loads the \"`scripts.txt`\" file without the need to restart the server. |\n| `missions` | Returns a list of the available missions on the server. |\n| `players` | Displays a list of the players on the server including BE GUIDs and pings. |\n| `kick` *[player#]* | Kicks a player. His `#` can be found in the player list using the \"`players`\" command. |\n| `RConPassword` *[password]* | Changes the RCon password. |\n| `MaxPing` *[ping]* | Changes the *MaxPing* value. If a player has a higher ping, he will be kicked from the server. |\n| `logout` | Logout from current server, but do not exit the program. |\n| `Exit` | Closes the connection. |\n| `Say` *[player#]* | Say something to *player #*. `-1` equals **all players** on server (*e.g.* \"`Say -1 Hello World!`\") |\n| `#mpmissions` | (Since Arma 3 2.22) Lists available missions on the server, selectible with `#mission <missionname.world>` command. Works with custom `-mpmissions=` |\n\n**Server commands are passed directly to server:** `#mission [missionName]` - Loads the given mission on the server.\n\n> [!IMPORTANT]\n> Look at the GUID banning section for additional commands.\n\n### Support\n\n- [BE Support page with contact details](http://www.battleye.com/support.html)\n- [Frequently Asked Questions:](http://www.battleye.com/support.html)\n  - I am getting kicked for the following violation(s). I don't use hacks, so what can I do to resolve this?\n  - How do I enable BattlEye in-game to be able to play on BE-enabled servers?\n  - Are administrator rights required when playing with BattlEye enabled?\n  - I am using a 64-bit operating system but can't seem to find the right files in the download section. Is 64-bit unsupported?\n  - I am running multiple dedicated servers from one installation. Is there anything I have to keep in mind regarding BattlEye?\n- Official BattlEye threads in the BI forum\n  - [BattlEye Installer (A2:OA)](http://forums.bistudio.com/showthread.php?t=109915)\n  - [RCon server administration](http://forums.bistudio.com/showthread.php?t=95454)\n  - [BattlEye GUID banning](http://forums.bistudio.com/showthread.php?t=96228)\n  - [New BattlEye features for server admins](http://forums.bistudio.com/showthread.php?131759-New-BattlEye-features-for-server-admins)\n  - [Explanation: Why does BattlEye need administrator privileges now?](http://forums.bistudio.com/showthread.php?104242-Explanation-Why-does-BattlEye-need-administrator-privileges-now)","sections":[{"heading":null,"level":1,"markdown":"[BattlEye website](http://www.battleye.com)\nAbbreviation: **BE**\n\nBattlEye is an anti-cheat tool created by *BattlEye Innovations*. It is currently included in Bohemia Interactive's *Arma*, *Arma 2* and *Arma 3* series as an optional installation and server configuration option.\n\nBattlEye works by scanning connected clients for various cheat and exploit methods. Upon detection, BattlEye disconnects (*kicking*) the offending clients. You can find more details about the *BE* cheat scanning engine on the [about page](https://www.battleye.com/about/)."},{"heading":"Privacy","level":3,"markdown":"**BattlEye will never violate your privacy in any way**. The EULA clearly states this when installing BattlEye. Any other statements found anywhere else are superseded by the EULA.\n\nBattlEye always has and will secure the user's privacy and protect against any sort of software exploitation from outside."},{"heading":"Setup","level":3,"markdown":""},{"heading":"Latest version","level":4,"markdown":"You can find out what the latest version is by visiting the [news section](http://www.battleye.com/index.html)."},{"heading":"Installation","level":4,"markdown":"Installation of the BattlEye client is an option during the initial game installation process.\n\nBE updates itself automatically during a running MP session with internet access. However in the case of troubles use the following options:"},{"heading":"Manual BEClient.dll download","level":5,"markdown":"1. Download the latest *BEClient.dll* from the [download section](http://www.battleye.com/download.html). Make sure to download the *BEClient.dll* for the your series of Arma:\n\n   *Arma, Arma 2, Operation Arrowhead, Arma 3,* …\n1. Now you need to put *BEClient.dll* to the right location:\n\n   ***Windows 7*:** `C:\\Users\\%USERNAME%\\AppData\\Local\\Arma 2 OA\\BattlEye\\`\n\n   ***Windows XP*:** `C:\\Documents and Settings\\%USERNAME%\\Local Settings\\Application Data\\ARMA 2 OA\\BattlEye\\`\n\n   ***STEAM*:** `C:\\Program Files (x86)\\Steam\\SteamApps\\common\\ARMA 2 Operation Arrowhead\\Expansion\\BattlEye\\`\n\n> [!IMPORTANT]\n> You need to use the right subfolder for your game version (Arma/Arma 2/Arma 2 OA/Arma 3…)."},{"heading":"Automated BEClient.dll installer","level":5,"markdown":"1. Download the [installer](http://forums.bistudio.com/showthread.php?t=109915) for your series of Arma.\n1. Next run it and use ***run as Administrator*** (select file by left mouse click, right mouse click, select the ***run as*** option).\n\nIt is a very fast **silent-installer**. This means normally you will not notice anything - no application widow, no progress bar, no completion info. **Only if there are issues, it will speak up**.\n\nThe automated installer looks for the *BEClient.dll* on your computer:\n\n1. If your BEClient.dll is same or newer, then installer does nothing,\n1. If your BEClient.dll is older, it updates the BEClient.dll version,\n1. If the BEClient.dll is not found, it will install the latest BEClient.dll.\n\nYou can verify if it was installed by checking the software uninstall list. You find it under \"*BattlEye for OA uninstall*\"."},{"heading":"Installation on Linux servers","level":4,"markdown":"First of all, set up a working *Arma 2* or *Arma 2:OA* server. When your Linux Arma 2 server works as it should, you can follow these instructions to install and enable BattlEye.\n\n1. Log on to your Linux server with ***SSH*** or open a new ***terminal emulator window***.\n1. Change directory to where you have the Arma 2 server files installed. In this example we'll use \"`/home/arma2/arma2server`\" as the server's installation directory:\n\n   `cd /home/arma2/arma2server`\n1. Next, create a directory for the BattlEye server.\n   - For an Arma 2 server, the path should be:\n\n   `./battleye`\n   - Whilst for an Arma 2: Operation Arrowhead server it is:\n\n   `./expansion/battleye`:\n   - *i.e.* `mkdir battleye` **or** `mkdir expansion/battleye`\n1. Download the correct *BE* server from the BattlEye [website](http://www.battleye.com/download.html) - there's one file for Arma 2 and another for Arma 2:OA. You can use a *command-line* download tool such as \"*wget*\" or \"*curl*\" as well:\n   - For Arma 2, use:\n\n   `wget http://www.battleye.com/downloads/arma2/beserver.so -O battleye/beserver.so`\n   - Whilst for Arma 2:OA it is:\n\n   `wget http://www.battleye.com/downloads/arma2oa/beserver.so -O expansion/battleye/beserver.so`\n1. You now have the BE server component installed. Enable it in your game server's config with \"`BattlEye=1;`\".\n1. Start the server again and watch the log file (usually \"`log.2302.txt`\"). With BattlEye enabled, you'll see an extra line of output when the server is started. For example:\n\n   `14:20:22 BattlEye Server: Initialized (v1.122)`\n1. ***(Optional)*** In order to administrate your BE server remotely, you'll need to create a configuration file for the BE server. It should be named \"`beserver.cfg`\" and placed in the BE directory you just created.\n   We'll create one and set the admin password to \"*mypassword*\". (You should change the password used in this example to something better).\n   - For an Arma 2 server, run:\n\n   `echo \"RConPassword mypassword\" > ./battleye/beserver.cfg`\n   - For an Arma 2:OA server, do this:\n\n   `echo \"RConPassword mypassword\" > ./expansion/battleye/beserver.cfg`\n   - For an Arma 3 server, do this:\n\n   `echo \"RConPassword mypassword\" > ./battleye/launch/beserver.cfg`\n   - For more details, see the section below on RCon."},{"heading":"Configuration","level":4,"markdown":""},{"heading":"Client","level":5,"markdown":"Apart from installation there is no additional configuration required for game clients."},{"heading":"Server","level":5,"markdown":"Refer to the server config section on how to enable BattlEye on a game server.\n\n> [!IMPORTANT]\n> If you run multiple game servers on one machine, you need to specify separate BE paths for each in the server startup parameters."},{"heading":"64-bit support","level":3,"markdown":"The 64-bit version of Arma 3 uses 64-bit dlls: BEClient_x64.dll and BEServer_x64.dll, as well as BEServer_x64.cfg for configuration."},{"heading":"BE commands","level":3,"markdown":"> [!IMPORTANT]\n> The #beserver command has been disabled for now, due to the game admin hijacking hack.\n> You need to use the BE RCon tool to ban players from your server.\n\n> [!IMPORTANT]\n> The commands are case insensitive. In other words you can write them all lower case."},{"heading":"GUID banning","level":4,"markdown":"***BE*** can permanently or temporarily ban players from your server. The advantage over Arma 2's *PID* banning is that the BE *GUID* cannot be hacked/changed client-side, therefore the only way for a player to get unbanned is to buy a new *game/cd-key*.\n\nThe following commands are available to manage *GUID* bans:\n\n| Command | Description |\n|---|---|\n| `loadBans` | (Re)load the BE ban list from bans.txt. |\n| `bans` | Show a list of all BE server bans. |\n| `ban` *[player #] [time in minutes] [reason]* | Ban a player's BE GUID from the server. If time is not specified or `0`, the ban will be permanent; if reason is not specified the player will be kicked with \"Banned\". |\n| `addBan` *[GUID] [time in minutes] [reason]* | Same as \"ban\", but allows to ban a player that is not currently on the server. |\n| `removeBan` *[ban #]* | Remove ban (get the ban # from the bans command). |\n| `writeBans` | removes expired bans from bans file |\n\nYou can either enter them via BE RCon or in-game using \"`#beserver [command]`\" (if logged in as admin). For example:\n\n`#beserver ban 11`\n\nKeep in mind that the \"`player #`\" used here is the one listed by BE's \"*players*\" command.\n\nBattlEye *GUID* and *IP* bans will now both be loaded from and saved to \"`bans.txt`\" (no longer \"`guidbans.txt`\" and \"`ipbans.txt`\") in your server's BE working directory.\nTimed bans're saved into bans.txt as timestamp of end-date(unixformat)"},{"heading":"RCon","level":3,"markdown":"**Latest version**\n\n`b0.94`.\n\nSince BattlEye server version `1.102` you can control your Arma game server remotely (without having to be in-game) using the *BattlEye RCon tool*.\n\n1. Download the [BattlEye RCon tool (BERCon.exe)](http://www.battleye.com/downloads/BERCon.exe).\n1. Create a file called `beserver.cfg` (or `beserver_x64.cfg` for 64-bit server) in ***BattlEye working directory*** on the server.\n1. Set private *RCon password* in the `beserver.cfg` (or `beserver_x64.cfg` for 64-bit server) via setting \"RConPassword\"\n1. Set *custom BattlEye's RCON port* defined in `beserver.cfg` (or `beserver_x64.cfg` for 64-bit server) via setting \"RConPort\" (*for Arma 3 update 1.58.135656 and newer builds*)\n1. Set *optional BattlEye's RCON IP* defined in `beserver.cfg` (or `beserver_x64.cfg` for 64-bit server) via setting \"RConIP\" (*for Arma 3 update 1.58.135656 and newer builds*)\n1. Start the RCon tool binary and connect to server with its *IP*, *port* and *RCon password*.\n\nRconPort must avoid reserved ARMA3server port range (gameport *+0,+1,+2,+3,+4))\ndefault reserved ports are 2302 - 2306 (to clarify the reserved ports can't be used for BattlEye's RCON).\nexample for default server setting, RconPort 2301\n\nRconIP entry isn't needed, as when undefined it equals to value of 0.0.0.0 (all IPv4 local IP addresses used at once)\nsetting it to e.g. 127.0.0.1 will prevent it to respond on external IP\nsetting it to e.g. external IP will prevent it to respond on localhost 127.0.0.1"},{"heading":"BattlEye working directory","level":4,"markdown":"The BattlEye working directory is a folder in one of three places:\n\n1. A folder named \"*BattlEye*\" within the Arma 2 application data folder.\n1. A folder named \"*BattlEye*\" in the path given by the \"`-profiles`\" startup parameter.\n1. In a folder given by the \"`-bepath`\" startup parameter.\n\n> [!IMPORTANT]\n> Even with custom locations you will still need the BattlEye *.dll's* or *.so's* **ALSO in the default location** (\"<*arma2*>\\BattlEye\" for Arma 2 or \"<*arma2*>\\Expansion\\BattlEye\" for Arma 2:OA/CO) for BattlEye to start."},{"heading":"The Arma 2 application data folder","level":5,"markdown":"In *Windows Vista, 7 and 2008*, that's the path given by \"`%LOCALAPPDATA%\\Arma 2`\" for Arma 2 and \"`%LOCALAPPDATA%\\Arma 2 OA`\" for the Arrowhead dedi. A typical value is:\n\n`C:\\Users\\username\\AppData\\Local\\Arma 2`\n\nIn *Windows XP and 2003*, the application data folder is \"`%USERPROFILE%\\Local Settings\\Application Data\\Arma 2`\". A typical example is:\n\n`C:\\Documents and Settings\\username\\Local Settings\\Application data\\Arma 2`\n\nThese locations are the default and are used, if you launch the dedicated server **without** using either the \"`-profiles`\" or \"`-bepath`\" launch parameters."},{"heading":"The -profiles location","level":5,"markdown":"The path given as the \"`-profiles=...`\" startup parameter used when launching the Arma 2 dedi. If, for example, you would launch the Arma 2:OA dedicated server using:\n\n`arma2oaserver.exe -profiles=D:\\Games\\ArmA2`\n\nthen the BattlEye working directory would be:\n\n`D:\\Games\\ArmA2\\BattlEye`\n\n> [!IMPORTANT]\n> Even if using custom locations you will still need the *.dll's* or *.so's* **ALSO in the default location** (\"<*arma2*>\\BattlEye\" for Arma 2 or \"<*arma2*>\\Expansion\\BattlEye\" for Arma 2:OA/CO) for BattlEye to start."},{"heading":"The -bepath location","level":5,"markdown":"You can also specify the BattlEye working directory directly using the startup parameter \"`-bepath`\". Example:\n\n`arma2oaserver.exe -bepath=D:\\MyBattlEye`\n\nIn this case, the BattlEye working directory will be:\n\n`D:\\MyBattlEye`\n\nIf path contains spaces, encase everything in quotes:\n\n`arma2oaserver.exe \"-bepath=D:\\My BattlEye\"`\n\n> [!IMPORTANT]\n> Even if using custom locations you will still need the *.dll's* or *.so's* **ALSO in the default location** (\"<*arma2*>\\BattlEye\" for Arma 2 or \"<*arma2*>\\Expansion\\BattlEye\" for Arma 2:OA/CO) for BattlEye to start."},{"heading":"Full examples","level":5,"markdown":"Here are examples of the full paths to the \"`beserver.cfg`\" file for a few different cases.\n\n- The examples assume that the username of the user that will run the servers is \"*jimbob*\".\n- \"*Arma 2*\" means running the \"`arma2server.exe`\" whereas \"*Arma 2:OA*\" means you're launching \"`arma2oaserver.exe`\".\n\n| To Launch | Follow Path |\n|---|---|\n| Arma 2, Windows 7/Vista/2008, default: | C:\\Users\\jimbob\\AppData\\Local\\Arma 2\\BattlEye\\beserver.cfg |\n| Arma 2:OA, Windows 7/Vista/2008, default: | C:\\Users\\jimbob\\AppData\\Local\\Arma 2 OA\\BattlEye\\beserver.cfg |\n| Arma 2, Windows XP, default: | C:\\Documents and Settings\\jimbob\\Local Settings\\Application data\\Arma 2\\BattlEye\\beserver.cfg |\n| Arma 2:OA, Windows XP, default: | C:\\Documents and Settings\\jimbob\\Local Settings\\Application data\\Arma 2 OA\\BattlEye\\beserver.cfg |\n| Any Arma 2, any Windows, *-profiles=D:\\profiles*: | D:\\profiles\\BattlEye\\beserver.cfg |"},{"heading":"Linux","level":5,"markdown":"For Linux dedicated servers, the default locations are:\n\n- For the Arma 2 dedi, it is \"`./battleye`\"\n- For the Arma 2:OA dedi, it is \"`./expansion/battleye`\""},{"heading":"Sample beserver.cfg","level":4,"markdown":"```\nRConPassword xyzxyz\nMaxPing 200\n```"},{"heading":"RCon commands","level":4,"markdown":"> [!IMPORTANT]\n> The commands are case insensitive. In other words you can write them all lower case.\n\n| Command | Description |\n|---|---|\n| `loadScripts` | loads the \"`scripts.txt`\" file without the need to restart the server. |\n| `missions` | Returns a list of the available missions on the server. |\n| `players` | Displays a list of the players on the server including BE GUIDs and pings. |\n| `kick` *[player#]* | Kicks a player. His `#` can be found in the player list using the \"`players`\" command. |\n| `RConPassword` *[password]* | Changes the RCon password. |\n| `MaxPing` *[ping]* | Changes the *MaxPing* value. If a player has a higher ping, he will be kicked from the server. |\n| `logout` | Logout from current server, but do not exit the program. |\n| `Exit` | Closes the connection. |\n| `Say` *[player#]* | Say something to *player #*. `-1` equals **all players** on server (*e.g.* \"`Say -1 Hello World!`\") |\n| `#mpmissions` | (Since Arma 3 2.22) Lists available missions on the server, selectible with `#mission <missionname.world>` command. Works with custom `-mpmissions=` |\n\n**Server commands are passed directly to server:** `#mission [missionName]` - Loads the given mission on the server.\n\n> [!IMPORTANT]\n> Look at the GUID banning section for additional commands."},{"heading":"Support","level":3,"markdown":"- [BE Support page with contact details](http://www.battleye.com/support.html)\n- [Frequently Asked Questions:](http://www.battleye.com/support.html)\n  - I am getting kicked for the following violation(s). I don't use hacks, so what can I do to resolve this?\n  - How do I enable BattlEye in-game to be able to play on BE-enabled servers?\n  - Are administrator rights required when playing with BattlEye enabled?\n  - I am using a 64-bit operating system but can't seem to find the right files in the download section. Is 64-bit unsupported?\n  - I am running multiple dedicated servers from one installation. Is there anything I have to keep in mind regarding BattlEye?\n- Official BattlEye threads in the BI forum\n  - [BattlEye Installer (A2:OA)](http://forums.bistudio.com/showthread.php?t=109915)\n  - [RCon server administration](http://forums.bistudio.com/showthread.php?t=95454)\n  - [BattlEye GUID banning](http://forums.bistudio.com/showthread.php?t=96228)\n  - [New BattlEye features for server admins](http://forums.bistudio.com/showthread.php?131759-New-BattlEye-features-for-server-admins)\n  - [Explanation: Why does BattlEye need administrator privileges now?](http://forums.bistudio.com/showthread.php?104242-Explanation-Why-does-BattlEye-need-administrator-privileges-now)"}],"categories":["ArmA: Armed Assault: Multiplayer","Arma 2: Multiplayer","Arma 3: Multiplayer"],"groups":["Multiplayer and Server"]}