Skip to main content

Installation

What are the steps to build the best anticheat for your server?

Please be patient, read through the entire documentation, and you'll be protecting your server like a pro — not just relying on Pegasus. 😉


Step 1: Get PegasusAC

Before proceeding, you need to obtain PegasusAC. You can purchase it from our Tebex store.
Once purchased, Tebex will automatically assign you the Customer role on our Discord.

Download PegasusAC from your CFX Granted Assets section.

By now, you should have two things:

  • The PegasusAC files
  • The screenshot-basic resource

Step 2: Configuration

The first thing you need to do is configure the anticheat.

Navigate to: PegasusAC/server/sv_config.lua

✅ Important Configuration Steps

  • Fill in all of your webhooks

2025-03-28 20_47_16-sv_config lua - resources - Visual Studio Code  Administrator

  • Set up your identifiers in the permissions.json folder

2025-03-28 20_48_18-● permissions json - resources - Visual Studio Code  Administrator

Once that’s done, join your server for the first time. Pegasus will automatically whitelist everything you spawn or interact with.
This happens for all admins until you disable setup mode.

⚠️ Make sure your admins do not spawn any object/vehicle/ped that shouldn't be allowed — Pegasus will whitelist them automatically during this setup phase.

You can control setup mode using the SetupMode variable:

Pegasus.CL.EnableSetupMode = true  -- enables setup mode
Pegasus.CL.EnableSetupMode = false -- disables setup mode

image