Frameworks
Every framework the fivedash resource recognizes, how each one is detected and what works on each (whitelist, store and logs).
Every framework the fivedash resource recognizes, how each one is detected and what works on each (whitelist, store and logs).
The fivedash resource depends on no framework: it finds out on its own which base the city runs and talks to it through the exports, events and tables it already has. This page shows each supported framework, how it’s recognized and what FiveDash can do on it. It’s for server admins and script developers.
fivedash resource installed and connected. See FiveM resource.oxmysql, ghmattimysql or mysql-async). Detection looks at database tables, and the whitelist and store write to it.ensure fivedash in server.cfg after the database and the framework. If one of them starts later, the resource detects again on its own.| Framework | Framework in config.lua | Whitelist via FiveDash | What the player types in the unlock | Store ID |
|---|---|---|---|---|
| Creative Network Enchanted | creative-enchanted | Yes | The token shown when connecting (or the account number) | Passport |
| Qbox | qbox | Yes, through Qbox’s whitelist | Nothing: the Discord counts | Citizen ID |
| QBCore | qbcore | Yes, through QBCore’s whitelist | Nothing: the Discord counts | Citizen ID |
| ESX | esx | Yes, with esx_whitelist | Nothing: the Discord counts | ID |
| ox_core | ox-core | No (stays on Discord) | State ID | |
| vRP / vRPex | vrp | Yes, if vrp_users has the whitelisted column | The account number | ID |
On all of them, the store delivers group, vehicle, money (bank and wallet), item and command. Console commands work on any framework, even with none.
oxmysql first, then ghmattimysql, then mysql-async).Framework = "auto", the highest score wins, if it’s at least 50. Below that, none is used and the console shows “No known framework found”.Framework (for example "qbox"), that one is used, as long as it’s found. If it isn’t, the console shows an error with the list of valid IDs.fivedash, detection runs again: vrp, qbx_core, qb-core, es_extended, ox_core, oxmysql, mysql-async, ghmattimysql, ox_inventory and qb-inventory.To see what led to the choice, run in the server console:
fivedash detect
The console prints Framework detected: QBCore, the score (92% sure), each piece of evidence (for example qb-core resource started and players table with citizenid) and the driver (database via oxmysql). With Debug = true (or set fivedash_debug 1), this shows on every boot.
In the panel, the result shows on the Game connection card (Server → Overview): Framework and Whitelist via FiveDash (Active, Unavailable or Not supported yet). Setup problems show below, in amber.
On QBCore, Qbox and ESX, the base’s own whitelist doesn’t show players an ID when it refuses them. So the unlock goes by Discord: the resource keeps the identifiers of whoever tries to join (playerConnecting) in the fivedash_identities table and, on an unlock, finds the licenses linked to that Discord.
On QBCore, Qbox and ESX, a store group that isn’t one of the base’s jobs (or gangs) becomes an ACE group on the buyer’s license: group.<name> on ESX and Qbox, qbcore.<name> on QBCore. FXServer keeps ACEs in memory only, so the resource stores them in fivedash_ace_groups and re-applies them on every boot. Give the group its permissions in server.cfg:
add_ace group.vip vip allow
And check them in scripts with IsPlayerAceAllowed(source, "vip").
Creative Network Enchanted (vRP rewritten by Creative Network). ID: creative-enchanted.
Detection
| Evidence | Score |
|---|---|
vrp resource started with creative_network in its fxmanifest.lua | 50 (required) |
Liberation set in vrp/config/Global.lua | +10 |
vrp/modules/base.lua contains Account[Liberation] | +15 |
accounts table with Whitelist, Discord, License and Token | +25 (−20 if any is missing) |
Whitelist
Liberation in vrp/config/Global.lua (the base’s default: Token, 7 digits shown when connecting). If Liberation points to id (or to a column that doesn’t exist), the account number is used.accounts.Whitelist = 1 and, when the member comes with it, accounts.Discord.Whitelist = 0 on accounts with that ID or that Discord and, if the panel asks, drops the player.0).Store (ID: Passport, the characters.id)
| Type | How it delivers | Must be online? |
|---|---|---|
| Group | vRP.SetPermission. The group must exist in vrp/config/Groups.lua | No |
| Vehicle | Writes to the vehicles table with the base’s own query. The model must exist in vrp/config/Vehicle.lua. Refused if the character already has that vehicle | No |
| Money (bank) | vRP.GiveBank | No |
| Money (wallet) | The dollar item in the inventory | Yes |
| Item | vRP.GenerateItem. The item must exist in vrp/config/Item.lua. Full backpack: it waits. With no free slot, the base drops the item at the player’s feet | Yes |
accounts.Discord and takes the account’s most recent character (skips characters with Deleted = 1).CharacterChosen event.Notify.Passport state bag.Warnings you may see
Liberation = "X" isn’t a column of the accounts table: FiveDash uses the account number (id).Whitelisted = false in vrp/config/Global.lua).oxmysql needs to start before fivedash.The panel connection works normally. The whitelist stays on Discord and the store only delivers console commands. If your base is one of the above but wasn’t recognized, run fivedash detect, check that it started before fivedash and, if needed, force it with Framework in config.lua.
I use Qbox, but the panel shows QBCore.
Check that qbx_core starts before fivedash. Qbox beats QBCore whenever qbx_core is running. If needed, use Framework = "qbox".
The unlock comes back “not found” on QBCore / Qbox / ESX. FiveDash hasn’t seen that Discord trying to join the city yet. Ask the player to try connecting once, with Discord open, and unlock again.
Why does a store item stay at “Waiting for the player to join the city”?
Items and wallet money need the player online on every framework. The delivery runs on its own when they pick their character (after SpawnDelay in loja.lua).
My framework is a fork. Does it work?
vRP forks fall into the vrp adapter, and each step checks what the base answered. Forks that keep QBCore’s or ESX’s resource names and tables are recognized too.