Skip to content

QB Management — Installation ​

QB Management replaces the original qb-management resource. It keeps the same resource name, so scripts that call qb-management exports or the qb-bossmenu / qb-gangmenu events keep working.

Dependencies ​

ResourceRequiredPurpose
oxmysqlYesDatabase access, table setup and transactions
qb-coreYesPlayers, jobs, gangs and money
A banking resourceNew QBCore onlySociety money on New QBCore (qb-banking, Renewed-Banking …). Old QBCore keeps it in the boss menu (management_funds), which is still supported
fwb_interactFor management pointsManagement points in the world (Press E or Target). cr_interact works too
An inventoryFor item money washReads and takes dirty-money items such as markedbills. qb-inventory and many others are supported
fs_notify or ox_libOptionalOther notifications. The built-in notify is the default
fmsdkOnly for FiveManage logsSends admin activity to FiveManage

fwb_interact and targets

fwb_interact is a free FwB resource. Press E or Target for management points is chosen in fwb_interact itself, not in this script. fwb_interact can also replace qb-target, see the Interact docs.

If neither fwb_interact nor cr_interact is running, the console prints a warning and management points cannot be used. The tablets still open through the command, exports and events.

Install steps ​

  1. Copy your old config first. Open the original qb-management folder and copy its config.lua. In this package, replace old_config/config.lua with it, unchanged. This brings your old boss menu and gang menu spots over (see Old boss menu spots).
  2. Replace the original. Delete the original qb-management folder and put this one in its place. The folder must be named exactly qb-management.
  3. Install fwb_interact and start it before qb-management.
  4. Start the resources in this order:
cfg
ensure oxmysql
ensure qb-core
ensure qb-banking # or your banking resource
ensure fwb_interact
ensure qb-management
  1. Give yourself access to the admin tablet:
cfg
add_ace identifier.license:YOUR_LICENSE qb-management.admin allow
  1. Restart the server, check for a clean start in the console, then run /qb-management in game.
  2. On the first open, pick the Job source in the one-time setup (see Job source).

Don't know your license?

Run /qb-management without access. The tablet shows your own add_ace line with a Copy button.

Admin access needed card with the player's own add_ace line for server.cfg, a Copy button and three short steps

Old boss menu spots ​

The original qb-management kept its boss and gang menu spots in Config.BossMenus and Config.GangMenus inside config.lua. This package reads that file from old_config/config.lua:

  • On the first start, every spot becomes a sphere management point that only the boss ranks of that job or gang can use.
  • Spots at 0, 0, 0 (placeholders), jobs or gangs that do not exist, jobs without a boss rank, and spots that already have a point of that job within 1.5 m are skipped. The console says what was added and what was skipped.
  • The file is only read, never run as part of the resource.
  • Added the file later? Open the admin tablet → Settings → Jobs → Import old spots. Spots that are already there are skipped, so it is safe to press again.

The shipped file has the stock spots

old_config/config.lua ships with the original qb-management defaults (police, ambulance, cardealer and mechanic). If you do not replace it with your own file, those stock spots are added on the first start for the jobs that exist on your server. Delete any you do not want in Jobs → job → Access points.

Database ​

No SQL import is needed. On start the resource creates and updates its own tables (qb_management_*). The database user needs normal create and alter rights.

On Old QBCore the management_funds table of the original resource is used as is, with the same layout.

Existing scripts ​

Scripts written for the original resource keep working without changes:

lua
exports['qb-management']:AddMoney('mechanic', 500)
exports['qb-management']:GetGangAccount('ballas')
TriggerEvent('qb-bossmenu:client:OpenMenu')

See Integrations for the full list.

FWB Studio documentation.