Admin studio
/jobadmin (Config.Commands.admin) opens the studio for admins (see Installation).
| Page | What it does |
|---|---|
| Dashboard | Players online, employed players, people on duty, pending applications, a 7 day duty chart, most active jobs and a setup check for jobs without grades, points, duty point or boss menu, and points not placed yet |
| Job editor | Tabs General, Grades, Locations, Employees, Finance, Job Center, Blips and Activity |
| Employees | Search every character online and offline, hire, change grade, fire |
| Finance | Balance, transaction history, admin balance correction |
| Penal code | Charges with category, fine and months used by MDT reports and jail |
| Activity log | Every logged action with categories, filters and search |
| Configuration | Every option of the data/ files, see the settings pages |
| Server settings | About 80 common options with labels, applied live |
Jobs can be exported, imported and duplicated as JSON. Ctrl + K opens a command palette that jumps to any job or action.
Jobs in Config.ProtectedJobs (default { 'unemployed' }) cannot be deleted. Hard limits are in Config.Limits (see Server only settings).
Templates
/jobadmin, New job offers the templates from shared/templates.lua. The file stays readable in the escrow build, so you can add your own.
| Template id | Label | Grades | Locations created |
|---|---|---|---|
police |
Police Department | 6 | duty, locker, evidence room stash, uniforms, armory shop, motor pool garage, boss |
ambulance |
Emergency Medical Services | 5 | duty, locker, pharmacy stash, uniforms, medical supplies shop, ambulance bay garage, boss |
mechanic |
Mechanic Workshop | 5 | duty, parts stash, uniforms, workbench crafting, tow yard garage, boss |
restaurant |
Restaurant | 4 | duty, stash, uniforms, crafting, shop, boss |
burgershot |
Burger Shot | 4 | duty, uniforms, 2 shops, 3 crafting points, 2 stashes, boss |
taxi |
Taxi Company | 4 | duty, garage, boss |
farmer |
Farm (harvest & sell) | 3 | orchard harvest, juice press crafting, market stall selling |
blank |
Blank job | 2 | none |
Template locations are created as drafts and have to be placed in game. Supervisor grades of the templates get boss_menu, members_view, members_hire, members_promote, finance_view, applications, stats and billing.
Location types
Every type can be turned off in Config.LocationTypes. A disabled type disappears from the studio and cannot be used in game.
| Key | Type | What it does |
|---|---|---|
duty |
Duty clock | Go on or off duty, with a punch card animation |
stash |
Stash | One inventory shared by everyone with access (slots, weight, shared stash id) |
locker |
Personal locker | A private inventory for every employee |
boss |
Boss menu | Opens the boss menu |
wardrobe |
Wardrobe | Civilian outfit menu of your clothing resource |
outfits |
Uniforms | Job clothing per grade and gender, captured from what you wear |
shop |
Shop or armory | Items with price and minimum grade, paid by the player or the company, cash or bank |
garage |
Garage | Job vehicles with spawn point, livery, colour, extras, max tuning and plate prefix |
craft |
Crafting | Recipes with ingredients, amount and duration, work animation picker |
collect |
Harvest | Collect items with a progress bar: min and max amount, cooldown, required tool, animation |
sell |
Selling | Price per item, payout account, company share in percent |
teleport |
Teleport | Elevator or door to a destination, optionally with vehicles |
jobcenter |
Job Center | Opens the Job Center for every player |
Every location has a minimum grade, public (usable by anyone), requires duty and an optional map blip.
Garage money
| Key | Default | What it changes |
|---|---|---|
Config.Garage.deposit |
0 |
Paid from the bank when a vehicle is taken out, returned when it comes back. 0 turns it off. An unreturned vehicle's deposit goes to the company |
Config.Garage.damageCost |
1500 |
Repair cost of a fully wrecked job vehicle, scaled by the damage. 0 turns it off |
Config.Garage.damagePaidBy |
'society' |
'society' = the company pays, 'employee' = taken from the deposit, then from the bank |
Grades and permissions
A grade marked Boss grade has every permission. Other grades get exactly what you tick.
| Permission | Allows |
|---|---|
boss_menu |
Open the boss menu at boss locations |
stats |
See worked hours and activity charts |
announce |
Send announcements to all employees |
salaries |
Change grade salaries |
members_view |
See the employee list |
members_hire |
Recruit nearby players and accept applications |
members_fire |
Fire employees with a lower grade |
members_promote |
Change grades of lower ranked employees |
members_bonus |
Pay bonuses from the company account |
applications |
Review Job Center applications |
finance_view |
See balance and transactions |
finance_deposit |
Deposit into the company account |
finance_withdraw |
Withdraw from the company account |
billing |
Send invoices and cancel company invoices |
Every grade of the jobs in Config.Billing.allGrades can bill without billing.
Replacing a built-in menu
ClientEditable.Overrides in client/editable.lua runs your function instead of the JCKS menu. The server still checks job, grade, duty and distance first.
ClientEditable.Overrides = {
boss = function(point) TriggerEvent('qb-bossmenu:client:OpenMenu') end,
garage = function(point) exports['my_garage']:OpenJobGarage(point.job) end,
}