JCKSDocs
JCKS JobsV1Funkcie

Boss menu, Job Center and Job Hub

Company management, recruiting, applications, multijob and the F6 Job Hub in JCKS Jobs 1.0.0.

Boss menu

Opened at a boss location, or anywhere with /bossmenu when Config.Boss.remoteAccess = true. Config.Boss.enabled = false removes it, for servers that use another management resource. Every page needs the matching grade permission, and rank rules apply: you only manage grades below your own.

Page What it does
Overview Stats, activity chart and announcements, delivered to employees as Pulse cards
Employees Change grade, pay a bonus from the company account, fire, records
Recruit Players within Boss.hireDistance get an offer they accept with Y or decline with N
Applications Read Job Center answers, accept or reject with a note
Requests Answer employee requests for time off, a raise, a promotion or equipment
Finance Deposit, withdraw, income and expense chart, filtered transactions
Salaries Salary per grade, capped by Boss.maxSalary
Statistics On-duty hours and a leaderboard for 7, 14 or 30 days
Invoices Every invoice of the company with totals, unpaid ones can be cancelled

Employee records. Notes, commendations and warnings per employee. Higher ranks with members_promote write them, the employee gets commendations and warnings as a Pulse, ranks with members_fire delete them.

Requests. Employees send them from the Job Hub, at most Boss.maxOpenRequests open at once. Bosses with a members permission answer them, nobody answers their own request.

Limits

Key Default What it changes
Config.Boss.hireDistance 6.0 Meters, players shown in Recruit
Config.Boss.requireConsent true Recruited players accept or decline with a key
Config.Boss.offerTimeout 20 Seconds a job offer stays valid
Config.Boss.maxBonus 25000 Highest single bonus
Config.Boss.bonusCooldown 60 Seconds between two bonuses for the same employee
Config.Boss.maxSalary 10000 Highest salary a boss can set
Config.Boss.maxAnnouncementLength 180 Characters per announcement
Config.Boss.announcementCooldown 60 Seconds between two announcements of one job
Config.Boss.maxOpenRequests 3 Open requests per employee
Config.Boss.transactionsPageSize 50 Transactions per page

Job Center

Players browse every listed job with description, salary and the number of people working. A job uses instant join or an application form with up to 20 questions. Players see and withdraw their own applications.

Key Default What it changes
Config.JobCenter.enabled true Job Center on or off
Config.JobCenter.remoteAccess true /jobcenter and the Find more jobs button work everywhere
Config.JobCenter.applicationCooldown 12 Hours before a rejected player may apply to the same job again
Config.JobCenter.maxPendingApplications 3 Open applications per player
Config.JobCenter.maxAnswerLength 600 Characters per answer
Config.JobCenter.showOnDutyCount true Shows how many people work right now

Job Hub (F6)

F6 or /myjobs opens one window for every player: current job with grade, salary and shift timer, clock in and out, panic button. Tabs:

  • Jobs: every held job, switch between them, or go off work (keeps all jobs, the character is unemployed for the moment),
  • Colleagues: who is online and on duty,
  • Invoices: pay or decline,
  • Services: call police, EMS, mechanics, taxis,
  • Board: the newest 20 announcements of the management,
  • My hours: own duty time of the last 7 days, this shift and the best day,
  • Requests: ask the management for something.

On foot the player holds a phone while the Job Hub is open (Config.UI.workAnimations).

Multijob

Key Default What it changes
Config.MultiJob.enabled true Multijob on or off
Config.MultiJob.maxJobs 3 Jobs one character can hold. Qbox uses its own limit
Config.MultiJob.switchCooldown 30 Seconds between two switches
Config.MultiJob.mustBeOffDuty false Players have to be off duty to switch
Config.MultiJob.switchOnHire true A new hire is switched to the new job at once
Config.MultiJob.protectedJobs {} Jobs players cannot quit themselves, for example { 'police' }

On Qbox the native multijob is used. On ESX and QBCore memberships are stored in jcks_job_members.

Duty and shifts

Key Default What it changes
Config.Duty.command false /duty works everywhere instead of only at duty clocks
Config.Duty.trackActivity true Records time on duty for statistics, leaderboard and dashboard
Config.Duty.offDutyOnJoin false Everybody starts off duty after joining
Config.Duty.syncFramework true Mirrors duty to ESX 1.11+, QBCore and Qbox
Config.Duty.shiftSummary true Shows the shift length when going off duty
Config.Duty.flushInterval 300 Seconds between saves of duty time to the database

The Shift HUD is a small timer while on duty (Config.UI.shiftHud, position Config.UI.shiftHudPosition). Pulse cards show duty changes, offers, hires, promotions, bonuses, announcements and applications (Config.UI.pulse).