JCKSDocs
JCKS JobsV2Referência

Server only settings

Options of settings/server/config.lua that never reach players, such as admins, webhooks, limits and garage rules.

This file is never sent to players. Salaries, limits, rewards, the penal code and secrets live here so a client cannot dump them. Every value can be changed in /jobadmin, Configuration. Server only parts of other modules are listed on their own pages: Boss menu, Invoices, MDT and dispatch, Evidence and forensics, Services, Field tools.

Admins and logs

Key Type Default What it changes
ServerConfig.AdminIdentifiers table {} Identifiers with /jobadmin access (license:, discord:, fivem:, steam:)
Config.AdminAce string 'jcks_jobs.admin' ACE for /jobadmin
ServerConfig.Webhooks table all '' Discord webhook per category: default, admin, boss, finance, duty, work, tools, security
ServerConfig.WebhookName string 'JCKS Jobs' Webhook author
ServerConfig.WebhookAvatar string '' Webhook avatar
ServerConfig.KickOnExploit boolean false Kick players who send manipulated requests
Config.Logs.database boolean true Activity log in the database
Config.Logs.retentionDays number 30 Older entries deleted on start, 0 = keep

default is used for every category without its own webhook. When JCKS Logs runs, the bridge forwards every log line there and the own webhooks stay as the fallback.

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 changes
duty On and off duty with the shift length
work Shop purchases, crafting, selling, garage, doors
tools Handcuffs, zip ties, searches
security Blocked cheat attempts

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' Plate prefix, up to 4 characters
Config.Garage.warpIntoVehicle boolean true Put the player into the vehicle
Config.Garage.fuel number 100.0 Fuel on spawn
Config.Garage.deleteOnDrop boolean true Delete job vehicles of players who leave
Config.Garage.deposit number 0 Deposit taken out and returned, 0 = off
Config.Garage.damageCost number 1500 Repair cost of a fully wrecked vehicle, scaled by damage
Config.Garage.damagePaidBy string 'society' society or employee (from the deposit, then the bank)
Config.Garage.damageFreePercent number 3 Damage below this costs nothing
Config.Garage.depositAccount string 'bank' bank or cash
Config.Work.minDurationFactor number 0.8 Actions faster than duration times this are rejected
Config.Work.maxCraftAmount number 10 Most items crafted at once
Config.Work.maxShopQuantity number 50 Most items bought at once
Config.Work.collectCooldownPersist boolean true Harvest cooldown survives a reconnect
Config.Work.bossPricing boolean true false = bosses cannot change prices of shop and sell locations. The restaurant menu card keeps its own management
Config.Work.maxSalePrice number 1000000 Highest price or payout per piece anywhere, also the bound of items with no limit (1 to 100000000), see Sales and prices
Config.Work.bossMinPercent number 50 Player paid shops: lowest boss price of an item without a range, in % of the admin price (0 to 100, never below 1)
Config.Work.bossAddItems table {} Items a boss may add to a shop with Boss may add other items. Empty = the boss cannot add items

The location marker (Config.Marker) is in settings/config.lua, see Settings overview.

Exploit score

Every blocked cheat attempt adds points to the character. When a character reaches threshold inside windowHours, one exploit_score entry goes to Logs, Security and Discord, and ServerEditable.OnExploitScore runs. /jobadmin, Health shows the ranking.

Key Type Default What it changes
ServerConfig.ExploitScore.enabled boolean true Score, alert and ranking
windowHours number 24 How far back points count (1 to 168)
threshold number 12 Points that trigger the alert, 0 = never alert
kick boolean false Also kick the player at the threshold
defaultWeight number 2 Points for a blocked request
suspiciousWeight number 1 Points for a soft signal that lag can cause
weights table admin_rpc_denied = 4, rpc_payload_rejected = 4, rpc_flood = 3, state_bag_tamper = 6, mg_impossible = 5, point_distance = 1, door_distance = 1 Points per reason

State bags of jcks_jobs are watched and written back when a client changes them. Real protection is setr sv_stateBagStrictMode true in server.cfg; test your other scripts first.

Limits

Key Default
Config.Limits.maxJobs 250
Config.Limits.maxGradesPerJob 30
Config.Limits.maxPointsPerJob 60
Config.Limits.maxListEntries 60 (items, vehicles, recipes, uniforms per location)
Config.Limits.maxSalary 1000000
Config.Limits.maxBlipsPerJob 10
Config.Limits.maxQuestions 20
Config.ProtectedJobs { 'unemployed' } (cannot be deleted)

Gig editor limits

Staff with jobs.gigs but without jobs.admin build gigs inside these limits. Full admins are not limited.

Key Default What it changes
Config.GigStaffLimits.maxBase 2500 Highest finish pay
maxPerStop 500 Highest pay per stop
maxDeposit 5000 Highest vehicle deposit
rewardItems false May give reward items
assignJob false May hand out a job during the gig
maxCancelPenalty 1000 Highest cancel fine
vehicleModels list of work vehicles Models staff may pick, {} = any
contractMaxPay, contractMaxXp 2.0, 2.0 Contract multipliers
contractMaxSlots, contractMaxMinutes 10, 1440 Contract size and time

Duty, multijob, boss, Job Center, groups, billing, payroll, MDT

Documented on Boss menu, Job Hub and Job Center, Job creator, Invoices and MDT and dispatch.