Configuration
All configuration lives in config.lua inside the pyra-bridge folder.
All four settings default to 'auto' (or 'pyra' for notifications). In most cases you do not need to change anything — auto-detection works correctly for standard server setups.
Framework
BridgeConfig.Framework = 'auto'| Key | Type | Default | What it does |
|---|---|---|---|
BridgeConfig.Framework | string | 'auto' | Which server framework to use. 'auto' detects from running resources. Override only if auto-detection picks the wrong one. |
| Value | Framework |
|---|---|
'auto' | Auto-detects from running resources (recommended) |
'esx' | Force ESX (es_extended) |
'qbcore' | Force QBCore (qb-core) |
'qbx' | Force QBX (qbx_core) |
Inventory
BridgeConfig.Inventory = 'auto'| Key | Type | Default | What it does |
|---|---|---|---|
BridgeConfig.Inventory | string | 'auto' | Which inventory resource to use. 'auto' detects from running resources. |
| Value | Inventory |
|---|---|
'auto' | Auto-detects from running resources (recommended) |
'ox_inventory' | Force ox_inventory |
'qb-inventory' | Force qb-inventory |
'qs-inventory' | Force qs-inventory |
'ps-inventory' | Force ps-inventory |
Target
BridgeConfig.Target = 'auto'Controls how players interact with world objects (e.g. opening an airdrop crate).
| Key | Type | Default | What it does |
|---|---|---|---|
BridgeConfig.Target | string | 'auto' | Which target/interaction resource to use. |
| Value | Behaviour |
|---|---|
'auto' | Auto-detects ox_target or qb-target. Falls back to drawtext if neither is found. |
'ox_target' | Force ox_target |
'qb-target' | Force qb-target |
'drawtext' | Use built-in drawtext prompt. No target resource required. |
Notifications
BridgeConfig.Notify = 'pyra'| Key | Type | Default | What it does |
|---|---|---|---|
BridgeConfig.Notify | string | 'pyra' | Which notification system to use for Pyra script alerts. |
| Value | Behaviour |
|---|---|
'pyra' | Use Pyra's built-in notification UI (default, recommended) |
'auto' | Auto-detect: ox_lib → QBX → QBCore → ESX, then fall back to Pyra |
'none' | Disable all notifications from pyra-bridge |