BattlEye RCon

BattlEye RCon
Written by Philipp
Updated 10 months ago

BattlEye RCon is used by the following CFTools supported titles:

  • DayZ (PC)
  • ArmA 2
  • ArmA 3

General

BattlEye RCon is a configurable optional UDP based protocol allowing specific remote control operations to be made for supported game servers.

The BE-RCon interface can be configured through a dedicated configuration file `BEServer_x64.cfg` (Windows) or `beserver_x64.cfg` (Linux).

Configuration File

The location of the configuration file is dependent on the hosting environment, and does not have a pre-defined place.

Common locations are within `profiles/BattlEye` (`profiles` may be `config` or `SC` or be named differently). It is generally located where the `BEServer_x64.dll` is located.

The configuration syntax does not allow for many options, the documented functioning parameters are documented in the table below.

Parameter Possible value Details
RConPassword <string> Your RCon password. Maximum of 32 characters. No special symbols or spaces allowed.
RestrictRCon 1 or 0 When set to 1, this will restrict all RCon connections and prevent certain actions such as kicking, banning or shutting the server down. When not defined, default value is 1.
RConPort <int> Allows to change the port BattlEye listens for RCon traffic.
LogFile <string> (OPTIONAL) Path to where a log file of RCon communication should be stored.
RConIP <string> (OPTIONAL) IPv4 for the RCon interface. Should only be used if the game server itself has been bound to a specific network interface.

Firewall considerations

BattlEye RCon is a UDP based protocol running on the configured RConPort.
We suggest the RConPort to be the game port + 3.
Example: Game Port: 2302; RConPort = 2302+3 => 2305

CFTools Cloud

The RCon interface must be available over the internet and firewall rules must be made approriately.

For kicks etc. to function `RestrictRCon` must be set to the value of `0`.

Did this answer your question?