JCKSDocs
JCKS BridgeV1Référence

Configuration

Every option of shared/defaults.lua in JCKS Bridge 1.0.0 and how it relates to the setup wizard.

Most choices are made in the setup wizard (/jckssetup) and stored in the database. shared/defaults.lua holds the defaults and stays readable in the escrow build. The file has no comments, the meaning of each key is below.

Systems

Key Type Default What it changes
Debug boolean false Prints detection results and caught bridge errors to the server console and F8. Target zones are drawn.
Framework string 'auto' esx, qb, qbx
Inventory string 'auto' ox_inventory, qb-inventory, framework
Target string 'auto' ox_target, qb-target, tgiann-target, none
Society string 'auto' esx_addonaccount, qb-banking, Renewed-Banking, qb-management, internal
Keys string 'auto' Vehicle key resource or 'none'
Phone string 'auto' Phone resource or 'none'
Fuel string 'auto' Fuel resource used when a vehicle is spawned, or 'none'
Clothing string 'auto' Wardrobes and civilian skin, or 'none'

Look and players

Key Type Default What it changes
NotifyPosition string 'top-right' Notification position
ProgressStyle string 'circle' circle or bar
TextUIPosition string 'left-center' Position of the [E] prompt
AdminGroups table { 'admin', 'superadmin', 'god' } ESX groups, or QBCore and Qbox ACE groups, that count as admins in every JCKS resource
Unemployed string 'unemployed' Job name your framework uses for no job
ItemImagePath string nil Item image path, %s is the item name. nil picks it from the detected inventory.

Vehicle identity

Key Type Default What it changes
Identity.primary string 'uuid' uuid, vin or plate as the primary vehicle identity
Identity.requireVin boolean true Every owned vehicle gets a VIN
Identity.plateFallback boolean true Vehicles without a JCKS id are found by plate

Licences

Key Type Default What it changes
Licenses.esxCompat boolean true Answers esx_license calls when esx_license is not running
Licenses.mirrorEsx boolean true ESX: writes licences into user_licenses too
Licenses.importEsx boolean true ESX: imports user_licenses once
Licenses.strictTypes boolean false Only listed types can be issued
Licenses.viewJobs table { police = true, sheriff = true } Jobs that may look at licences
Licenses.showDistance number 3.0 Meters for showing your licence to someone
Licenses.pointsLimit number 12 Points that suspend a licence
Licenses.pointsSuspendDays number 7 Days of suspension
Licenses.types table 9 types drive, drive_bike, drive_truck (30 days), aircraft, boat (60), weapon, hunting (90), fishing (180), business (no expiry)

Company accounts

Key Type Default What it changes
SocietyCompat.esx boolean true Answers esx_addonaccount and esx_society calls when they are not running
SocietyCompat.transactions boolean true Writes company deposits and withdrawals into the history

Security

Same keys and defaults as in V2: windowMs = 120000, kickThreshold = 6, kickMessage, trapKick = true, heartbeat (enabled = true, interval = 30, misses = 3, maxPing = 400, kick = false), entityGuard (enabled = true and 13 blocked models), netGuard (enabled, explosions, explosionLimit = 8, explosionWindow = 3000, blockInvisible, entitySpam, entityLimit = 40, entityWindow = 10000, clearTasks, weapons, all on) and onKick. The meaning of every key is in Bridge V2 configuration.

All five protections are switches in /jckssetup, Server, Security. The welcome step shows reports, flagged players, kicks and the most common reasons since the start. Trap events are event names cheat menus try on JCKS resources, for example jcks_jobs:server:addMoney. No JCKS code sends them, so the sender is reported and, with trapKick, kicked.