← Back to Home

Installation Guide

Get Pilot AC running on your FiveM server in under 5 minutes

Table of Contents

  1. Requirements
  2. Get Your License
  3. Download the Resource
  4. Install on Your Server
  5. Verify It's Working
  6. Configure Detections
  7. Set Up Discord Webhooks
  8. Add Staff Members
  9. Whitelist Players
  10. Uninstall
  11. Troubleshooting

1. Requirements

Before installing Pilot AC, make sure your server has:

RequirementDetails
FiveM ServerAny FiveM server with OneSync enabled
oxmysqlMySQL resource for FiveM (GitHub)
MySQL DatabaseAny MySQL/MariaDB database (already required by most frameworks)
FrameworkQBCore, ESX, or Standalone — Pilot AC auto-detects
Note: If you're running QBCore or ESX, you already have oxmysql and a database. No extra setup needed.

2. Get Your License

1

Go to the Pilot AC Panel

Visit the panel and log in with Discord:

https://pilotac.com/panel/
2

Purchase or Receive a License

Contact the Pilot AC team to get your license key. Once activated, you'll see it in the License section of the panel.

3. Download the Resource

1

Go to License page in the panel

You'll see your license with a green "Download Resource (pilot-ac.zip)" button.

2

Click Download

The .zip file comes with your license key already configured. No need to edit any files.

Pro tip: Your license key is pre-configured in config.lua inside the zip. You don't need to paste it manually.

4. Install on Your Server

1

Extract the zip

Extract pilot-ac.zip. You'll get a folder called pilot-ac.

2

Move to resources

Move the pilot-ac folder into your server's resources/ directory:

resources/
├── [core]/
├── [standalone]/
├── pilot-ac/          <-- here
│   ├── fxmanifest.lua
│   ├── config.lua
│   ├── shared/
│   ├── server/
│   └── client/
└── ...
3

Add to server.cfg

Add this line to your server.cfg. Make sure it loads after oxmysql:

ensure oxmysql
ensure pilot-ac
4

Start your server

Start (or restart) your FiveM server. Pilot AC will automatically:

Important: Pilot AC must load AFTER oxmysql and your framework (qb-core or es_extended). The ensure order matters.

5. Verify It's Working

When Pilot AC starts correctly, you'll see this in your server console:

  ██████╗ ██╗██╗      ██████╗ ████████╗     █████╗  ██████╗
  ██╔══██╗██║██║     ██╔═══██╗╚══██╔══╝    ██╔══██╗██╔════╝
  ██████╔╝██║██║     ██║   ██║   ██║       ███████║██║
  ██╔═══╝ ██║██║     ██║   ██║   ██║       ██╔══██║██║
  ██║     ██║███████╗╚██████╔╝   ██║       ██║  ██║╚██████╗
  ╚═╝     ╚═╝╚══════╝ ╚═════╝    ╚═╝       ╚═╝  ╚═╝ ╚═════╝

[Pilot AC] v1.0.0 - Starting up...
[Pilot AC] Framework detected: QBCore
[Pilot AC] Database tables ready
[Pilot AC] License validated successfully
[Pilot AC] Pilot AC is now protecting this server!
[Pilot AC] Framework: qbcore | Detections: 15 active

If you see "Pilot AC is now protecting this server!", everything is working.

6. Configure Detections

You can configure Pilot AC in two ways:

Option A: From the Web Panel (Recommended)

Go to the Config page in the panel. Toggle detections on/off and adjust thresholds in real-time. Changes apply immediately — no server restart needed.

Option B: Edit config.lua

Open pilot-ac/config.lua and edit the values directly. Restart the resource after changes:

-- In your server console:
restart pilot-ac

Available Detections

DetectionWhat It DetectsDefault
God ModePlayer health doesn't decrease after damageON
TeleportImpossible movement distanceON
Speed HackVehicle or on-foot speed exceeding limitsON
NoclipFlying without vehicle, under mapON
Weapon SpawnWeapons not given by the serverON
Vehicle SpawnVehicles not spawned legitimatelyON
ExplosionsExplosion spam or blacklisted typesON
Resource InjectionLua executors and injected resourcesON
Ped ModelUnauthorized player model changesON
FreecamCamera detached from player pedON
InvisibilityPlayer made themselves invisibleON
Super JumpAbnormal jump heightON
Entity SpamMass object/ped/vehicle creationON
Mass ActionOne player affecting all othersON
Self ReviveSelf-resurrection without game mechanicsON

7. Set Up Discord Webhooks

To receive alerts in your Discord server:

1

Create webhooks in Discord

Go to your Discord server → Channel Settings → Integrations → Webhooks → New Webhook. Create separate webhooks for each category (recommended).

2

Paste URLs in config.lua

Config.Webhooks = {
    enabled = true,
    detections = 'https://discord.com/api/webhooks/YOUR_WEBHOOK_URL',
    bans = 'https://discord.com/api/webhooks/YOUR_WEBHOOK_URL',
    joins = 'https://discord.com/api/webhooks/YOUR_WEBHOOK_URL',
    admin = 'https://discord.com/api/webhooks/YOUR_WEBHOOK_URL',
    serverName = 'My Server',
}

8. Add Staff Members

Your staff can manage the anti-cheat from the panel without needing your account:

  1. Go to Staff in the panel
  2. Select your server
  3. Click Add Staff
  4. Enter the staff member's Discord ID
  5. Choose their role: Staff (ban/unban, view) or Manager (full control)
Note: The staff member must log in to the panel with Discord first before you can add them.

9. Whitelist Players

Need a developer or tester to use tools without getting banned?

  1. Go to Whitelist in the panel
  2. Select your server
  3. Click Add to Whitelist
  4. Enter the player's identifier (e.g. license:abc123, steam:110000xxx, or discord:123456)

Whitelisted players are completely exempt from all detections and auto-bans.

10. Uninstall

Pilot AC is 100% self-contained. To uninstall:

  1. Remove ensure pilot-ac from server.cfg
  2. Delete the pilot-ac folder from resources/
  3. (Optional) Run database_cleanup.sql to remove database tables
Clean uninstall: No files are modified outside the pilot-ac folder. Nothing is left behind.

11. Troubleshooting

"LICENSE INVALID OR EXPIRED"

"oxmysql" errors

False positives

Need help?

Join our Discord server for support.

© 2026 Pilot AC. All rights reserved.