FiveMGuideIn-game admin powers come from your framework, and you grant them yourself. QBCore takes four lines in your server.cfg. Qbox takes one line. ESX takes…
In-game admin powers come from your framework, and you grant them yourself. QBCore takes four lines in your server.cfg. Qbox takes one line. ESX takes three lines in server.cfg and one console command. You type commands in the Console card on your server page, or in txAdmin's Live Console if you linked a Cfx.re account.

No Cfx.re account linked: your server runs without txAdmin. Type in the Console card's command box and press Enter.
Cfx.re account linked: your server runs txAdmin. Press Open txAdmin and type in its Live Console. New to it? See Manage your server with txAdmin.
Permission changes typed there last until the next restart. Anything that should stay goes in your server.cfg: open the Files card, then server-data/server.cfg. That file is yours. Haptic never overwrites it, and your server reads it every time it starts.
QBCore and Qbox need your identifier: fivem: followed by your Cfx.re ID, a number. There are two ways to find it.
In the console: type list_principals. FiveM adds the Cfx.re account that owns your server's license key to the admin group by itself, so one line is there that you never added, such as identifier.fivem:1234567 <- group.admin. If you made the license key on your own Cfx.re account, that number is yours.
On Cfx.re: open forum.cfx.re/my/summary, expand your account info and copy the digits after fivem:. It is the same number Haptic asks for when you link a Cfx.re account.
This identifier is yours whenever you play signed in to your Cfx.re account. With txAdmin you can use your Rockstar license instead: click your player on txAdmin's Players page, copy the license: value, and write identifier.license: followed by it wherever this guide says identifier.fivem:1234567.
Add these four lines to the end of server-data/server.cfg, with your own number in place of 1234567:
add_ace resource.qb-core command allow
add_ace qbcore.god command allow
add_principal identifier.fivem:1234567 qbcore.god
add_principal identifier.fivem:1234567 qbcore.adminThe first line lets QBCore set up its own permission levels. Haptic's own config has the same line, so having it twice does no harm. The second line lets gods use every command, as QBCore's own setup does.
Restart your server with the Power buttons. Then type this, with your number:
test_ace identifier.fivem:1234567 adminIt answers identifier.fivem:1234567 -> admin = true. In game, type /admin to open the admin menu.
Gods can promote others in game with /addpermission [id] [permission]. That does not survive a restart, so give lasting admins their own lines in server.cfg.
Qbox is QBOX in the Framework setting. Haptic already sets up Qbox's admin groups, so you only join group.admin. If you made your server's license key on your own Cfx.re account, FiveM has already made that account an admin.
Add this line to the end of server-data/server.cfg, with your own number in place of 1234567:
add_principal identifier.fivem:1234567 group.adminTo let admins run every server command, including the ones that stop the server, also add add_ace group.admin command allow.
Restart your server with the Power buttons. Then type this, with your number:
test_ace identifier.fivem:1234567 adminIt answers identifier.fivem:1234567 -> admin = true. In game, Qbox's admin commands such as /car, /tp, /setjob and /giveitem now work for you. Haptic's Qbox install has no admin menu. You can add one like any other resource.
ESX keeps your group in your server's database and gives you its permissions when you join.
Add these three lines to the end of server-data/server.cfg, then restart:
add_ace resource.es_extended command.add_ace allow
add_ace resource.es_extended command.add_principal allow
add_ace resource.es_extended command.remove_principal allowThey come from ESX's own setup and let ESX give you its admin commands when you join. Haptic's own config has the same lines, so having them twice does no harm.
Join your server, stay connected, and type:
playersESX lists everyone online with an ID, a name, a group and an identifier. Your ID is the number next to your name.
setgroup 1 adminPut your own ID in place of 1. ESX saves the group to your character, so it survives restarts. If ESX answers Specified Player is not online, check the ID with players again.
Typing add_principal in the console works only until the next restart.
Adding yourself as a txAdmin admin does not make you an in-game admin: txAdmin and the in-game menu are separate systems.
superadmin is not a real ESX group anymore, so use admin.
On Qbox, the QBCore lines (qbcore.god, qbcore.admin) do nothing: Qbox uses group.admin.
Editing haptic.cfg does not stick: Haptic writes it fresh at every start, and your lines belong in server.cfg.
A command that starts with / fails in the console with No such command.
Message us on Discord with your server name, your framework, and what the console printed.