JCKSDocs
JCKS JobsV2Funkce

Boss menu, Job Hub and Job Center

What bosses, employees and job seekers can do, and the options that limit it.

Boss menu

Opened at a boss location by grades with boss_menu. With Config.Boss.remoteAccess = true, /bossmenu opens it anywhere. Config.Boss.enabled = false removes it, for servers that use another management resource. Every page needs its own grade permission.

Page What it does Permission
Overview Balance, applications, duty bars with the current day, most hours, recent transactions, announcement card boss_menu
Employees Table with the selected person on the right: rank picker with pay per rank, bonus, records, fire members_view, members_promote, members_bonus, members_fire
Recruit Offer the job to a nearby player, the player accepts with Y or declines with N members_hire
Applications Job Center applications, accept or reject with a note applications
Finance Deposit, withdraw, income and expense chart, filtered transactions finance_view, finance_deposit, finance_withdraw
Salaries Salary per grade up to Config.Boss.maxSalary salaries
Statistics Duty hours and a leaderboard for 7, 14 or 30 days stats
Invoices Every invoice of the company with totals and filters (also expired) finance_view
Requests Time off, raise, promotion, equipment and other requests. Answering needs members_promote, nobody answers their own request members_view
Access Bosses set what each lower grade may do, limited to rights they hold. Only when the job allows it in the job editor boss grade
Bodycams Live bodycams and dashcams of the job and its group, the clip archive bodycams
Activity Staff, money and duty records with search and paging activity
Cameras Business cameras: install, watch, rename, share, remove cameras
Prices Sale prices or payouts, on or off, cost per piece and profit for the menu card and every shop or buyer with boss prices, inside the limits from /jobadmin, see Sales and prices restaurant (Prices and menu)

Rank rules: nobody manages an equal or higher grade, non boss ranks cannot change salaries of their own or higher grades, a boss cannot pay themselves a bonus unless Config.Boss.selfBonus = true.

Employee records. Notes, commendations and warnings per employee. Higher ranks with the promote permission write them, the employee gets commendations and warnings as a Pulse card, ranks with the fire permission delete them.

Announcements are delivered as Pulse cards and kept on the job board (Config.Boss.boardLimit, default 20 per job). The latest one shows in the Job Hub under Colleagues.

Boss options

Shared keys are in settings/config.lua, the rest in settings/server/config.lua.

Key Type Default What it changes
Config.Boss.enabled boolean true Boss menu at all
Config.Boss.remoteAccess boolean false /bossmenu anywhere
Config.Boss.hireDistance number 6.0 Metres for players shown in Recruit
Config.Boss.requireConsent boolean true Recruited players accept with a key press
Config.Boss.offerTimeout number 20 Seconds a job offer stays valid
Config.Boss.maxBonus number 25000 Highest single bonus
Config.Boss.bonusCooldown number 60 Seconds between two bonuses for the same employee
Config.Boss.selfBonus boolean false A boss may pay themselves a bonus
Config.Boss.withdrawDailyLimit number 0 Most one member withdraws per day, 0 = no limit
Config.Boss.withdrawLimitBosses boolean false The limit also applies to boss grades
Config.Boss.maxSalary number 10000 Highest salary a boss can set
Config.Boss.maxAnnouncementLength number 180 Characters per announcement
Config.Boss.announcementCooldown number 60 Seconds between two announcements of a job
Config.Boss.maxOpenRequests number 3 Open requests per employee
Config.Boss.transactionsPageSize number 50 Transactions per page
Config.Boss.overviewTransactions number 6 Transactions on the overview (1 to 50)
Config.Boss.boardLimit number 20 Announcements kept on the board (1 to 200)

Job Hub (F6)

/myjobs or F6 (Config.Keybinds.myJobs). One side sheet for every player:

  • current job with grade, salary, duty switch and the length of the running shift,
  • Jobs: multijob slots, switch job, go off work, leave a job with confirmation,
  • Colleagues: who is online and on duty, latest board note,
  • Services: call police, EMS, mechanics, taxis with a message,
  • Requests: ask the management for time off, a raise, a promotion, equipment or something else.

Invoices have their own sheet on F7, see Invoices.

Multijob

Key Type Default What it changes
Config.MultiJob.enabled boolean true Multijob at all
Config.MultiJob.maxJobs number 3 Jobs a character can hold. Qbox uses its own limit
Config.MultiJob.switchCooldown number 30 Seconds between two switches
Config.MultiJob.mustBeOffDuty boolean false Players switch only off duty
Config.MultiJob.switchOnHire boolean true A new hire is switched to the new job
Config.MultiJob.protectedJobs table {} Jobs players cannot quit themselves

Qbox native multijob is used automatically. ESX and QBCore memberships are stored in jcks_job_members. Switching is blocked while restrained, jailed, down or on a gig.

Job Center

/jobcenter anywhere when Config.JobCenter.remoteAccess is on, or at a Job Center location. Players browse listed jobs with description, salary and the number of people working, join at once or fill an application form, track and withdraw their applications.

Key Type Default What it changes
Config.JobCenter.enabled boolean true Job Center at all
Config.JobCenter.remoteAccess boolean true /jobcenter and the Find more jobs button anywhere
Config.JobCenter.applicationCooldown number 12 Hours before a rejected player applies again
Config.JobCenter.maxPendingApplications number 3 Open applications per player
Config.JobCenter.maxAnswerLength number 600 Characters per answer
Config.JobCenter.showOnDutyCount boolean true Show how many people work right now

Duty

Clock in at a duty clock. With Config.Duty.command = true, /duty works anywhere. Clocking in and out plays a short punch card animation. Duty is published as Player(src).state['jcks:duty'].

Key Type Default What it changes
Config.Duty.command boolean false /duty anywhere
Config.Duty.trackActivity boolean true Record duty time for statistics
Config.Duty.offDutyOnJoin boolean false Everybody starts off duty
Config.Duty.syncFramework boolean true Mirror duty to ESX 1.11+, QBCore and Qbox
Config.Duty.shiftSummary boolean true Show the shift length when going off duty
Config.Duty.flushInterval number 300 Seconds between saves of duty time
Config.Duty.shiftLog boolean true Keep every shift for the MDT roster duty log
Config.Duty.shiftLogMinSeconds number 60 Shorter shifts are not kept
Config.Duty.shiftLogDays number 90 Shifts older than this are deleted on start, 0 = keep