Skip to content

Qbox Management — Configuration ​

Everything is set up in game, in the admin tablet. Open it with /qbx_management after adding your ACE line. The tablet has four tabs: Jobs, Bridge, Logs and Settings.

About config/config.lua

config/config.lua is only a hint file. It is not loaded and holds no settings.

Job source ​

The first time an admin opens the tablet, a one-time setup asks which jobs and gangs the tablet may change. The other tabs stay locked until a choice is made. It can be changed later in Settings > Jobs > Job source.

One-time setup wizard asking which jobs the menu can change, with the choices Every job and gang and Only the ones made here

ChoiceWhat the tablet can change
Every job and gangEvery job and gang, also the ones in qbx_core/shared/jobs.lua and gangs.lua. Changes are kept in the database and used instead of the file's version.
Only the ones made hereOnly jobs and gangs created in the tablet. Jobs and gangs from the Lua files are read-only in the tablet (a jobs.lua / gangs.lua badge and a "Read-only" pill) and are changed in the file itself. Earlier tablet changes to them are kept but not used.
  • qbx_core/shared/jobs.lua and gangs.lua are never written. They are only read, to tell which jobs come from them.
  • On a read-only job, the label, ranks, salaries, boss rank editing and delete are locked. Hiring, firing, money and access points still work.
  • Switching from "Only the ones made here" to "Every job and gang" applies at once. Switching the other way needs a server restart when file jobs have stored changes; the tablet says so.

Old boss menu spots ​

Boss and gang menu spots of the original qbx_management come over as management points.

  1. Copy the original config/server.lua into this resource as old_config/server.lua, unchanged (it replaces the file that ships there).
  2. Start the server. On the first start, every spot in its menus table becomes a sphere management point that only the boss ranks of that job or gang can use.
  3. Added the file later? Open Settings > Jobs > Old boss menu spots > Import old spots.

Settings tab with the Job source choice, the Old boss menu spots row with Import old spots, boss rank editing and the default theme

  • The file is only read, never run. It is left out of escrow, so you can replace it.
  • Each spot's size sets the sphere radius (half of the larger of x and y) and rotation sets the heading.
  • Skipped: spots at 0, 0, 0, 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. Import old spots can be run again safely.
  • The file that ships in old_config/ holds the original defaults (two lostmc spots and one vagos spot). Replace it with your own file before the first start if you do not want those.

Console messages

The console always says how many old spots were added, and lists skipped jobs or gangs and jobs without a boss rank as warnings.

Jobs, gangs and ranks ​

The Jobs tab lists every job and gang with its internal ID, type and rank count. Search, sort, or use Create job (pick Job or Gang).

Admin Jobs tab with a search field, sort, Create job and the job list with internal ID, type and rank count

Open a row to manage that job:

ButtonWhat it does
Create rankAdds a rank. On a used priority, the ranks above move up by one after a warning; employees move with their rank.
Boss ranksBoss rank editing for this job: server default, allowed or not allowed
Access pointsManagement points of this job
Edit labelRenames the job
Fire employeesRemoves every employee of the job
Delete jobMoves its employees to rank 0 of the unemployed fallback job, then removes the job

Admin job page with the rank list and the buttons Access points, Edit label, Fire employees, Delete job and Create rank

  • Removing a rank moves its members down one rank, or to unemployed / no gang when it was the lowest.
  • Limits: 100 ranks per job, priority up to 1000.
  • Gangs work the same way as jobs, without salaries. A gang is stored as gang:<name>.

Boss rank editing ​

Bosses may add and remove ranks below their own. It is on by default.

  • Server-wide: Settings > Boss menu > Boss rank editing.
  • Per job: the Boss ranks choice on the admin job page (server default, allowed, not allowed).
  • A boss never removes their own rank. Removing a rank that has people on it also needs the right to fire (lowest rank) or manage employees (other ranks).
  • With boss rank editing off, bosses can still rename ranks and set salaries below their own when their access allows it.

Management points ​

Management points open the boss tablet in the world. They are used through fwb_interact. Create them from a job's Access points button. There are three kinds:

  • Sphere: an invisible area with a radius you set.
  • Existing prop: a map prop you aim at.
  • Placed prop: a prop the tablet places and keeps.

Each point can be used by every rank or only by the ranks you pick, and each action can be allowed or not:

Action
Deposit, Withdraw, View transactionsBusiness account
Wash money, View money washesMoney wash
Hire, Fire, Manage employeesEmployees
Manage salary, Manage gradesRanks & salaries

