JCKSDocs
JCKS JobsV1Referência

Field tools settings

Options of data/config.tools.lua in JCKS Jobs 1.0.0.

How the tools behave in game is on Field tools. Server only values (cooldowns, limits) are on Server only settings.

Restraints

Key Type Default What it changes
Config.Restraints.enabled boolean true Restraints
Config.Restraints.distance number 2.0 Max meters between both players
Config.Restraints.requireDuty boolean true Types limited to jobs only work on duty
Config.Restraints.types.handcuffs table item handcuffs, not consumed, jobs police and sheriff, removed with handcuff_key, no struggle Handcuffs
Config.Restraints.types.zipties table item zipties, consumed, everybody, removed with knife, switchblade, dagger or machete, struggle Zip ties

Fields of a type: item, consume, jobs, removeWith, returnItem, struggle.

Player actions

Key Type Default What it changes
Config.PlayerActions.escort boolean true Escort players
Config.PlayerActions.vehicle boolean true Put in and take out of vehicles
Config.PlayerActions.search boolean true Search inventories
Config.PlayerActions.jobs list or false false Allowed jobs, false = everybody
Config.PlayerActions.requireDuty boolean false With jobs set: only on duty

Trunk props

Key Type Default What it changes
Config.TrunkProps.enabled boolean true Trunk props
Config.TrunkProps.requireDuty boolean true Only on duty
Config.TrunkProps.catalog table 10 props label, model, icon, limit, freeze, spikes per prop
Config.TrunkProps.jobs table police, ambulance, mechanic minGrade, vehicles (spawn names), props (catalog keys) per job