JCKSDocs
ChangelogChangelog

JCKS Bridge 2.0.0

Changes in JCKS Bridge from 1.0.0 to 2.0.0, grouped by feature.

Platform

  • Runs on jcks_lib. Callbacks, clipboard and vehicle props come from jcks_lib. ox_lib is only an optional provider.
  • ox_core and standalone adapters next to ESX, QBCore and Qbox. Owned vehicles go through a per framework adapter (ox_core vehicles table, own table for standalone).
  • Inventory adapters for Codem Inventory AIO and mInventory, tgiann-inventory, Quasar Inventory, ak47_inventory, core_inventory, ps-inventory and origen_inventory. Auto detection prefers them when they run.
  • JCKS interactions as target system jcks. Zones keep their size and rotation.
  • jcks_electronics as phone provider, MDT provider kind with MdtProvider, MdtOpen, MdtCan, MdtNotify, page, tab and search registration and MdtDevice.

Setup

  • /jcks (and /settings when no other resource uses it) with server pages and one page per script, save in the top bar.
  • First setup through a one time console code, starting with a language choice.
  • Overview with a to do list, installed scripts with state and version, update notes.
  • Providers page for notifications, progress, skill check and prompt, per script overrides, providers registered by other resources.
  • Access page with permission rules by framework group, ACE, identifier (licence, Discord, FiveM ID) and job.
  • Themes, theme per script, Interactions and Keys pages. Every jcks.keybind lists itself, admins press the new key, clashes are shown.
  • Script registration through jcks.settings.register.
  • History with revisions, restore and conflict detection. Settings read from the database first with the KVP as cache.
  • Version check against the JCKS versions file, console report after start, status in every admin window.

Import from V1

  • V1 files copied into settings/ and editable/ once.
  • V1 setup converted on the first start, Import from V1 in History with preview and a choice for conflicts, backup and an import revision.
  • Old setup log trimmed to the newest 50 entries.

Security and fixes

  • Money and item exports reject offline players, bad item names and non positive or fractional amounts.
  • Owned vehicle lookups by plate use the index instead of full scans. Searches escape % and _ and cap the query length.
  • The admin flag is written in one place, so admins are no longer reported for state bag tampering.
  • Another resource cannot take over an existing permission or MDT registration.
  • Police see licences only on duty and within viewDistance.
  • The client caches the player job for 1.5 s and updates it on job change events.