JCKSDocs
JCKS LibAyuda

Troubleshooting

Fixes for a stuck mouse, missing menus, refused callbacks and the common jcks_lib start errors.

A window keeps the mouse and the player cannot move. The player types /jcksfocus (Config.FocusRescue.command). It closes every JCKS layer and gives control back to the game.

A resource stops with "jcks_lib is not installed". The resource uses @jcks_lib/import.lua or @jcks_lib/init.lua but jcks_lib is missing or named differently. Install it and keep the folder name jcks_lib.

Failed to load script @jcks_lib/init.lua in F8 after restart jcks_lib. restart jcks_lib stops every JCKS script that depends on it. When they start again right away, players who are still downloading the new jcks_lib load them without it. Wait about 10 seconds before ensure jcks_bridge and the rest, or restart the whole server. Players who already see the error have to reconnect.

Old scripts still ask for jcks_ui. jcks_lib declares provide 'jcks_ui', so a dependency on jcks_ui is met. Remove ensure jcks_ui from server.cfg. If jcks_ui still runs, jcks_lib stops it.

The settings from jcks_ui were not used. The V1 config.lua is copied into settings/config.lua on the first start, and the values apply after the next restart. Restart the server once more. Files already changed in V2 are never overwritten.

Progress, Input, Alert or Request returns at once or errors. These functions wait for the player and must run inside a thread: CreateThread, a command handler or an onSelect callback.

The radial menu does not open. It only opens when it has items. Check Config.Radial.enabled and that the key in /jcks, Keys is not taken by another script.

Interaction prompts do not show. The bridge target system must be JCKS interactions. In hold mode nothing shows until the player holds Left Alt. Check that an option key is not listed in Config.Interact.blockedKeys.

A callback returns nil, 'invalid_arguments' or nil, 'rate_limited'. The arguments do not match the args schema, or the player called it more often than limit allows (default 10 per second). The server console prints the refusal at most once a minute per player.

Vehicle props are not applied after a server spawn. Use exports.jcks_lib:ApplyVehicleProps(vehicle, props) on the server instead of setting them on a client. jcks.vehicle.setProps returns false on a client that does not own the entity.

The console lists new or unused settings after an update. That is the merge report. New settings already use their defaults. Copy them into your file only when you want to change them, and delete the ones listed as no longer used. Details are in Updates.