Skip to content

Qbox Management — Installation ​

This package replaces the original qbx_management. It keeps the same resource name, so scripts that call the original keep working.

Dependencies ​

ResourceRequiredPurpose
oxmysqlYesDatabase access, table setup and transactions
qbx_coreYesPlayers, jobs, gangs (several jobs per player) and money
A banking resourceYesSociety money. Renewed-Banking is the Qbox default; see Integrations for the full list
fwb_interact (free)Yes, for management pointsEvery management point in the world goes through it. cr_interact works too
ox_inventoryFor the money washDirty-money items. Other inventories are listed in Integrations
fs_notify or ox_libOptionalOther notifications. The built-in notify is the default
fmsdkOnly for FiveManage logsSends logs to FiveManage

Press E or Target

Management points use fwb_interact. Whether players press E or use a target is chosen in fwb_interact itself, for every script at once. This resource has no interaction setting of its own.

Install steps ​

  1. Save the old spots first. Copy config/server.lua from your original qbx_management folder and put it into this package as old_config/server.lua, replacing the file that is there. Copy it in unchanged. See Old boss menu spots.
  2. Replace the original. Stop the original qbx_management and remove its folder. Put this package in its place, with the folder named exactly qbx_management.
  3. Install fwb_interact. Download fwb_interact (free) and start it before qbx_management. Without it, management points do nothing and the console says so.
  4. Start the resources in this order:
cfg
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure ox_inventory
ensure Renewed-Banking # or your banking resource
ensure fwb_interact
ensure qbx_management
  1. Give yourself admin access:
cfg
add_ace identifier.license:YOUR_LICENSE qbx_management.admin allow

You can also open /qbx_management in game first: without access, the tablet shows your own add_ace line with a Copy button.

  1. Restart the server, check for a clean start, then open /qbx_management in game. On the first open, the admin tablet asks the one-time Job source question.

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

One copy only

Only one management resource can run. A copy under another folder name, or on a server that runs es_extended, stays off and prints why in the console.

What happens on the first start ​

  • Database: the resource creates and updates its own tables (qbx_management_*) at start. No SQL import is needed. The database user needs normal create and alter rights.
  • Groups from the original: jobs and gangs saved by the original qbx_management (its management_groups table) are imported once, the first time this resource has no saved groups yet.
  • Old boss menu spots: every spot in old_config/server.lua becomes a management point for the boss ranks of that job or gang. This runs once; Settings > Jobs > Import old spots runs it again.
  • Society accounts: every job and gang gets its account in your banking resource. A banking resource that starts later is picked up when it starts.

Keep qbx:cleanPlayerGroups off

Leave qbx_core's qbx:cleanPlayerGroups setting off (its default). When it is on, qbx_core removes the members of jobs made in the tablet at every start, before this resource adds those jobs again.

Jobs and gangs files ​

qbx_core/shared/jobs.lua and qbx_core/shared/gangs.lua are never written. Changes made in the tablet are stored in the database and added to qbx_core at every start. The files are only read, to tell which jobs come from them. See Job source.

FWB Studio documentation.