Skip to main content

Modules

Modules are bridged APIs that wrap framework-specific resources behind a single interface. CB (Community Bridge)Community Bridge (CB). A framework abstraction layer that provides unified APIs across QBCore, ESX, and ox_core, allowing resources to work on any framework. auto-detects which resource you have installed and loads the correct implementation.

Available Modules

ModuleSideDescription
FrameworkClient & ServerPlayer data, jobs, metadata, account balances
InventoryClient & ServerItems, stashes, shops, metadata
BankingServerAccount money management
Boss MenuClient & ServerJob management menus
ClothingClient & ServerAppearance menus and data
DialogueClientNPC dialogue system
DispatchClient & ServerAlert dispatch systemDispatchSystem that sends alerts and calls to emergency services (police, EMS, fire) when crimes or events occur.
DoorlockClient & ServerDoor lock management
FuelClientVehicle fuel get/set
HelpTextClient & ServerOn-screen help text
HousingClientHousing system events
InputClientInput dialog prompts
LocalesSharedLocalized string translations
MenuClientContext/list menus
NotifyClient & ServerNotifications
PhoneClient & ServerPhone emails
Progress BarClientProgress bar UI
ShopsClient & ServerShop creation and opening
SkillsClient & ServerXP and skill levels
TargetClientTargeting zones and entities
Vehicle KeyClientVehicle key management
VersionServerVersion checking
WeatherClientWeather sync toggle
ZonesClientZone creation and management

Usage Pattern

local Bridge = exports['community_bridge']:Bridge()

-- Access any module
Bridge.Framework.GetPlayerName()
Bridge.Inventory.AddItem(source, 'bread', 1)
Bridge.Notify.SendNotification(source, 'Title', 'Message', 'success', 5000)

-- Or get a single module
local Inventory = exports['community_bridge']:Inventory()
Inventory.AddItem(source, 'bread', 1)