Integrations
Integrations are configured in config/config_integrations.lua. The code that talks to each resource is in the bridge/ folder, which is open source: if your server uses a resource that is not listed, you can add it there.
| Folder | Contents |
|---|---|
bridge/server/00_framework.lua | Players, jobs, accounts, callbacks for ESX / QBCore / Qbox |
bridge/server/01_inventory.lua | Items and stashes |
bridge/server/02_currency.lua | Account, item and export currencies |
bridge/client/00_framework.lua | Player data, notifications |
bridge/client/01_target.lua | ox_target, qb-target or the E key |
bridge/client/02_integrations.lua | Stash, wardrobe, garage, dispatch |
Inventory
-- 'auto' | 'ox_inventory' | 'qs-inventory' | 'origen_inventory' | 'qb-inventory' | 'framework'
Config.Inventory = 'auto'
Config.Stash = {
Slots = 80,
Weight = 1000000, -- grams
}
auto detects ox_inventory, qs-inventory, origen_inventory and qb-inventory, in that order, and falls back to the framework. Each organization stash point opens its own stash.
Garage
-- 'auto' | 'builtin' | 'cd_garage' | 'qs-advancedgarages' | 'origen_garages' | 'qb-garages' | 'jg-advancedgarages'
Config.Garage = 'auto'
Config.BuiltinGarage = {
Vehicles = {
{ model = 'burrito3', label = 'Burrito' },
{ model = 'baller2', label = 'Baller' },
{ model = 'schafter2', label = 'Schafter' },
{ model = 'buccaneer2', label = 'Buccaneer' },
},
PlatePrefix = 'ORG',
UseOrgColor = true, -- paint the vehicles with the organization colour
}
auto uses the built-in garage: vehicles shared by the organization, taken out and stored at the garage point. An admin can override the vehicle list per point. External garages open their own menu; check that bridge/client/02_integrations.lua matches your garage version.
Wardrobe
-- 'auto' | 'illenium-appearance' | 'fivem-appearance' | 'qs-appearance' | 'origen_clothing' | 'esx_skin' | 'qb-clothing'
Config.Wardrobe = 'auto'
Dispatch
-- 'auto' | 'cd_dispatch' | 'ps-dispatch' | 'qs-dispatch' | 'origen_police' | 'core_dispatch' | 'default'
Config.Dispatch = 'auto'
Config.DispatchBlip = { sprite = 51, color = 1, scale = 1.0, time = 120 }
default is the built-in alert: a notification and a blip for every on-duty officer.
Target
Set in config/config.lua:
Config.Target = 'auto' -- 'auto' | 'ox_target' | 'qb-target' | 'none'
With none, or no target resource running, points show a marker and a prompt, and are used with the E key.
Notifications
Set in config/config.lua:
Config.NotifySystem = 'kyoNotify' -- 'default' | 'kyoNotify' | 'okok_notify' | 'vms_notifyV2'
kyoGangTerritories
Optional. See Configuration.