0 online 26 members  + Join RP Base  +
FreeScriptQBoxQBCoreESX

Newb_Bridge

by MrNewb  ·  version 0.0.3  ·  updated 24 days ago

No reviews yet

Downloads
0
Reviews
0
Size
512 KB
Code check
Checked
Licence
GPL-3.0
Released
Nov 2026

compatibility layer for FiveM

Newb_Bridge
Newb_Bridge
The spiritual successor to Community Bridge.

Built first and foremost for MrNewbScripts resources. That is what sets the scope, the release cadence, and what gets added. You are welcome to use it, ship against it, and open issues or PRs — just go in knowing the roadmap answers to my scripts, not to a feature backlog.

ox_lib, ox_inventory, and ox_target are the reference implementations. Other providers map onto the same calls.

Documentation · Install guide · Tebex · Discord

Modules · Migrating · Utilities · Config
Install
Needs ox_lib, oxmysql (loaded for getOwnedVehicles), and a server with lua54. Drop the folder in resources and start it before anything that uses it:

ensure ox_lib
ensure oxmysql
ensure Newb_Bridge

ensure your_script

In that script's fxmanifest.lua:

shared_scripts {
    '@ox_lib/init.lua',
    '@Newb_Bridge/import.lua',
}

Modules load the first time you touch them. You only need the providers you actually run.
Usage
-- Server
bridge.inventory.addItem(source, 'water', 1)
bridge.framework.addMoney(source, 'cash', 500)

-- Client
bridge.notifications.notify({ description = 'Hello', type = 'success' })
bridge.menu.openMenu({ id = 'my_menu', title = 'Shop', options = { ... } })

Works the same on Qbox, QB, or ESX. UI modules take ox_lib-shaped tables.

The full method list lives in the docs, not here. For editor autocomplete, point LuaLS at [types/types.lua](https://github.com/MrNewb/Newb_Bridge/blob/main/types/types.lua).
Config
Edit settings/bridge_resources.lua. Leave a setting on "auto" and the first installed match wins. Set a resource name if you need to pin one.

Config.Framework = "auto"      -- qbx_core, qb-core, es_extended
Config.Inventory = "auto"      -- ox_inventory, qs-inventory, qb-inventory, ...
Config.Target = "auto"         -- ox_target, core_focus, qb-target, ...
Config.Menu = "auto"           -- ox_lib, lation_ui, qb-menu
Config.Notifications = "auto"

On start, the server console prints which provider each module resolved to.
Modules
Module, Side, Docs

bridge.framework, client / server, Framework
bridge.inventory, client / server, Inventory
bridge.target, client, Target
bridge.menu, client, Menu
bridge.notifications, client, Notifications
bridge.inputs, client, Inputs
bridge.textui, client, TextUI
bridge.progressbar, client, Progress bar
bridge.vehiclekeys, client / server, Vehicle keys
bridge.vehiclefuel, client / server, Vehicle fuel
bridge.bossmenu, server, Boss menu
bridge.dispatch, server, Dispatch
bridge.dialogue, client, Dialogue
bridge.taskGroups, client / server, Task Groups
bridge.task, client, Task HUD

Also shipped: AddInteraction, PropPlacer, useGizmo, VersionCheck, and a few others. See Utilities.

Supported providers

Category, Providers

Framework, qbx_core, qb-core, es_extended
Inventory, ox_inventory, m-Inventory, one_inventory, jaksam_inventory, tgiann-inventory, codem-inventory, core_inventory, origen_inventory, qs-inventory, qb-inventory
Target, ox_target, tgiann-target, core_focus, qb-target, sleepless_interact
Vehicle keys, MrNewbVehicleKeys, qbx_vehiclekeys, cd_garage, mVehicle, okokGarage, qb-vehiclekeys, vehicles_keys, wasabi_carlock, Renewed-Vehiclekeys, mk_vehiclekeys, ak47_vehiclekeys, 0r-vehiclekeys
Fuel, ox_fuel, rcore_fuel, okokGasStation, LegacyFuel, cdn-fuel, lc_fuel, qb-fuel, Renewed-Fuel, ps-fuel, qs-fuelstations, ti_fuel (plus an internal fallback)
Menu, ox_lib, lation_ui, qb-menu
Notifications, ox_lib, vms_notifyv2, codem-notification, brutal_notify, fl-notify, mythic_notify, okokNotify, pnotify, solaire_notify, t-notify, lation_ui, wasabi_notify, zsx_uiv2
Inputs, ox_lib, lation_ui
TextUI, ox_lib, lation_ui, okokTextUI, cd_drawtextui, jg-textui, lab-TextUI, zsx_uiv2
Progress bar, ox_lib, lation_ui, wasabi_uikit, progressbar, zsx_uiv2
Boss menu, qbx_management, qb-management, esx_society, vms_bossmenu, tk_bosstablet, okokBossMenu, codem-bossmenu, zat-bossmenu, m-BossMenu
Dispatch, ps-dispatch, cd_dispatch, tk_dispatch, rcore_dispatch, lb-tablet, origen_police, core_dispatch, kartik-mdt, codem-dispatch, wasabi_mdt, redutzu-mdt (plus an internal fallback)

Detection order is in [settings/auto_detect.lua](https://github.com/MrNewb/Newb_Bridge/blob/main/settings/auto_detect.lua). To add a provider, copy an existing folder under `modules/

…