Installation

Requirements

  • FiveM server
  • oxmysql resource
  • MySQL database

Installation Steps

1. Download the Resource

Extract the guardex_ac folder to your server's resources directory.

2. Database Setup

The necessary tables will be created automatically when the resource starts.

3. Add to server.cfg

ensure oxmysql
ensure guardex_ac

# Add ACE permissions for admins
add_ace group.admin guardex.admin allow

# Add your admin to the group
add_principal identifier.license:YOUR_LICENSE_HERE group.admin

# Required for player identifiers
set sv_exposedPlayerIdentifiersInHttpEndpoint "steam,license,discord"

4. Restart Your Server

The anticheat will initialize and create all necessary database tables.

Important Note

Make sure to replace YOUR_LICENSE_HERE with your actual FiveM license identifier. You can find this by connecting to your server and checking the server console or by using the /info command in-game.