The general steps for every JCKS script are on Updating JCKS scripts. This page lists what is different for the bridge.
Steps
- Dump the database. The bridge keeps the
/jckssetup, its history and profiles injcks_bridge_settings,jcks_bridge_revisions,jcks_bridge_setup_logandjcks_bridge_setup_profiles, and a copy in its resource KVP. - Stop the server.
- Update jcks_lib first if the changelog asks for a newer one (Requires).
- Replace everything in
jcks_bridgeexceptsettings/andeditable/. Always replacedefaults/. - Start the server and read the console.
What stays
| What | Where it lives | On update |
|---|---|---|
/jcks setup: framework, providers, access rules, themes, keys |
Database and resource KVP | Kept |
| Discord bot token, panel key, secrets of other scripts | Resource KVP of jcks_bridge | Kept. They are lost if the server's KVP folder is deleted |
settings/config.lua |
Your file | Kept, new options use their defaults |
editable/*.lua (custom framework, inventory, notify, keys and fuel hooks) |
Your files | Kept, new functions run their default code |
The default editable files of every version are on Default editable files (V1: here). When the console says a function is missing, the default from that page runs.
Version check and updates page
The bridge runs the version check for every JCKS script: once after the start and every 6 hours. /jcks, System, Updates shows the switch for it, every version that is out since yours with its changes, and what each script reported on its first start. Admins with Server setup get one notification per new version when they join.
The version check also warns about:
- a JCKS script that runs twice,
- an old jcks_ui next to jcks_lib,
- a JCKS script that needs a newer jcks_lib or jcks_bridge.
Troubleshooting
version check skipped, the version server answered 0 after 4 tries. The server has no outgoing internet or DNS. The check tries again in 6 hours and uses the last answer it got as soon as one exists. Nothing else depends on it.
Other JCKS scripts stopped after restart jcks_bridge. They depend on the bridge and stop with it. Restart the server instead, or ensure them again.