Installation
Install Bridge 1.2.1, select your providers, and allow resources to use its exports.
Install the resource
Download the ZIP attached to the Bridge 1.2.1 release. Place the 402studio_bridge folder in your server's resources directory and keep that folder name.
The bridge's config.lua selects the providers used by its services. Review the defaults against the resources installed on your server.
Bridge requires ox_lib. Start it before the bridge on every framework, including standalone servers.
| Setting | Default | Purpose |
|---|---|---|
Framework | auto | Detects Qbox, QBCore, then ESX, with standalone as the fallback |
CustomFramework.enabled | false | Enables your custom framework callbacks when set to true |
Inventory.adapter | ox | Selects the inventory adapter |
Inventory.resource | ox_inventory | Inventory resource used by that adapter |
Vehicles.adapter | qbox | Selects the vehicle adapter |
Vehicles.resource | qbx_vehicles | Supplies persistent vehicle data |
Notify.adapter | auto | Selects a notification provider |
Progress.adapter | auto | Selects a progress provider |
Target.adapter | auto | Selects a vehicle targeting provider |
TextUI.adapter | auto | Selects text prompts |
Context.adapter | auto | Selects context menus |
Capture.adapter | screencapture | Selects the snapshot and video capture adapter |
Capture.resource | screencapture | Supplies snapshots and video uploads |
Choose qbox, qb, esx, or standalone in Framework to select it explicitly. Custom frameworks use the callbacks in Config.CustomFramework; the release includes an example in examples/custom-framework/config.lua.
Start order
For a Qbox server using Plate Flipper and Ox interface providers:
ensure oxmysql
ensure ox_lib
ensure ox_target
ensure qbx_core
ensure qbx_vehicles
ensure ox_inventory
ensure 402studio_bridge
ensure 402studio_plateflipperStart each provider your server uses before 402studio_bridge. Start each resource that calls the bridge after it. Follow the consuming resource's installation guide for its own dependencies, including Plate Flipper's database setup.
After changing bridge settings, restart the bridge and the resources that use it. Check the startup status in the server console to confirm the selected framework, inventory, and vehicle providers are ready.
Resource access
Resources whose names begin with 402studio_ and whose manifest author is 402-Studio receive access automatically.
Allow other resources by listing their folder names in this convar:
setr 402studio_bridge:allowedResources "my_resource,another_resource"Place the convar before the bridge's ensure line. Add the bridge dependency to each consuming resource's manifest:
dependency '402studio_bridge'File uploads
For FiveManage or Qbox CDN, continue with CDN setup. Configure the API key for each provider your resources use.