JCKSDocs
JCKS JobsV1Referenz

Services settings

Options of data/config.services.lua in JCKS Jobs 1.0.0, from billing to bodycams.

Every module in data/config.services.lua has its own enabled switch. Server only values of the same sections are on Server only settings.

Billing

Key Type Default What it changes
Config.Billing.enabled boolean true Invoices
Config.Billing.requireDuty boolean true Only on duty
Config.Billing.distance number 5.0 Max meters to the other player
Config.Billing.allGrades list { 'police', 'sheriff', 'ambulance', 'mechanic' } Every grade of these jobs can bill

Duty blips

Key Type Default What it changes
Config.DutyBlips.enabled boolean true Unit blips
Config.DutyBlips.interval number 3 Seconds between position updates
Config.DutyBlips.smooth boolean true Near units move in real time, far ones glide
Config.DutyBlips.showCallsign boolean true Callsign in front of the name
Config.DutyBlips.showStatus boolean true Dispatch status after the name
Config.DutyBlips.toggleCommand string 'unitblips' Players hide their blips, '' = off
Config.DutyBlips.sprites table foot 1, car 56, bike 226, heli 43, plane 423, boat 427 Blip icon per vehicle type
Config.DutyBlips.jobs table police, sheriff, ambulance, mechanic sprite, color, label per job

Panic

Key Type Default What it changes
Config.Panic.enabled boolean true Panic button
Config.Panic.jobs list { 'police', 'sheriff', 'ambulance' } Jobs with a panic button
Config.Panic.command string 'panic' 10-99, officer or medic in danger
Config.Panic.crashCommand string 'panicb' 10-50, unit crashed
Config.Panic.key string '' Default key for /panic
Config.Panic.crashKey string '' Default key for /panicb

Medical

Key Type Default What it changes
Config.Medical.enabled boolean or 'auto' 'auto' On unless another ambulance resource runs
respawnMinutes number 5 Minutes before respawn at the hospital
respawnFee number 1500 Paid on respawn
removeItemsOnRespawn boolean false Runs ServerEditable.OnRespawn
npcMedic boolean true NPC medic without EMS on duty
npcAlways boolean false NPC medic also while EMS are on duty
npcDelaySeconds number 60 Delay before the NPC medic arrives
npcFee number 3000 NPC medic fee
feeToJob string or false 'ambulance' Society that receives hospital fees
distressCooldown number 90 Seconds between two EMS calls while down
downHealth number 110 Health while down
injuryThreshold number 10 Health lost in one hit before it is an injury
bleedInterval number 20000 Ms between blood losses of one wound
bleedFloor number 120 Bleeding stops below this health
reviveItem string 'defibrillator' EMS need it to revive, '' = nothing
reviveTime number 10000 Revive duration in ms
reviveReward number 700 Paid to the medic for a revive
treatReward number 150 Paid for a treatment
rewardCooldown number 600 Seconds before the same patient pays again
civilianRevive boolean true CPR with a first aid kit
civilianReviveOnlyWithoutEms boolean true CPR only without EMS online
civilianReviveChance number 60 CPR success percent
firstAidItem string 'firstaid' CPR item
treatments table see Medical Item, time and heal per injury type
commands table revive, heal, revivearea, examine, injuries Command names
gear table see Medical Stretcher and medical bag
checkIn table { enabled = true, fee = 750, maxEms = 0, duration = 15000, radius = 3.0 } Hospital reception
hospitals list Pillbox Hill, Sandy Shores, Paleto Bay label, coords, beds

All medical keys sit under Config.Medical.

Bodycam

Key Type Default What it changes
Config.Bodycam.enabled boolean true Bodycams
Config.Bodycam.jobs table police, sheriff, ambulance Jobs with a bodycam
Config.Bodycam.command string 'bodycam' Turn the camera on or off
Config.Bodycam.viewCommand string 'bodycams' Watch colleagues
Config.Bodycam.key string '' Default key
Config.Bodycam.requireDuty boolean true Only on duty
Config.Bodycam.model string 'AXON BODY 3' Text in the overlay
Config.Bodycam.showOwnOverlay boolean true REC overlay for the wearer

Service calls

Key Type Default What it changes
Config.ServiceCalls.enabled boolean true Service calls
Config.ServiceCalls.command string or false 'call' false = only through F6
Config.ServiceCalls.respondCommand string 'respond' Respond to the latest call
Config.ServiceCalls.respondKey string '' Default respond key
Config.ServiceCalls.jobs table police, ambulance, mechanic, taxi Callable jobs with label and icon

Job actions

Key Type Default What it changes
Config.JobActions.enabled boolean true Job actions
Config.JobActions.requireDuty boolean true Only on duty
Config.JobActions.actions table see Field tools jobs, duration, item, consume per action