Complete documentation for installing, configuring, and using XeroShield anticheat for your FiveM server.
Follow these steps to install XeroShield on your FiveM server:
After purchasing XeroShield, you will receive a license key via email. Enter this license key in our panel to activate your copy.
Download the latest version of XeroShield from our panel.
Add the following line to your server.cfg file to ensure XeroShield starts with your server:
ensure xeroshield
After starting your server, run the following commands in the server console to complete the installation:
xero install
xero safeinstall
XeroShield provides various commands to manage and configure the anticheat system.
Type xero commands
to see a list of all available commands. Here are some of the most commonly used commands:
Command | Description |
---|---|
xero install |
Installs our resource and entity protection |
xero safeinstall |
Installs our safeevent system |
xero unban [banID] |
Unban a player |
xero ban [id] [reason] |
Ban a player |
xero screen [id] |
ScreenShots a player |
xeromenu |
Opens the admin panel |
XeroShield uses a permission system to determine who can bypass certain checks or use administrative commands.
Tx Admin whitelist only gives you bypass to the detections. This means players in the Tx Admin whitelist will not trigger anticheat detections.
Detection Bypass:
XeroShield.Bypass
Command Bypass:
XeroShield_Command.Bypass
Menu Bypass:
XeroShield_Menu.Bypass
You can add any identifier in the config panel for bypass. This allows you to whitelist specific players without using Ace permissions or txadmin.
Supported identifier types:
XeroShield provides server-side exports that you can use in your own resources.
Ban a player from your server:
exports['resourcename']:BanPlayer(source, Reason, Desc)
Parameters:
source
- Player server IDReason
- Ban reasonDesc
- DescriptionUnban a player:
exports['resourcename']:UnbanPlayer(BanID)
Parameters:
BanID
- The ID of the ban to removeXeroShield provides client-side exports that you can use in your own resources.
Take a screenshot of a player's game:
local screenshotURL, errorMsg = exports['resourcename']:TakeScreenshot()
if screenshotURL then
print("Screenshot url: " .. screenshotURL)
else
print("Screenshot error: " .. tostring(errorMsg))
end
Record a short video of a player's game:
local VideoUrl, errorMsg = exports['resourcename']:RecordVideo()
if VideoUrl then
print("Video url: " .. VideoUrl)
else
print("Video error: " .. tostring(errorMsg))
end
Common issues and their solutions:
If you encounter issues during installation, try the following:
If legitimate players are being flagged by the anticheat:
If you need additional help, please contact our support team through: