JCKSDocs
JCKS JobsV2Referência

Settings overview and config.lua

Where every JCKS Jobs option lives, how in game changes are stored, and the options of settings/config.lua.

Nothing has to be edited in files. Every value can be changed in /jobadmin:

  • Server settings: 321 common options with labels in 21 groups (modules, commands, interface, interaction, duty, multijob, boss, Job Center, garage, work, tools, services, dispatch, radio, jail, medical, alerts, forensics, bodycam, fire, taxi). Saved in settings/settings.json, applied for every player at once. A changed value is marked Changed in game, Reset returns to the defaults. Needs the bridge permission jobs.settings.
  • Configuration: every option of every settings file, including server only values. Saved in settings/config.json. Values marked server only never reach players. Webhooks and secrets are write only: the panel shows that one is set, never the value. Export and Import move changed values as JSON, secrets are never exported.

A value changed in game always wins over the file. Every change is written to the activity log.

File Sent to players Content Page
settings/config.lua yes Language, commands, keys, interface, interaction, location marker, duty, radio, multijob, location types, boss, compatibility, billing scripts, Job Center, garage, work this page
settings/config.taxi.lua yes Taximeter, tariffs, roof light, street fares, driver share Taxi
settings/config.services.lua yes Invoices, terminal, duty blips, panic, medical, bodycam, service calls, job actions Services
settings/config.tools.lua yes Restraints, player actions, trunk props Field tools
settings/config.dispatch.lua yes Dispatch, call cards and blips, forensics, cameras, alerts, MDT, jail, evidence MDT and dispatch, Evidence
settings/config.fire.lua yes Fire department Fire
settings/config.gigs.lua yes Gigs Gigs
settings/config.doors.lua yes Door locks Doors
settings/config.restaurants.lua yes Restaurants and bars Restaurants
settings/server/config.lua no Admins, webhooks, limits, salaries, rewards, sale price limits, penal code, private values Server only

Framework, inventory, target, banking, keys, fuel, clothing, notifications and progress bars are set once in the bridge setup.

Settings files start with Config = Config or {}. Never write Config = {}, the load order inside a folder is not fixed.

config.lua

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

Commands

false disables a command.

Key Default What it opens
Config.Commands.admin 'jobadmin' Admin studio
Config.Commands.myJobs 'myjobs' Job Hub
Config.Commands.invoices 'invoices' Invoices sheet
Config.Commands.jobCenter 'jobcenter' Job Center, needs JobCenter.remoteAccess
Config.Commands.boss 'bossmenu' Boss menu, needs Boss.remoteAccess
Config.Commands.duty 'duty' Toggle duty, needs Duty.command
Config.Commands.cancelGig 'cancelgig' Leave the running gig
Config.Commands.clearProps 'clearprops' Admins remove trunk props around them (server file)

Keybinds

Players rebind them in GTA Settings, Key Bindings, FiveM. Admins change them for everyone in /jcks, Keys. '' = no key.

Key Default Action
Config.Keybinds.myJobs 'F6' Job Hub
Config.Keybinds.invoices 'F7' Invoices
Config.Keybinds.acceptOffer 'Y' Accept a job offer
Config.Keybinds.declineOffer 'N' Decline a job offer
Config.Keybinds.interact 'G' Player, trunk and prop menu, only without a target resource
Config.Keybinds.struggle 'E' Try to break free while restrained
Config.Keybinds.handsUp 'X' Raise or lower the hands, police can then restrain a standing player. '' when your server has its own hands up script
Config.Keybinds.use 'E' Prompt of job locations and doors without a target resource
Config.Keybinds.useAlt 'H' Second prompt key at doors, firefighters force a locked door

Interface

Key Type Default What it changes
Config.UI.workAnimations boolean true Tablet for the MDT and evidence locker, notepad for invoices, phone in the Job Hub
Config.UI.deviceFrames boolean true The MDT looks like a rugged tablet
Config.UI.blurGame boolean false Blur the game behind 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 cards for duty, offers, promotions, announcements
Config.UI.pulsePosition string 'top' top or bottom
Config.UI.shiftHud boolean true Live shift timer while on duty
Config.UI.shiftHudPosition string 'bottom-right' Corner of the timer
Config.UI.shiftHudProvider string 'auto' auto, jobs or electronics (smartwatch)
Config.UI.playerSettings.enabled boolean true Personal settings button (gear next to the X) in every jcks_jobs window
Config.UI.playerSettings.windows table every window true false hides the button in one window only

