Prerequisites
- FiveM server artifact 7290 or newer
- OneSync enabled
- QBox, QBCore, or ESX
oxmysqlrunning before YB Admin for persistence- The included
web/distproduction interface
1
Add the resource
Place the complete resource in your server’s resources directory.Keep the folder named
yb-admin. If you rename it, update Config.ResourceName in config.lua.2
Set the start order
Start the database, framework, and optional integrations before YB Admin.Do not run multiple frameworks. QBox must start before
yb-admin because it also provides compatibility behavior used by some QBCore resources.3
Configure an owner
Open Owner identifiers are server-only. Never move them to
editable/server.lua and add at least one trusted identifier.config.lua or a client file.4
Configure Discord logs
Open Use separate category URLs when you want different Discord channels for reports, staff activity, bans, items, or screenshots.
editable/server/webhooks.lua and set a fresh webhook URL.5
Start and verify
Restart the server or run:Join with the configured owner identifier, run
/admin, select Go On Duty, then open Admin Panel.ACE group assignment
You can assign a configured group fromserver.cfg instead of adding a database staff record:
helper, mod, admin, dev, superadmin, and owner.
Database setup
No SQL import is required. Whenoxmysql is available, YB Admin creates these tables automatically:
yb_admin_groupsyb_admin_staffyb_admin_staff_profilesyb_admin_settingsyb_admin_logsyb_admin_reportsyb_admin_bansyb_admin_jails
Reports and panel logs are session-scoped by default and are cleared when the resource starts. Discord audit messages are not affected.
Verify the installation
You should see a permissions-ready message in the FXServer console with the detected framework and database state. Confirm that:/adminopens the mini menu- Go On Duty changes to the red off-duty action
- Admin Panel opens the full workspace
- The sidebar only shows sections allowed by the current group
- Personal settings remain after reconnecting when
oxmysqlis running