🧩 One bridge. Every framework.
Free, and required by every RoviDev product except rd_holo. rd_bridge gives your resources one API over framework, inventory, target, clothing, fuel and vehicle keys, so the same code runs on QBCore, Qbox, ESX and standalone.
Why you'll want it
- 🆓 Install once: every rd_* product plugs into it.
- 🔍 Zero guesswork: it detects what your server runs, and you can force any choice in config.lua.
- 🌍 Four modes: QBCore, Qbox, ESX and standalone.
- 🧱 Open to extension: drop a new adapter file into adapters/ without touching the manifest.
- 🩺 Easy to check: rd_bridge_status in the server console shows what was detected.
Current version: v1.0.3. The compatibility table says exactly what was verified and what was not. Report any issue and we fix it.
What you get
- Framework adapters for QBCore, Qbox and ESX, plus a standalone mode (cash and bank in memory, or in the database with StandalonePersist).
- Inventory adapters: ox_inventory, qb-inventory, ps-inventory, qs-inventory, or the framework's own inventory.
- Target adapters: ox_target, qb-target, or a proximity prompt when you have neither.
- Clothing, fuel and vehicle keys adapters (full list under Requirements).
- Info cards (a screen card plus a ground ring), with an optional hologram mode through rd_holo, sold separately.
- Helpers: jobs, money, admin check, notifications, progress, rate limiting, Discord logs, SQL file runner.
How it works
Products call Bridge.* (Bridge.AddMoney, Bridge.AddItem...). At startup rd_bridge detects what is running and routes each call to the matching adapter. Registrations made while loading (OnCharLoaded, RegisterUsableItem...) are queued until the bridge is ready.
Configuration
- Detection: Framework, Inventory, Target, Clothing, Fuel and Keys, all on auto by default; DetectTimeout (10 s) before falling back to standalone.
- KeysFallbackAllow: what HasKeys answers when there is no key system.
- AdminGroups and AllowDiscordLogs. Webhooks are read from the server convar <resource>_webhook in server.cfg, so players never download them.
- Notify and progress style, prompt key (E), Display (card or holo), StandalonePersist, Debug. Card colours are CSS variables in web/style.css.
Requirements
- Required: ox_lib, oxmysql.
- Optional (auto-detected): qbx_core / qb-core / es_extended; ox_inventory / qb-inventory / ps-inventory / qs-inventory; ox_target / qb-target; illenium-appearance / fivem-appearance / qb-clothing / esx_skin / rcore_clothing; rd_fuel / ox_fuel / LegacyFuel / cdn-fuel / ps-fuel; qbx_vehiclekeys / qb-vehiclekeys / wasabi_carlock / MrNewbVehicleKeys; rd_holo for holograms.
Install in 5 steps
- 1. Copy rd_bridge into your resources folder.
- 2. In server.cfg: ensure ox_lib, ensure oxmysql, then your framework and inventory.
- 3. Then ensure rd_bridge, and after it every rd_* product.
- 4. Review config.lua (auto is usually enough).
- 5. Start the server and run rd_bridge_status in the server console to see what was detected.
Compatibility
Checked on 26 Oct 2026 against official docs and source code only; not yet run on a live server. Verified = the functions, signatures and return values exist as the adapter uses them. Unconfirmed = could not be fully confirmed.
| Resource | Status |
|---|
| qb-core 1.3.0, qbx_core 1.24.0, es_extended 1.16.3, qb-inventory 2.2.3, ox_target, qb-vehiclekeys, wasabi_carlock, rd_fuel, LegacyFuel, cdn-fuel, ps-fuel, fivem-appearance, qb-clothing (natives only) | Verified |
| ox_inventory 2.48.1 | Verified. ox_inventory itself supports ESX, Qbox, ND and ox; with QBCore it is experimental and it does not run standalone |
| ps-inventory 1.1.0 | Unconfirmed carry check: it has no CanAddItem |
| qb-target | Verified signatures; icons depend on its FontAwesome version |
| qbx_vehiclekeys | Verified on the server; the client key grant uses its QB bridge event (unconfirmed) |
| ox_fuel | Verified; whether the server accepts client statebag writes is unconfirmed |
| illenium-appearance | Verified; prop removal goes through natives |
| qs-inventory, MrNewbVehicleKeys, esx_skin / skinchanger, rcore_clothing, Info card NUI, ox_inventory usingItem hook | Unconfirmed: some fields, return values or exports are undocumented |
Protected with Cfx.re Asset Escrow; config.lua, init.lua, adapters/, web/, sql/, README and CHANGELOG stay editable.
Exports & API
- Server: IsLoaded, GetCharId, GetName, GetMoney, AddMoney, RemoveMoney, GetJob, HasJob, SetJob, IsAdmin, Notify, Log, RateLimit, OnCharLoaded, OnCharUnloaded, AddItem, RemoveItem, GetItemCount, CanCarry, GetItems, SetMetadata, RegisterUsableItem, GiveKeys, RemoveKeys, HasKeys, SetFuel, GetFuel, RunSQLFile.
- Client: IsLoaded, OnLoaded, OnUnloaded, GetJob, Notify, Progress, Prompt.Show/Hide, Target.AddEntity/AddModel/AddSphere/AddBox/Remove, Clothing.Apply/Restore, GiveKeys, HasKeys, SetFuel, GetFuel, Info.*, Holo.*.
- Both: Bridge.IsReady, Bridge.WaitReady, Bridge.Debug and the detected system names.
- To use it in a resource: dependency 'rd_bridge', then '@ox_lib/init.lua' and '@rd_bridge/init.lua' as the first shared scripts.
Known limits
- One framework at a time.
- With Target set to none, only the first valid option is shown, and it is ignored inside a vehicle.
- qbx_vehiclekeys only gives keys from the server side.
- Info card icons are a small built-in set, not full FontAwesome.
- Server-side fuel is only reliable while the vehicle owner is online.
FAQ
- Is it really free? Yes, and you can use it in your own scripts too.
- Has it run on live servers? Not yet. It has been through a code review and a read-only check against official docs. Report any issue and we fix it.
- Do I need all the optional resources? No. Only ox_lib and oxmysql are required. Missing ones fall back to the framework's own behaviour or a proximity prompt.
- My inventory or key script is not listed. Write an adapter in adapters/ (see the README), or set that option to none.
🇪🇸 En español
🧩 Un puente. Todos los frameworks.
Gratis y obligatorio para todos los productos RoviDev salvo rd_holo. rd_bridge da a tus recursos una sola API sobre framework, inventario, target, ropa, combustible y llaves de vehículos, para que el mismo código funcione en QBCore, Qbox, ESX y standalone.
Por qué lo querrás
- 🆓 Se instala una vez: todos los productos rd_* (salvo rd_holo) se conectan a él.
- 🔍 Sin adivinar: detecta lo que usa tu servidor y puedes forzar cualquier opción en config.lua.
- 🌍 Cuatro modos: QBCore, Qbox, ESX y standalone.
- 🧱 Ampliable: añade un adaptador nuevo en adapters/ sin tocar el manifiesto.
- 🩺 Fácil de comprobar: rd_bridge_status en la consola del servidor muestra qué ha detectado.
Versión actual: v1.0.3. La tabla de compatibilidad indica con exactitud qué se verificó y qué no. Si encuentras cualquier fallo, avísanos y lo arreglamos.
Qué incluye
- Adaptadores de framework para QBCore, Qbox y ESX, más un modo standalone (efectivo y banco en memoria, o en la base de datos con StandalonePersist).
- Adaptadores de inventario: ox_inventory, qb-inventory, ps-inventory, qs-inventory o el propio del framework.
- Adaptadores de target: ox_target, qb-target o un aviso por proximidad si no tienes ninguno.
- Adaptadores de ropa, combustible y llaves (lista completa en Requisitos).
- Tarjetas de información (tarjeta en pantalla y anillo en el suelo) con modo holograma opcional mediante rd_holo, que se vende aparte.
- Utilidades: trabajos, dinero, comprobación de admin, notificaciones, progreso, límite de uso, logs de Discord y ejecución de SQL.
Cómo funciona
Los productos llaman a Bridge.* (Bridge.AddMoney, Bridge.AddItem...). Al arrancar, rd_bridge detecta lo que está en marcha y envía cada llamada al adaptador correspondiente. Los registros hechos durante la carga (OnCharLoaded, RegisterUsableItem...) esperan en cola hasta que el puente está listo.
Configuración
- Detección: Framework, Inventory, Target, Clothing, Fuel y Keys, todo en auto por defecto; DetectTimeout (10 s) antes de pasar a standalone.
- KeysFallbackAllow: lo que responde HasKeys si no hay sistema de llaves.
- AdminGroups y AllowDiscordLogs. Los webhooks se leen del convar de servidor <recurso>_webhook en server.cfg, así que los jugadores nunca los descargan.
- Estilo de notificaciones y progreso, tecla del aviso (E), Display (card u holo), StandalonePersist, Debug. Los colores de la tarjeta son variables CSS en web/style.css.
Requisitos
- Obligatorios: ox_lib, oxmysql.
- Opcionales (se detectan solos): qbx_core / qb-core / es_extended; ox_inventory / qb-inventory / ps-inventory / qs-inventory; ox_target / qb-target; illenium-appearance / fivem-appearance / qb-clothing / esx_skin / rcore_clothing; rd_fuel / ox_fuel / LegacyFuel / cdn-fuel / ps-fuel; qbx_vehiclekeys / qb-vehiclekeys / wasabi_carlock / MrNewbVehicleKeys; rd_holo para hologramas.
Instalación en 5 pasos
- 1. Copia rd_bridge en tu carpeta de recursos.
- 2. En server.cfg: ensure ox_lib, ensure oxmysql y después tu framework e inventario.
- 3. Luego ensure rd_bridge y, tras él, todos los productos rd_*.
- 4. Revisa config.lua (en auto suele bastar).
- 5. Arranca el servidor y ejecuta rd_bridge_status en la consola del servidor para ver qué ha detectado.
Compatibilidad
Revisado el 26 de octubre de 2026 solo contra documentación y código oficiales; aún no se ha ejecutado en un servidor real. Verificado: las funciones, firmas y valores de retorno existen tal y como los usa el adaptador. Sin confirmar: no se pudo comprobar del todo.
- Verificado: qb-core 1.3.0, qbx_core 1.24.0, es_extended 1.16.3, ox_inventory 2.48.1, qb-inventory 2.2.3, ox_target, qb-vehiclekeys, wasabi_carlock, rd_fuel, LegacyFuel, cdn-fuel, ps-fuel, fivem-appearance y qb-clothing (solo nativos).
- Verificado con matices: ox_inventory (por sí mismo solo admite ESX, Qbox, ND y ox; con QBCore es experimental y no funciona en standalone), qb-target (los iconos dependen de su versión de FontAwesome), qbx_vehiclekeys (dar llaves en cliente usa su evento puente QB), ox_fuel (escrituras de cliente al statebag) e illenium-appearance (quitar props se hace con nativos).
- Sin confirmar: ps-inventory (sin CanAddItem, la comprobación de espacio no es fiable), qs-inventory, MrNewbVehicleKeys, esx_skin / skinchanger, rcore_clothing, la NUI de las tarjetas y el hook usingItem de ox_inventory.
Protegido con Cfx.re Asset Escrow; config.lua, init.lua, adapters/, web/, sql/, README y CHANGELOG siguen siendo editables.
Exports y API
- Servidor: IsLoaded, GetCharId, GetName, GetMoney, AddMoney, RemoveMoney, GetJob, HasJob, SetJob, IsAdmin, Notify, Log, RateLimit, OnCharLoaded, OnCharUnloaded, AddItem, RemoveItem, GetItemCount, CanCarry, GetItems, SetMetadata, RegisterUsableItem, GiveKeys, RemoveKeys, HasKeys, SetFuel, GetFuel, RunSQLFile.
- Cliente: IsLoaded, OnLoaded, OnUnloaded, GetJob, Notify, Progress, Prompt.Show/Hide, Target.AddEntity/AddModel/AddSphere/AddBox/Remove, Clothing.Apply/Restore, GiveKeys, HasKeys, SetFuel, GetFuel, Info.*, Holo.*.
- Ambos: Bridge.IsReady, Bridge.WaitReady, Bridge.Debug y los nombres de los sistemas detectados.
- Para usarlo en un recurso: dependency 'rd_bridge' y, como primeros shared scripts, '@ox_lib/init.lua' y '@rd_bridge/init.lua'.
Límites conocidos
- Un solo framework a la vez.
- Con Target en none solo se muestra la primera opción válida, y se ignora dentro de un vehículo.
- qbx_vehiclekeys solo da llaves desde el servidor.
- Los iconos de las tarjetas son un conjunto pequeño propio, no FontAwesome completo.
- El combustible desde el servidor solo es fiable si el dueño del vehículo está conectado.
Preguntas frecuentes
- ¿De verdad es gratis? Sí, y también puedes usarlo en tus propios scripts.
- ¿Se ha usado en servidores reales? Todavía no. Ha pasado una revisión de código y una comprobación de solo lectura contra la documentación oficial. Si encuentras algún fallo, avísanos y lo arreglamos.
- ¿Necesito todos los recursos opcionales? No. Solo ox_lib y oxmysql son obligatorios. Si falta alguno, se usa el comportamiento propio del framework o un aviso por proximidad.
- Mi inventario o script de llaves no aparece. Escribe un adaptador en adapters/ (consulta el README) o pon esa opción en none.