Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Permissions

This is the ESX version, which uses ESX groups to manage the permission system.

-------------------------------------------------
-- ESX Permissions / Permissions ESX
-------------------------------------------------
-- FR: Groupes ESX autorisés à accéder au panel admin
-- EN: ESX groups allowed to access the admin panel
Permissions.ESX = {
    allowedGroups = {
        'admin',
        'superadmin',
        'mod'
    }
}

Here is the QBCore version for permissions. You can use the group system or permissions via the FiveM license, Discord, or Steam.

-------------------------------------------------
-- QBCore Permissions / Permissions QBCore
-------------------------------------------------
-- FR: Permissions QBCore autorisées à accéder au panel admin
-- EN: QBCore permissions allowed to access the admin panel
Permissions.QBCore = {
    allowedPermissions = {
        'admin',
        'god'
    }
}

-- FR: Utiliser les licences Ace Permissions (true) ou les permissions QB internes (false)
-- EN: Use Ace Permissions licenses (true) or internal QB permissions (false)
Permissions.QBCore.useAcePermissions = true

-- FR: Licences Ace Permissions autorisées (seulement si useAcePermissions = true)
-- EN: Allowed Ace Permissions licenses (only if useAcePermissions = true)
-- Example: 'license:abc123', 'steam:110000123456789', 'discord:123456789012345678'
Permissions.QBCore.allowedLicenses = {
    --'license:12345',
    -- 'steam:110000123456789',
    -- 'discord:123456789012345678'
}

Last updated