Framework & inventory
Auto-detects QBox, QBCore, ESX or standalone, and ox_inventory or qb-inventory. Override any of it if you need to.
the resource detects your setup on start, so on a normal server you change nothing. if detection
ever guesses wrong, override it in config.lua.
framework
framework = 'auto' -- 'auto' | 'qbx' | 'qb' | 'esx' | 'standalone'used for two things: reading who the player is (for the leaderboard) and paying out coins (if you
turn payouts on). the framework layer is one small file (bridge/framework.lua), everything else
goes through it.
| value | detected from |
|---|---|
qbx | qbx_core |
qb | qb-core |
esx | es_extended |
standalone | none of the above |
on standalone there's no money, so payouts are ignored, but the games and leaderboard still work
off the player's license.
inventory
inventory = 'auto' -- 'auto' | 'ox' | 'qb'ox— the console opens through the item definition (theclient.exportyou added).qb— the resource registers the usable item itself.
auto picks ox if ox_inventory is running, otherwise qb. either way, see
installation for the item snippet.
database
database = 'oxmysql' -- 'oxmysql' | 'none'oxmysql gives you the global leaderboard (the table builds itself on first start). set it to
none if you don't want a leaderboard at all, and the game-over screen just shows your score for
that run.