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.

| Choice | What the tablet can change |
|---|---|
| Every job and gang | Every 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 here | Only 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.luaandgangs.luaare 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.
- Copy the original
config/server.luainto this resource asold_config/server.lua, unchanged (it replaces the file that ships there). - Start the server. On the first start, every spot in its
menustable becomes a sphere management point that only the boss ranks of that job or gang can use. - Added the file later? Open Settings > Jobs > Old boss menu spots > Import old spots.

- The file is only read, never run. It is left out of escrow, so you can replace it.
- Each spot's
sizesets the sphere radius (half of the larger of x and y) androtationsets 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 (twolostmcspots and onevagosspot). 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).

Open a row to manage that job:
| Button | What it does |
|---|---|
| Create rank | Adds a rank. On a used priority, the ranks above move up by one after a warning; employees move with their rank. |
| Boss ranks | Boss rank editing for this job: server default, allowed or not allowed |
| Access points | Management points of this job |
| Edit label | Renames the job |
| Fire employees | Removes every employee of the job |
| Delete job | Moves its employees to rank 0 of the unemployed fallback job, then removes the job |

- 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 transactions | Business account |
| Wash money, View money washes | Money wash |
| Hire, Fire, Manage employees | Employees |
| Manage salary, Manage grades | Ranks & 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

| Choice | Options | Notes |
|---|---|---|
| Language | 10 languages | Applies right away, also to open tablets |
| Notify | Auto, Built-in, FS Notify, Qbox notifications, ox_lib | Auto uses the built-in notify |
| Society Banking | Auto or one banking resource | Auto uses the first running one. See Integrations |
| Inventory | Auto or one inventory | Used 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 method | Setup |
|---|---|
| Auto | Uses FiveManage, then Discord, whichever is set up |
| FiveManage | Set the dataset name. The API key stays in fmsdk |
| Discord webhook | Paste the channel webhook URL |
| Custom bridge | Fill 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.

Settings

| Setting | Default | Purpose |
|---|---|---|
| Admin command | qbx_management | Opens the admin tablet |
| ACE permission | qbx_management.admin | Who may open the admin tablet |
| Unemployed fallback | unemployed | Employees go to rank 0 of this job when their job is deleted |
| Debug logging | Off | Shows routine start-up and provider lines in the console. Warnings and errors always show |
| Job source | Chosen in the wizard | See Job source |
| Old boss menu spots | — | Import old spots button. See Old boss menu spots |
| Boss rank editing | Allow for every job | See Boss rank editing |
| Default theme | FwB | The tablet theme for everyone on the server |
Restart the resource after changing the admin command or the ACE permission.
Money wash
| Setting | Default | Purpose |
|---|---|---|
| Processing rule | Fixed Duration | Fixed Duration, or Time Per Amount |
| Fixed time | 60 minutes | Wash time in fixed mode |
| Amount block / Time per amount | 1,000 / 5 minutes | Wash time per block in Time Per Amount mode |
| Request limits | 100 – 100,000 | Smallest and largest amount per request |
| Dirty money type | markedbills bags (worth in metadata) | Or: item without worth (1 item = $1), or a Qbox money type (account) |
| Item / account name | markedbills | The item or money type used as dirty money |
| Maximum bag worth | 1,000 | For bags: each bag's value comes from metadata.worth; partial bags are given back as change |
| Processing cut | 0% | 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.

Themes
The admin picks one theme for the whole server in Settings > Appearance > Default theme. Players have no theme switch.
| Theme | Look |
|---|---|
| FwB (default) | Dark with teal |
| Dark Grey | Dark with grey |
| White | Light with dark text |
| Fluid Glass | See-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.

Editable files
| File | What you can change |
|---|---|
old_config/server.lua | Your original qbx_management config/server.lua (only read) |
bridge/themes.lua | Themes and the default theme |
bridge/management_setup/defaults.lua | Placement 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.lua | Your own logger |
bridge/notify/* | Notify providers |
bridge/events/server.lua | Hooks that run after hires, money moves, washes and more. See Server exports |
locales/*.lua | Translations |
