Bridge Architecture
Bridge selection lives in:
config/bridges.lua
Config.Bridges = {
Framework = 'auto', -- auto | qb | qbx | esx | standalone | custom
Inventory = 'auto', -- auto | nord | ox | qb | esx | custom
Notify = 'auto', -- auto | ox | qb | esx | gta | custom
TextUI = 'auto', -- auto | ox | gta | custom
}
For a custom resource:
- Set the relevant bridge to
custom. - Edit only the matching bridge file.
- Return the values expected by the bridge contract.
- Leave the core resource logic unchanged.
This keeps updates easier because custom integrations stay isolated.