Every action is checked again on the server: job, rank, point permissions and distance.

Placement defaults ​

Edit bridge/management_setup/defaults.lua (unlocked) for the default sphere radius (0.75), the minimum and maximum radius, the mouse-wheel step, the creator camera speeds, placed-prop movement and rotation, and the prop preset list. Restart the resource after editing.

Bridge ​

Bridge tab with the Language and Notify choices, the notify providers found on the server and the placement prop presets

ChoiceOptionsNotes
Language10 languagesApplies right away, also to open tablets
NotifyAuto, Built-in, FS Notify, Qbox notifications, ox_libAuto uses the built-in notify
Society BankingAuto or one banking resourceAuto uses the first running one. See Integrations
InventoryAuto or one inventoryUsed for money-wash items. See Integrations

Changes here apply right away.

Add a language ​

Copy locales/en.lua, give it a new code in ManagementLocale.Register('<code>', …), set its label, translate every value without changing the keys, and restart the resource once. The new language then shows in the Language list. Missing texts fall back to English.

Logs ​

The admin Logs tab picks where management activity goes:

Logging methodSetup
AutoUses FiveManage, then Discord, whichever is set up
FiveManageSet the dataset name. The API key stays in fmsdk
Discord webhookPaste the channel webhook URL
Custom bridgeFill in bridge/logging/custom/server.lua

Player IP identifiers and IP-shaped values are removed before any log is sent.

Business logs (bosses) ​

On the boss tablet's Logs page, each business can add up to 10 private Discord webhooks. Each one picks its activity: deposits, withdrawals, money wash, employee hires, employee removals, employee rank changes, rank and salary settings, management access points, webhook changes and job settings.

Business logs page with two Discord webhook destinations, their added dates, Remove buttons and Add webhook

Settings ​

Settings tab with the admin command, ACE permission, unemployed fallback, debug logging, Job source and Import old spots

SettingDefaultPurpose
Admin commandqbx_managementOpens the admin tablet
ACE permissionqbx_management.adminWho may open the admin tablet
Unemployed fallbackunemployedEmployees go to rank 0 of this job when their job is deleted
Debug loggingOffShows routine start-up and provider lines in the console. Warnings and errors always show
Job sourceChosen in the wizardSee Job source
Old boss menu spots—Import old spots button. See Old boss menu spots
Boss rank editingAllow for every jobSee Boss rank editing
Default themeFwBThe tablet theme for everyone on the server

Restart the resource after changing the admin command or the ACE permission.

Money wash ​

SettingDefaultPurpose
Processing ruleFixed DurationFixed Duration, or Time Per Amount
Fixed time60 minutesWash time in fixed mode
Amount block / Time per amount1,000 / 5 minutesWash time per block in Time Per Amount mode
Request limits100 – 100,000Smallest and largest amount per request
Dirty money typemarkedbills bags (worth in metadata)Or: item without worth (1 item = $1), or a Qbox money type (account)
Item / account namemarkedbillsThe item or money type used as dirty money
Maximum bag worth1,000For bags: each bag's value comes from metadata.worth; partial bags are given back as change
Processing cut0%Taken from the payout, then destroyed or paid to another society account

New rules only apply to washes queued after the change. Washes in the queue are kept and paid after a restart.

Money wash page with the pending total, the queue dirty money field and the list of queued washes with ready times

Themes ​

The admin picks one theme for the whole server in Settings > Appearance > Default theme. Players have no theme switch.

ThemeLook
FwB (default)Dark with teal
Dark GreyDark with grey
WhiteLight with dark text
Fluid GlassSee-through glass; the selected item glides to the next one

Themes live in bridge/themes.lua (unlocked). Each block has an id, a label, a style (dark, light or glass) and an accent colour. To add a theme, copy a block, give it a new id and label, change the colour and restart. default sets the theme used until the admin picks one.

Boss tablet in the Fluid Glass theme with see-through panels

Editable files ​

FileWhat you can change
old_config/server.luaYour original qbx_management config/server.lua (only read)
bridge/themes.luaThemes and the default theme
bridge/management_setup/defaults.luaPlacement defaults and prop presets
bridge/banking/*Banking resources; copy custom for a new one
bridge/inventory/*Inventories; copy custom for a new one
bridge/logging/custom/server.luaYour own logger
bridge/notify/*Notify providers
bridge/events/server.luaHooks that run after hires, money moves, washes and more. See Server exports
locales/*.luaTranslations

FWB Studio documentation.