JCKSDocs
JCKS BridgeV2Pomoc

Troubleshooting

Fixes for wrong detection, a locked setup, missing stashes or target options and failing exports in JCKS Bridge 2.0.0.

The framework shows standalone although I run ESX, QBCore or Qbox. The bridge started before the framework, or the framework folder is renamed. Fix the order in server.cfg, or pick the framework in /jcks, Environment.

Inventory shows framework but I use ox_inventory. ox_inventory is not started or starts after the bridge. Check the start order.

Company money shows internal. No supported banking resource was found. Balances are stored in jcks_bridge_accounts. That is fine without a banking script. If you use one, pick it in /jcks, Integrations, Company accounts.

All JCKS scripts are locked after the first start. The setup is not saved yet. Read the code from the server console (type jcks there to print it again) and open the setup in game with /jcks <code>.

/jcks does nothing. Only admins open it after the setup is saved. The server console prints why the player was refused and the lines to add. Add add_ace group.admin jcks.admin allow together with add_principal identifier.license:YOUR_LICENSE group.admin, put your group into Admin groups, or add your identifier to AdminPeople. Your own staff system can answer through Editable.IsAdmin. On Qbox and QBCore an admin flag in the database is not read, and the txAdmin menu has its own permissions. Only ACE in server.cfg counts.

The setup cannot restart or stop scripts. Add add_ace resource.jcks_bridge command allow to server.cfg. The setup shows the bridge has no permission to restart resources without it.

Target options do not appear. Check the target value in the start line. With jcks the players hold Left Alt in hold mode. With none, JCKS scripts use markers and a prompt. Debug = true prints detection results.

Stashes and lockers do not open. They need an inventory with stash support, every supported inventory has it. On a framework inventory OpenStash returns false, 'stash_unsupported'.

An export returns nil. Check the server console for [jcks_bridge] <Export> failed: <error>. Exports that read the database must run in a thread or an event handler.

Players get kicked with "suspicious activity detected across JCKS resources". They collected Security.kickThreshold points inside Security.windowMs. The reasons are in /jcks, System, Security since the start and in JCKS Logs. Raise the threshold or set it to 0 to only report.

My settings from V1 are gone after the update. They are not. The V1 files are copied into settings/ and editable/ on the first start and load after one more restart. The database setup is converted on the first start, and /jcks, History, Import from V1 runs it again with a choice for values that differ.

The console prints new or unused settings after an update. That is the merge report. New settings use their defaults, unused ones can be deleted. See Updates.