Skip to content

Configuration

This guide explains how to configure the bridge for your server. All options are set in config.lua inside the bridge resource folder.

Configuration file

Edit config.lua in the prp-bridge resource folder. Changes require a server restart to take effect.

Resource names

Every option that references a resource (framework, inventory, phone, etc.) must match the exact resource name (case-sensitive) of your installed resource.

Core options

Version check

lua
BridgeConfig.VersionCheck = true
Typeboolean
Defaulttrue
DescriptionEnables automatic version checking for compatibility.
RecommendationKeep enabled to receive important updates.

Debug

lua
BridgeConfig.Debug = true
Typeboolean
Defaulttrue
DescriptionEnables module load and debug-level logging.

Integrations

Each integration is a string set to the resource name of the system you use.

Framework

lua
BridgeConfig.FrameWork = "qbx_core"
ValueFramework
"qbx_core"QBox Framework
"qb-core"QB-Core Framework
"es_extended"ESX Framework
"nd_core"ND Core Framework

Inventory

lua
BridgeConfig.Inventory = "ox_inventory"
ValueName
"ox_inventory"OX Inventory
"origen_inventory"Origen Inventory
"tgiann-inventory"Tgiann Inventory

Phone

lua
BridgeConfig.Phone = "lb-phone"
ValueName
"lb-phone"LB Phone
"yseries"YSeries
"yphone"YPhone
"npwd"NPWD
"roadphone"Road Phone
"yflip"YFlip Phone
"17mov_phone"17Mov Phone
"meteo-phone"Meteo Phone

Targeting

lua
BridgeConfig.Target = "ox_target"
ValueName
"ox_target"OX Target
"qb-target"QB-Target
"sleepless_interact"Sleepless Interact

Medical

lua
BridgeConfig.Medical = "qbx_medical"
ValueName
"qbx_medical"Qbox Medical
"esx_ambulancejob"ESX Ambulance Job
"wasabi_ambulance"Wasabi Ambulance
"ars_ambulancejob"ARS Ambulance Job
"osp_ambulance"OSP Ambulance
"p-ambulancejob"P Ambulance Job
"nd_ambulance"ND Ambulance
"qb-ambulancejob"QB Ambulance Job
"randol_medical"Randol Medical
"tk_ambulancejob"TK Ambulance Job

Dispatch

lua
BridgeConfig.Dispatch = "ps-dispatch"
ValueName
"ps-dispatch"PS Dispatch
"cd_dispatch"CD Dispatch
"origen_police"Origen Dispatch
"rcore_dispatch"RCore Dispatch
"tk_dispatch"TK Dispatch
"aty_dispatch"ATY Dispatch
"codem-dispatch"CodeM Dispatch
"core_dispatch"Core Dispatch
"lb-tablet"LB Tablet

Vehicle keys

lua
BridgeConfig.VehicleKeys = "qbx_vehiclekeys"
ValueName
"qbx_vehiclekeys"Qbox Vehicle Keys
"cd_garage"CD Garage
"mVehicle"MVehicle
"okokGarage"okokGarage
"qb-vehiclekeys"QB Vehicle Keys
"vehicles_keys"Vehicles Keys
"wasabi_carlock"Wasabi Carlock
"nd_core"ND Core (native vehicle keys)

Vehicle fuel

lua
BridgeConfig.Fuel = "ox_fuel"
ValueName
"ox_fuel"OX Fuel
"LegacyFuel"Legacy Fuel
"cdn-fuel"CDN Fuel
"lc_fuel"LC Fuel
"qb-fuel"QB Fuel

Minigames

lua
BridgeConfig.Minigames = "prp-minigames"
ValueName
"prp-minigames"Prodigy Studios Minigames

Group system

lua
BridgeConfig.Group = {
    CommandEnabled = true,
    CommandName = "group",
}
OptionTypeDefaultDescription
CommandEnabledbooleantrueEnables or disables the group command.
CommandNamestring"group"Command name for group management (e.g. /group).

Cooldown system

lua
BridgeConfig.Cooldowns = {
    AdminCommandEnabled = true,
    AdminCommandName = "cooldowns",
    AdminCommandRestriction = "group.admin",
}
OptionTypeDefaultDescription
AdminCommandEnabledbooleantrueEnables the cooldown admin command.
AdminCommandNamestring"cooldowns"Command name to manage cooldowns.
AdminCommandRestrictionstring"group.admin"Permission required to use the command.

UniQueue

UniQueue (mission queue and party system) is configured under BridgeConfig.Uniqueue. See UniQueue for the full option list and usage.

Full example

Click to expand full config example
lua
BridgeConfig = {}

BridgeConfig.VersionCheck = true
BridgeConfig.Debug = true

BridgeConfig.FrameWork = "qbx_core"
BridgeConfig.Inventory = "ox_inventory"
BridgeConfig.Phone = "lb-phone"
BridgeConfig.Target = "ox_target"
BridgeConfig.Medical = "qbx_medical"
BridgeConfig.Dispatch = "ps-dispatch"
BridgeConfig.VehicleKeys = "qbx_vehiclekeys"
BridgeConfig.Fuel = "ox_fuel"
BridgeConfig.Minigames = "prp-minigames"

BridgeConfig.Group = {
    CommandEnabled = true,
    CommandName = "group",
}

BridgeConfig.Cooldowns = {
    AdminCommandEnabled = true,
    AdminCommandName = "cooldowns",
    AdminCommandRestriction = "group.admin",
}

BridgeConfig.Uniqueue = {
    MaxOverTimePriority = 30,
    AddOverTimePriorityTime = math.floor(2.5 * 60),
    HoldQueuesOnStartTime = 0,
    PoliceStrengthPerPlayer = 1,
    PoliceJobs = { "lspd", "police", "bsco" },
}

Important notes

  • Resource names: Must match exactly (case-sensitive) your installed resources.
  • Restart: Configuration changes require a server restart.
  • Framework first: Ensure your framework is running and configured before relying on the bridge.

Support

If you have configuration issues:

  • Double-check every resource name against your server.
  • Confirm required resources are installed and start before the bridge.
  • Check the console for errors.

For more help, open a ticket on our Discord.