Config
Framework, inventory, target, notifications, text prompt, radial menu and how players use a place
3 min read · Updated Dec 3, 2026
The file is TopXBridge/config.lua. Everything is auto by default, the bridge finds what your server runs.
TIP
Interaction is the default way the players use a place: target, radial (the radial menu) or textui (a prompt and a key like [E] Open the garage). Every place can pick its own in the admin dashboard of the script.
return {
-- 'auto' finds qbx_core, qb-core or es_extended. Or set qbx, qb, esx, or 'custom' (custom.lua)
Framework = 'auto',
-- The event that tells the scripts a character is ready. 'auto' uses the one of your framework, or write the event name of a custom framework
LoadedEvent = 'auto',
-- 'auto' finds ox_inventory, qs-inventory, qb-inventory, ps-inventory, lj-inventory or the esx inventory. Or set one of them, or 'custom' (custom.lua)
Inventory = 'auto',
-- 'auto' finds ox_target, qb-target or qtarget. Or set one of them, or 'custom' (custom_client.lua)
Target = 'auto',
-- 'builtin' (the card of the script), 'ox_lib', 'qbx', 'qb', 'esx', 'okokNotify', 'pNotify', 'mythic_notify' or 'custom' (custom_client.lua)
Notify = 'builtin',
-- The prompt of a zone ("[E] Open") and the list of keys while placing: 'builtin' (the card of the bridge), 'ox_lib', 'qbx', 'qb', 'esx', 'jg' (jg-textui), '2d' (text on the screen), 'gta' (the help text of the game) or 'custom' (custom_client.lua)
TextUI = 'builtin',
-- The radial menu where the places can put an entry: 'auto' finds qb-radialmenu, otherwise ox_lib. Or set 'ox_lib', 'qb-radialmenu' or 'custom' (custom_client.lua)
Radial = 'auto',
-- How the player uses a place when it does not set its own: 'target' (the eye), 'radial' (the radial menu) or 'textui' (the prompt and a key, like [E] Open the garage)
Interaction = 'target',
-- The key of the prompt. The player can change it in the key settings of the game
InteractKey = 'E',
-- Menus and dialogs of the scripts that have their own (illenium-appearance): 'builtin' (the windows of the script) or 'ox_lib'
Menu = 'builtin',
-- 'auto' finds your keys script. Or set its name, 'custom' (custom.lua) or 'none'
VehicleKeys = 'auto',
-- 'auto' finds your fuel script. Or set its name, 'custom' (custom_client.lua) or 'none'
Fuel = 'auto',
-- Where the money of fees goes: 'auto' finds qbx_management, Renewed-Banking, qb-banking, okokBanking or esx_addonaccount. Or set one of them, or 'custom' (custom.lua)
SocietyScript = 'auto',
-- Who can use the admin commands: 'ace' (the ace permission of the command), 'framework' (a group or permission of your framework) or 'both' (either one)
AdminCheck = 'ace',
-- ace: players with an ace permission of this name. framework and both: also the framework groups or permissions (qbx and qb: permissions, esx: groups, custom: custom.lua hasGroup)
AdminGroups = { 'admin', 'god' },
-- Rate limit of what players send to the server (clicks in the windows). 1.0 = the times the scripts use, 2.0 = twice as long, 0.5 = half, false = no limit
Throttle = 1.0,
-- How far (metres) a player can be from the place, the player or the vehicle he uses, the server checks it. false = no check
Distance = { point = 80.0, player = 30.0, vehicle = 15.0 },
-- The photo studio that takes the pictures of vehicles, props and clothes
Studio = {
-- 'auto' finds screenshot-basic or screencapture. Or set the name of your screenshot resource
Screenshot = 'auto',
-- Where the subject is placed: high in the sky, so there is no building around it and nothing can be in the way
Position = vec3(-1289.02, -3409.83, 1000.0),
-- The longest side of a picture in pixels and the webp quality (0 to 1)
Size = 512,
Quality = 0.85,
-- The hour of the day in the studio
Hour = 14,
},
}