FiveMGuideGrant yourself the framework admin menu: two server.cfg lines for QBCore, one console 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: QBCore takes two lines in your server.cfg, ESX takes one console command.
Frameworks identify you by your Rockstar license. Open txAdmin from your server page, click your player in the Players list while you are connected, and copy the license: value.
In your server's Files tab, 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.adminRestart the server, then type /admin in game to open the admin menu. Once you are a god you can promote others in game with /addpermission [id] [permission].
ESX keeps admin in your server's database, not in server.cfg. Join your server once (this creates your player row), then open txAdmin > Live Console and run, with the server ID shown next to your name in the player list:
setgroup [your server id] adminThe change saves to your character and survives restarts. No console handy? The same change works as a one-line .sql file dropped into server-data/sql/ (see Import SQL files):
UPDATE users SET `group` = 'admin' WHERE identifier = 'license:YOUR_LICENSE_HERE';Adding yourself as a txAdmin admin. That is the web panel, not the in-game menu; they are separate systems.
Using the old superadmin group in ESX. It no longer exists; use admin.
Editing haptic.cfg. Your own lines belong in server.cfg.