FiveMGuideThe txAdmin panel and the in-game admin menu are separate. Grant yourself in-game admin on FiveM: two server.cfg lines for QBCore, one setgroup command for ESX.
The web panel (txAdmin) and the in-game admin menu are two different systems. The in-game one comes from your framework, and you grant it yourself: QBCore uses two lines in your server.cfg, ESX uses one console command. Both take about two minutes.
Most frameworks identify you by your Rockstar license. To find yours: press Open txAdmin on your server page, click your player in the Players list, and copy the license: value. (You need to be connected to the server at the time.) New to the panel? See Manage your server with txAdmin.
Open your server's Files tab and open server-data/server.cfg (this file is yours; edits stick).
Add these two lines, with your own license value:
```
add_principal identifier.license:YOUR_LICENSE_HERE qbcore.god
add_principal identifier.license:YOUR_LICENSE_HERE qbcore.admin
```
Restart the server. Then in game, type /admin to open the admin menu.
Once you are a god, you can promote others in game with /addpermission [id] [permission], or from the admin menu's Player Management tab.
ESX keeps admin in your server's database, not in server.cfg.
Connecting once creates your player row in the database.
Open txAdmin > Live Console and run this, using the server ID shown next to your name in the player list:
```
setgroup [your server id] admin
```
That's it. The change is saved to your character, so it survives restarts.
No console handy? The same change works as a SQL file: drop a one-line .sql into server-data/sql/ and restart (full guide: Import SQL files into your server's database):
```sql
UPDATE users SET group = 'admin' WHERE identifier = 'license:YOUR_LICENSE_HERE';
```
Adding yourself as a txAdmin admin does not give you in-game admin. They are separate systems.
superadmin is not a real ESX group anymore; use admin.
Editing haptic.cfg will not work and is not needed; your own lines belong in server.cfg.
Message us on Discord with your server name, the framework you chose, and a screenshot of what happens when you try the admin menu.