JCKSDocs
JCKS JobsV1Dokumentacja techniczna

Core settings

Every option of data/config.lua in JCKS Jobs 1.0.0 with type, default and effect.

How settings work in V1

The files in data/ only hold defaults. Every value is changed in game: /jobadmin, Configuration (all options) or Server settings (the common ones with labels). A value changed in game wins over the file and is marked Changed in game, Reset goes back to the file.

File Sent to players Content
data/config.lua yes Core options on this page
data/config.services.lua yes Services
data/config.tools.lua yes Field tools
data/config.dispatch.lua yes Dispatch
data/config.drugs.lua yes Drugs
data/config.server.lua no Server only: salaries, limits, rewards, admins, webhooks

Server settings are stored in jcks_job_settings, Configuration values in jcks_job_config. Webhooks and secrets are write-only in the panel. Export and Import move every changed value as JSON, secrets are never exported.

General

Key Type Default What it changes
Config.Debug boolean false Debug prints and visible interaction zones
Config.Locale string 'en' Server language for notifications
Config.Languages list { 'en', 'sk', 'cs' } Languages players can pick in Preferences

To add a language copy locales/en.json to locales/<code>.json, translate the values, keep keys and {placeholders}, add the code to Config.Languages and restart. Missing keys fall back to English.

Commands

false disables a command completely.

Key Type Default What it changes
Config.Commands.admin string 'jobadmin' Admin studio
Config.Commands.myJobs string 'myjobs' Job Hub
Config.Commands.jobCenter string 'jobcenter' Job Center anywhere, needs JobCenter.remoteAccess
Config.Commands.boss string 'bossmenu' Boss menu anywhere, needs Boss.remoteAccess
Config.Commands.duty string 'duty' Duty anywhere, needs Duty.command

Keybinds

Players rebind them in Settings, Key Bindings, FiveM. '' = no key.

Key Type Default What it changes
Config.Keybinds.myJobs string 'F6' Job Hub
Config.Keybinds.acceptOffer string 'Y' Accept a job offer
Config.Keybinds.declineOffer string 'N' Decline a job offer
Config.Keybinds.interact string 'G' Player, trunk and prop menu, only registered without a target resource
Config.Keybinds.struggle string 'E' Break free while restrained

Interface

Key Type Default What it changes
Config.UI.workAnimations boolean true Tablet with the MDT and evidence locker, notepad for invoices, phone in the Job Hub
Config.UI.deviceFrames boolean true MDT drawn as a rugged tablet
Config.UI.theme string 'server' 'server' = bridge appearance, or 'dark', 'light', 'auto'
Config.UI.accent string 'server' 'server' or jcks, blue, purple, pink, red, orange, yellow, green, graphite
Config.UI.blurGame boolean true Blurs the game behind open menus
Config.UI.sounds boolean true Interface sounds
Config.UI.currency string '$' Currency symbol
Config.UI.currencyPosition string 'before' 'before' or 'after'
Config.UI.pulse boolean true Pulse notification cards
Config.UI.pulsePosition string 'top' 'top' or 'bottom'
Config.UI.shiftHud boolean true Shift timer while on duty
Config.UI.shiftHudPosition string 'bottom-right' 'top-left', 'top-right', 'bottom-left', 'bottom-right'

Players still pick their own language, theme and accent in Preferences, stored on their PC.

World interaction

Key Type Default What it changes
Config.Interaction.streamDistance number 45.0 NPCs, props and zones only exist within this range
Config.Interaction.targetDistance number 2.2 Reach of target options
Config.Interaction.textUiDistance number 1.6 Reach of the [E] prompt without a target resource
Config.Interaction.textUiKey number 38 Control id of the prompt key (38 = E)
Config.Interaction.zoneSize vector3 vec3(1.6, 1.6, 2.2) Size of location zones
Config.Interaction.defaultPed string 'a_m_m_business_01' NPC model when a location sets none
Config.Interaction.defaultProp string 'prop_ld_int_safe_01' Prop model when a location sets none

Duty, radio and taxi meter

Key Type Default What it changes
Config.Duty.command boolean false /duty everywhere instead of only at duty clocks
Config.Radio.enabled boolean true Radio integration
Config.Radio.resource string 'auto' 'auto', 'pma-voice' or 'saltychat'
Config.Radio.autoJoin boolean true Join the job channel on duty
Config.Radio.requireDuty boolean true Restricted channels only on duty
Config.Radio.channels table { police = 1, sheriff = 1, ambulance = 2 } Channel per job
Config.Radio.restricted list channels 1, 2, 3 pma-voice channels only these jobs can join

The taxi meter options are on Invoices.

Modules

Key Type Default What it changes
Config.MultiJob.enabled boolean true Multijob
Config.LocationTypes.<type> boolean true each duty, stash, locker, boss, outfits, wardrobe, shop, garage, craft, collect, sell, teleport, jobcenter
Config.Boss.enabled boolean true Boss menu
Config.Boss.remoteAccess boolean false /bossmenu everywhere
Config.JobCenter.enabled boolean true Job Center
Config.JobCenter.remoteAccess boolean true /jobcenter everywhere
Config.Garage.spawnClearRadius number 3.0 Spawn point must be free within this radius
Config.Garage.storeRadius number 12.0 Vehicles can be returned within this distance
Config.Work.craftScenario string 'PROP_HUMAN_PARKING_METER' Craft animation when a point sets none