Theme and accent are set in /jcks, Appearance (jcks_bridge), not here.

World interaction

Key Type Default What it changes
Config.Interaction.streamDistance number 45.0 NPCs, props and zones exist only 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
Config.Interaction.textUiKey number 38 Kept for older configs. A value other than 38 is moved to Config.Keybinds.use once at start, then set back to 38
Config.Interaction.zoneSize vector3 vec3(1.6, 1.6, 2.2) Zone size
Config.Interaction.defaultPed string 'a_m_m_business_01' Default NPC
Config.Interaction.defaultProp string 'prop_ld_int_safe_01' Default prop
Config.Interaction.serverTolerance number 6.0 Server distance check, keep it above targetDistance (server file)

Location marker

Drawn above a job location when no target resource is installed, or when the location has Show marker on.

Key Type Default What it changes
Config.Marker.enabled boolean true false never draws location markers
Config.Marker.type number 2 Marker type 0 to 43
Config.Marker.size vector3 vec3(0.3, 0.3, 0.2) Width, depth, height in metres
Config.Marker.color table { 91, 108, 255, 170 } Red, green, blue, alpha (0 to 255)
Config.Marker.height number 1.0 Metres above the location point (0 to 5)
Config.Marker.distance number 8.0 Metres from which the marker is drawn (2 to 50)
Config.Marker.bob boolean false Marker moves up and down
Config.Marker.rotate boolean true Marker spins

Duty and multijob

Key Type Default What it changes
Config.Duty.command boolean false /duty anywhere instead of only at duty clocks
Config.MultiJob.enabled boolean true false = one framework job per character, hiring replaces the current job

Server only duty and multijob keys are on Boss menu, Job Hub and Job Center.

Radio

Going on duty joins the job channel, going off duty leaves it. With pma-voice the restricted channels can only be joined by the listed jobs.

Key Type Default What it changes
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 table channel 1 police and sheriff, 2 ambulance, 3 all three Who may join a channel

Location types, boss, Job Center

The taxi meter moved to its own file settings/config.taxi.lua, see Taxi. See Job creator and Boss menu.

Compatibility and billing scripts

Each part of Config.Compat only answers while the real resource does not run. See Existing scripts.

Key Type Default What it changes
Config.Compat.esxSociety boolean true Emulate esx_society
Config.Compat.esxService boolean true Emulate esx_service with the JCKS duty state
Config.Compat.bossMenus boolean true qb-management, qbx_management and lunar_multijob boss calls
Config.Compat.jobCreators boolean true jaksam jobs_creator exports and events
Config.Compat.multijob boolean true ps-multijob and wasabi_multijob exports
Config.Compat.medical boolean true esx_death, qbx_medical, wasabi_ambulance, qb-ambulancejob and other dead state calls
Config.Compat.txAdminHeal boolean true The txAdmin heal button revives players downed by the built in medical system
Config.Compat.reviveEvents boolean false Revive on esx_ambulancejob:revive or hospital:client:Revive. A cheat menu can send these, keep it off unless you need it
Config.Compat.restraints boolean true IsHandcuffed exports and cuff state bags of other police scripts
Config.Compat.dispatch boolean true Alerts sent to qs-dispatch, rcore_dispatch, tk_dispatch, core_dispatch, lb-tablet, wasabi_mdt, piotreq_gpt and linden_outlawalert become JCKS alerts
Config.Compat.phoneCalls boolean true Messages to police, EMS or fire in lb-phone, gksphone or sd-phone become dispatch calls
Config.BillingCompat.provider string 'jobs' Where invoices go: jobs, auto, esx_billing, okokBilling or qb-phone, see Invoices
Config.BillingCompat.esxBilling boolean true Answer esx_billing events and exports with JCKS invoices
Config.BillingCompat.okokBilling boolean true Answer the okokBilling CreateInvoice export with JCKS invoices

The server console command jcksjobs_import lists and imports jobs and grades from the framework and memberships from ps-multijob, randol_multijob, wasabi_multijob and qs-multijob.

Garage and work

Key Type Default What it changes
Config.Garage.spawnClearRadius number 3.0 Spawn point must be free within this radius
Config.Garage.storeRadius number 12.0 Return distance to the garage
Config.Work.craftScenario string 'PROP_HUMAN_PARKING_METER' Craft animation when a point has none
Config.Work.societyPermission boolean true Company paid shops need society_purchase
Config.Work.societyDailyLimit number 25000 Most one player spends per day from the company account, 0 = no limit

Server only garage and work keys are on Server only settings.