Applies to: FiveM with QBCore on the Gravel Host Panel · Time: about 10 minutes · Difficulty: Intermediate
Admin permissions give you full control of your QBCore server in game, including the admin menu and admin commands. You grant them in server.cfg with your player's license identifier.
Only give
qbcore.godto people you trust completely. It allows every command on the server.
license:.In the panel, open Files and click server.cfg to edit it.
Find the permissions section. A standard QBCore server.cfg already has these lines:
add_ace qbcore.god command allow
add_principal qbcore.god group.admin
add_principal qbcore.god qbcore.admin
add_principal qbcore.admin qbcore.mod
Under them, add one line for each player, with the license you copied and the level you want to give:
add_principal identifier.license:xxxxxx qbcore.god # Player Name
add_principal identifier.license:xxxxxx qbcore.admin # Player Name
add_principal identifier.license:xxxxxx qbcore.mod # Player Name
Save the file and restart the server.
| Level | What it gives |
|---|---|
qbcore.god |
Every command, plus everything admin and mod can do |
qbcore.admin |
Admin commands, plus everything mod can do |
qbcore.mod |
Moderator commands only |
The levels QBCore uses are set in qb-core/config.lua under QBConfig.Server.Permissions.
Rejoin the server and open the admin menu with /admin. If it opens, your permission is active.
The license in server.cfg must match yours exactly, including the license: part, and the server must be restarted after you save. Also check that the permission lines are not commented out with # at the start.
Source: QBCore documentation, Setting Permissions
Still stuck? Our team is on Discord, or open a ticket from the Billing Panel.