Troubleshooting

Console messages from Newb_Bridge and what to do about them.

"imports Newb_Bridge, which is not started"

The script using the bridge started first, or the bridge failed to load. Put ensure Newb_Bridge above that script in server.cfg and check the console for errors from the bridge itself.

"No installed provider found for ..."

The setting is "auto" and none of the supported resources for that module are running. Install one, make sure it starts before Newb_Bridge, or pin the one you run in settings/bridge_resources.lua. Modules you never use do not need a provider. See Supported.

The wrong provider was picked

Auto-detect takes the first started resource in its list. If two inventories, targets, or notify resources are running, pin the one you want. See Configuration.

Item images missing or shops won't open

Using one_inventory? It has to be pinned: Config.Inventory = "one_inventory". See Configuration.

Keys, stashes or item hooks act strangely on one_inventory

Check which inventory the bridge picked: set Config.Debug = true and restart, and the server console prints one line per module with its provider. If the inventory line says ox_inventory (and you run one_inventory), the setting is still on "auto": one_inventory provides itself as ox_inventory, so auto-detect picks that, and scripts then use the ox_inventory calls and image paths. Pin it with Config.Inventory = "one_inventory" in settings/bridge_resources.lua, then restart Newb_Bridge and every script that uses it.

"has no client/server implementation for provider"

This line only prints when Config.Debug = true. It is normal for a module that only has code on one side (weather is client-only, banking and phone are server-only), so ignore it for modules you only use on the other side.

If you do use that module on that side, the name you pinned isn't supported or is misspelled. Names are case sensitive (Renewed-Fuel, m-Inventory, ZSX_UIV2). Copy it from Supported.

Stash or shop calls return nothing

Not every inventory supports every call. qb-framework and esx-framework have no stashes, shops, or hooks, and some functions return nil or false where a provider can't do them.

bridge.dialogue, bridge.task, bridge.target, or bridge.menu error on the server

Those are client modules. bridge.dialogue and bridge.task error if touched on the server; the others are no-ops there. See Modules.

Text is untranslated

Your ox:locale is set to a code without that key. Pick a code from the locale list. Missing keys fall back to en.

Colors didn't change

After editing settings/theme.lua, restart Newb_Bridge, then restart or reopen the scripts that use it.

An update message prints on start

A newer release exists. It only prints to the server console. Set Config.VersionCheck = false to turn off every version check, including the ones the other MrNewb scripts run through the bridge. After updating, restart the bridge and every script that uses it together.

On this page