Community BridgeOverview

Community Bridge

Universal Translation Layer for FiveM — auto-detects your resources and provides a single consistent API.


How It Works

Community Bridge automatically detects your installed framework, inventory, notification system, and other resources at startup. It then exposes a universal Bridge object that wraps all of them behind one consistent API.

local Bridge = exports['community_bridge']:Bridge()
 
-- These work regardless of which inventory/notify/framework you use
Bridge.Inventory.AddItem(source, 'bread', 5)
Bridge.Notify.SendNotification(source, 'Shop', 'Purchase complete!', 'success', 5000)
Bridge.Framework.GetPlayerIdentifier(source)

Supported Resources

Frameworks

ESX (es_extended), QBCore (qb-core), QBX Core (qbx_core), Standalone

Inventories

ox_inventory, qb-inventory, qs-inventory, codem-inventory, core_inventory, tgiann-inventory, ps-inventory, origen_inventory, jpr-inventory

Notifications

ox_lib, okokNotify, mythic_notify, brutal_notify, pNotify, t-notify, r_notify, wasabi_notify, FL-Notify, lation_ui, ZSX_UIV2

Targeting

ox_target, qb-target, sleepless_interact

Other Systems

Banking, Clothing, Boss Menu, Dispatch, Doorlock, Fuel, Help Text, Housing, Input, Menu, Phone, Progress Bar, Shops, Skills, Vehicle Keys, Weather, Zones


Next Steps

  • Getting Started — Installation and configuration
  • Modules — Bridged resource APIs (Framework, Inventory, Notify, etc.)
  • Libraries — Utility libraries (Entities, Callback, Math, Markers, etc.)