Skip to main content

Managing Security: Script Restrictions

BattlEye is an aggressive anti-cheat solution designed to protect Arma 3 servers from unauthorized code execution. However, by default, it blocks many strong scripts used in popular community missions like Antistasi, Exile, or Hearts and Minds. “Script Restriction #0” kicks occur when a legitimate mission script triggers a generic security filter. This guide explains how to identify and resolve these conflicts safely.

Difficulty

Advanced

Time

15 Minutes

Analyzing the Kick

When a player is removed from the server for a “Script Restriction,” BattlEye generates a detailed log entry that tells you exactly which piece of code was blocked.
1

Locate the Log File

In the Game Panel File Manager, navigate to the /battleye/ directory and open scripts.log.
2

Interpret the Entry

Look for the most recent line in the file.
  • Example: 23.01.2026 14:00:00: PlayerName (IP:Port) GUID - #0 "player setVelocity [0,0,10];"
  • #0: This is the filter index (referencing a line in your filter file).
  • “player setVelocity…”: This is the exact code that caused the kick.

Adding Filter Exceptions

To allow a specific script to run without compromising your server’s overall security, you must add an exception to your BattlEye configuration.
1

Open the Filter File

Open /battleye/scripts.txt in the File Manager.
2

Find the Relevant Filter

Locate the line number corresponding to the kick (e.g., if the log said #0, find the first active line in the text file).
3

Append the Exception

Add != followed by the exact code snippet found in the log at the end of that line.
  • Original Line: 7 setVelocity
  • Modified Line: 7 setVelocity !=player setVelocity [0,0,10]
This is the “Kick” mode. It is the most secure but requires the most maintenance to ensure legitimate scripts aren’t blocked.


Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to get a new server? Use code KB20 at checkout for 20% off your first month!

Last Updated: January 2026 | Arma 3: Filters refined.