JCKS JobsV1Reference
Server only settings
Every value of data/config.server.lua in JCKS Jobs 1.0.0, which never leaves the server.
data/config.server.lua is loaded only on the server, so salaries, limits, rewards, admin identifiers and webhooks cannot be dumped by a client. All values are also editable in /jobadmin, Configuration. Drug values are on Drugs settings.
Admins and logs #
| Key |
Type |
Default |
What it changes |
ServerConfig.AdminIdentifiers |
list |
{} |
Identifiers with permanent /jobadmin access (license:, discord:, fivem:, steam:) |
ServerConfig.Webhooks |
table |
all '' |
Discord webhook per category: default, admin, boss, finance, duty, work, tools, security |
ServerConfig.WebhookName |
string |
'JCKS Jobs' |
Webhook author name |
ServerConfig.WebhookAvatar |
string |
'' |
Webhook avatar |
ServerConfig.KickOnExploit |
boolean |
false |
Kicks players who send clearly manipulated requests |
Config.AdminAce |
string |
'jcks_jobs.admin' |
ACE that opens /jobadmin |
Config.Commands.clearProps |
string |
'clearprops' |
Admin command to remove trunk props |
Config.Logs.database |
boolean |
true |
Activity log in the database |
Config.Logs.retentionDays |
number |
30 |
Older entries are deleted on start, 0 = keep |
default is used for every category without its own webhook. Messages are batched, up to 10 embeds per request. When jcks_logs runs, logs also go through the bridge hub, see Optional resources.
| Category |
What is logged |
admin |
Jobs, grades, locations and settings changed in the studio |
boss |
Hiring, firing, promotions, applications, announcements |
finance |
Deposits, withdrawals, bonuses, balance corrections |
duty |
On and off duty with the shift length |
work |
Shop purchases, crafting, selling, garage |
tools |
Handcuffs, zip ties, searches |
security |
Blocked requests |
Interaction, marker, duty #
| Key |
Type |
Default |
What it changes |
Config.Interaction.serverTolerance |
number |
6.0 |
Server distance check, keep it above targetDistance |
Config.Marker.type |
number |
2 |
Floor marker type |
Config.Marker.size |
vector3 |
vec3(0.3, 0.3, 0.2) |
Marker size |
Config.Marker.color |
RGBA |
{ 91, 108, 255, 170 } |
Marker colour |
Config.Marker.bob, rotate |
boolean |
false, true |
Marker animation |
Config.Duty.trackActivity |
boolean |
true |
Records duty time |
Config.Duty.offDutyOnJoin |
boolean |
false |
Everybody starts off duty |
Config.Duty.syncFramework |
boolean |
true |
Mirrors duty to the framework |
Config.Duty.shiftSummary |
boolean |
true |
Shift length when going off duty |
Config.Duty.flushInterval |
number |
300 |
Seconds between saves of duty time |
| Key |
Type |
Default |
Config.MultiJob.maxJobs |
number |
3 |
Config.MultiJob.switchCooldown |
number |
30 |
Config.MultiJob.mustBeOffDuty |
boolean |
false |
Config.MultiJob.switchOnHire |
boolean |
true |
Config.MultiJob.protectedJobs |
list |
{} |
Config.Boss.hireDistance |
number |
6.0 |
Config.Boss.requireConsent |
boolean |
true |
Config.Boss.offerTimeout |
number |
20 |
Config.Boss.maxBonus |
number |
25000 |
Config.Boss.bonusCooldown |
number |
60 |
Config.Boss.maxSalary |
number |
10000 |
Config.Boss.maxAnnouncementLength |
number |
180 |
Config.Boss.announcementCooldown |
number |
60 |
Config.Boss.maxOpenRequests |
number |
3 |
Config.Boss.transactionsPageSize |
number |
50 |
Config.JobCenter.applicationCooldown |
number |
12 (hours) |
Config.JobCenter.maxPendingApplications |
number |
3 |
Config.JobCenter.maxAnswerLength |
number |
600 |
Config.JobCenter.showOnDutyCount |
boolean |
true |
What each one changes is on Boss menu.
Garage and work #
| Key |
Type |
Default |
What it changes |
Config.Garage.maxVehiclesPerPlayer |
number |
1 |
Job vehicles out at once per player |
Config.Garage.platePrefix |
string |
'JOB' |
Default plate prefix, max 4 characters |
Config.Garage.warpIntoVehicle |
boolean |
true |
Puts the player into the spawned vehicle |
Config.Garage.fuel |
number |
100.0 |
Fuel of spawned vehicles |
Config.Garage.deleteOnDrop |
boolean |
true |
Deletes job vehicles of players who leave |
Config.Garage.deposit |
number |
0 |
Deposit, 0 = off |
Config.Garage.damageCost |
number |
1500 |
Repair cost of a wrecked vehicle, 0 = off |
Config.Garage.damagePaidBy |
string |
'society' |
'society' or 'employee' |
Config.Work.minDurationFactor |
number |
0.8 |
Actions finished faster than duration times factor are rejected |
Config.Work.maxCraftAmount |
number |
10 |
Items per craft |
Config.Work.maxShopQuantity |
number |
50 |
Items per purchase |
Limits #
| Key |
Default |
Config.Limits.maxJobs |
250 |
Config.Limits.maxGradesPerJob |
30 |
Config.Limits.maxPointsPerJob |
60 |
Config.Limits.maxListEntries |
60 (items, vehicles, recipes or uniforms per location) |
Config.Limits.maxSalary |
1000000 |
Config.Limits.maxBlipsPerJob |
10 |
Config.Limits.maxQuestions |
20 |
Config.ProtectedJobs |
{ 'unemployed' } |
| Key |
Type |
Default |
Config.Restraints.struggleCooldown |
number |
90 |
Config.Restraints.struggleDifficulty |
list |
{ 'easy', 'medium', 'medium', 'hard' } |
Config.Restraints.keepOnReconnect |
boolean |
true |
Config.PlayerActions.escortAfterTakeOut |
boolean |
true |
Config.TrunkProps.maxPerPlayer |
number |
20 |
Config.TrunkProps.lifetime |
number |
0 |
Config.TrunkProps.removeOnDrop |
boolean |
true |
Config.TrunkProps.maxVehicleDistance |
number |
60.0 |
Job groups #
Config.JobGroups (default emergency = { 'police', 'sheriff', 'ambulance' }): jobs in one group see each other's duty blips and receive each other's panic alerts. A job outside every group only works with its own colleagues. Groups are edited only here and in Configuration, there is no group page in V1.
Billing, paychecks, blips, panic, bodycam, calls #
| Key |
Default |
Config.Billing.maxAmount |
100000 |
Config.Billing.commission |
10 |
Config.Billing.account |
'bank' |
Config.Billing.allowDecline |
true |
Config.Billing.maxPending |
10 |
Config.Billing.remindOnJoin |
true |
Config.Billing.presets |
police, ambulance, mechanic lists |
Config.Payroll |
{ enabled = false, interval = 15, onlyOnDuty = true, fromSociety = true, account = 'bank' } |
Config.DutyBlips.showNames |
true |
Config.DutyBlips.showGrade |
true |
Config.DutyBlips.requireGpsItem |
false |
Config.DutyBlips.gpsItem |
'gps' |
Config.DutyBlips.showSelf |
false |
Config.DutyBlips.sirenFlash |
true |
Config.DutyBlips.panicSeconds |
60 |
Config.Panic.cooldown |
60 |
Config.Panic.blipTime |
90 |
Config.Panic.dispatch |
true |
Config.Bodycam.item |
'' |
Config.Bodycam.viewMinGrade |
2 |
Config.ServiceCalls.cooldown |
60 |
Config.ServiceCalls.blipTime |
120 |
Config.ServiceCalls.anonymous |
false |
Dispatch and MDT #
| Key |
Type |
Default |
What it changes |
Config.Dispatch.warrantMail |
boolean |
true |
Phone mail to the wanted person |
Config.Dispatch.requireDuty |
boolean |
true |
Only units on duty receive calls |
Config.Dispatch.callLifetime |
number |
1200 |
Seconds without activity before a call closes, 0 = never |
Config.Dispatch.maxCalls |
number |
60 |
Oldest call is dropped past this |
Config.Dispatch.warrantExpiryDays |
number |
30 |
Days before a warrant or BOLO can expire, 0 = never |
Config.Forensics.collectItem |
string |
'evidence_bag' |
Item needed to collect traces |
Config.Forensics.sampleRequiresRestraint |
boolean |
true |
Samples only from restrained or downed people |
Config.Forensics.viewRadius |
number |
40.0 |
Meters of forensic mode |
Config.Forensics.gsrMinutes |
number |
30 |
Residue on the hands |
Config.Forensics.lifetime |
table |
blood 3600, casing 5400, fingerprint 7200 |
Seconds a trace stays |
Config.Forensics.maxTraces |
number |
1500 |
Traces kept at once |
Config.Forensics.salt |
string |
'change-me' |
Makes DNA and fingerprint codes unique to your server |
Config.Alerts.shootingRadius |
number |
25 |
Shooting call position is off by up to this many meters |
Config.Alerts.vehicleTheft |
boolean |
true |
jcks_vehicles theft alarms |
Wiretap #
| Key |
Default |
What it changes |
Config.Wiretap.enabled |
true |
Wiretaps |
Config.Wiretap.minGrade |
2 |
Police grade that may open one |
Config.Wiretap.requireWarrant |
true |
Person needs an active warrant |
Config.Wiretap.maxHours |
72 |
Longest wiretap |
Config.Wiretap.phoneItems |
{ 'phone' } |
Target must carry one to be located, empty = no check |
Config.Wiretap.locateCooldown |
60 |
Seconds between two triangulations |
Config.Wiretap.locateAccuracy |
160.0 |
Radius of the area in meters |
Config.Wiretap.keepDays |
30 |
Records are deleted after this |
Reports #
| Key |
Default |
What it changes |
Config.Reports.types |
{ 'incident', 'arrest', 'traffic', 'medical' } |
Report types |
Config.Reports.maxInvolved |
12 |
People or vehicles per report |
Config.Reports.maxCharges |
20 |
Charges per report |
Config.Reports.seizeMinGrade |
1 |
Grade that may seize a vehicle |
Config.Reports.licenseMinGrade |
1 |
Grade that may suspend or revoke driving licences, needs jcks_vehicles |
Config.Reports.maxSuspendDays |
30 |
Longest suspension from the MDT |
Config.Reports.permitTypes |
{ weapon = true, hunting = true, fishing = true } |
Bridge licence types police may issue or revoke |
Config.Reports.permitMinGrade |
2 |
Grade for permits |
Penal code #
Config.PenalCode is a list of { id, category, label, fine, months }. The id must stay unique and stable because reports store it. The defaults hold 18 charges in the categories traffic, vehicle, violent, public, weapons and drugs, from Speeding (750, 0 months) to Drug trafficking (20000, 45 months). It is also edited in /jobadmin, Penal code.