Frameworks

The resource automatically detects and integrates with popular FiveM frameworks. No additional configuration is required for framework integration.

ESX Legacy Integration

How It Works:

  • Automatically detects if es_extended resource is running

  • Retrieves player data using ESX.GetPlayerData()

  • Checks both job.name and job.grade_name against whitelist

  • No additional setup required

Example Configuration:

Config.Whitelist.Groups = {
    "admin",        -- ESX admin job
    "police",       -- ESX police job
    "ambulance",    -- ESX ambulance job
}

QBCore Integration

How It Works:

  • Automatically detects if qb-core resource is running

  • Retrieves player data using QBCore.Functions.GetPlayerData()

  • Checks job.name against whitelist

  • No additional setup required

Example Configuration:

Standalone Mode

How It Works:

  • If no framework is detected, the resource runs in standalone mode

  • Whitelist system is disabled (all players are subject to AFK kicks)

  • All other features work normally

  • No additional configuration needed

When to Use:

  • Custom frameworks

  • Servers without frameworks

  • Testing environments

Last updated