server.cfg
Start the bridge after everything it talks to.
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure ox_inventory
ensure ox_target
ensure jcks_ui
ensure jcks_bridge
ensure jcks_jobs
add_ace resource.jcks_bridge command allow| Line | Notes |
|---|---|
qbx_core |
Or es_extended, qb-core |
ox_inventory |
Or qb-inventory |
ox_target |
Optional, or qb-target, tgiann-target |
| Banking, keys, phone, fuel, clothing | Start them before the bridge too |
ensure jcks_jobs |
And every other JCKS resource after the bridge |
add_ace resource.jcks_bridge command allow |
Lets the setup wizard restart the JCKS resources by itself |
On start the console prints what was detected:
[jcks_bridge] v1.0.0 · framework qbx · inventory ox_inventory · target ox_target · accounts Renewed-Banking · keys qbx_vehiclekeys · fuel ox_fuel · clothing illenium-appearanceDatabase
Tables are created automatically. install/schema.sql is the reference:
| Table | Content |
|---|---|
jcks_bridge_settings |
The setup (key setup) |
jcks_bridge_setup_log |
Who saved the setup and what |
jcks_bridge_accounts |
Company balances with internal accounts |
jcks_bridge_transactions |
Company deposits and withdrawals |
jcks_licenses |
Licences with expiry, suspension and points |
jcks_vehicle_identity |
UUID, VIN and plate of owned vehicles |
First setup
On the first start the bridge locks the JCKS resources and opens the setup wizard for the first admin who joins. An admin has the ACE jcks.admin or command, or a framework group from AdminGroups. Every choice is stored in the server KVP jcks:setup and in jcks_bridge_settings, and can be changed later with /jckssetup.
Wizard steps: Welcome, Environment, Integrations, Vehicle identity, Modules, Server rules, Appearance, Review and apply. When a new JCKS module starts that was not set up yet, the wizard opens its Module setup for an admin.
In the server console jckssetup prints whether the server is configured.
Updating to V2
See Upgrading from V1. The V1 setup and every table are kept.