Studios
Abstractionhouse-3.jpg

Configuration

FreeAbstractionQBCore · Qbox · ESX
PAGE 03 OF 09  ·  INSTALLATION → CONFIGURATION → EXAMPLESdocs.glitchstudios.dev
Browse docs

Everything is in shared/config.lua. It holds plain values only. Restart the resource after changing it.

Provider selection#

Key Default What it does
Config.Debug false Prints [GlitchAbst] debug lines and the startup summary.
Config.EventGuard true Event counter for glitch-poolcleaning. It does nothing when that resource is missing. Set false to never wrap events.
Config.UseFramework 'auto' 'auto', 'ESX' or 'QBCore'. Qbox counts as QBCore.
Config.UISystem 'auto' 'auto', 'ox', 'qb' or 'esx'.
Config.NotificationSystem 'auto' 'auto', 'glitch', 'ox', 'qb' or 'esx'.
Config.InventorySystem 'auto' 'auto', 'ox', 'qb' or 'esx'.
Config.TargetSystem 'auto' 'auto', 'ox', 'qb' or 'esx' (esx is bt-target).
Config.DoorlockSystem 'auto' 'auto', 'ox', 'qb' or 'esx'.
Config.ProgressCircle true With ox_lib, every progress bar is drawn as the circle.
Config.xpSystem 'auto' 'auto', 'glitch_xpSystem' or 'pickle_xp'. 'auto' uses glitch-xpSystem when installed, then pickle_xp, otherwise XP calls do nothing.

Detection order#

With 'auto' the first running resource in each list wins. Reorder a list to change the priority, or force one with the selector above.

Key Order
Config.UI ox_lib, qb-core, es_extended
Config.Inventory ox_inventory, qb-inventory, es_extended
Config.Target ox_target, qb-target, bt-target
Config.DoorLock ox_doorlock, qb-doorlock, esx_doorlock
Config.Notifications glitch-notifications, ox_lib, qb-core, es_extended

Selecting an adapter does not install its resource. If the forced resource is not running, that module does not load.

Cutscene tools#

Config.Cutscenes controls the optional staff tool. The Cutscene Tools page explains what it does.

Key Default What it does
Enabled 'auto' true, false, or 'auto' (on only when glitch-mapHandler is installed).
BucketBase 6600 Each player gets BucketBase + server id as a routing bucket while a scene plays. It must not overlap buckets used by other resources.
StreamTimeoutMs 8000 Longest wait for the map around the camera to load.
LoadTimeoutMs 20000 Longest wait for the cutscene to load.
MaxMinutes 6 The bucket is given back after this long even if the client never reports the end.
FillerSlots 3 Filler characters for the MP_2 to MP_4 slots of online and DLC scenes.
Database.SkinsTable 'playerskins' Table with citizenid, model, skin and active columns. Letters, numbers and underscores only.
Database.PlayersTable 'players' The qbx_core players table. Same character rule.
Admin.Enabled true Registers the browser command.
Admin.Command 'cutsceneadmin' Command name.
Admin.Ace 'admin' ACE that may open the browser. EditAce holders can change it from the panel gear.
Admin.EditAce 'founder' ACE that may change Ace from the panel. The saved value beats the config until cleared.
Featured list Cutscene names pinned at the top of the Featured tab.