Skip to Content
Casts & BracesConfiguration

Configuration

All options live in the fully unlocked config.lua at the resource root. The default 'auto' detects Mythic Framework, Qbox, QBCore or ESX Legacy. Check the config.lua shipped with your installed version for explicit framework options when more than one core is running.

Core

Config.Framework = 'auto' -- original options: 'auto' | 'qbox' | 'qb' | 'esx' Config.Inventory = 'auto' -- 'auto' | 'ox' | 'qb' | 'esx'

Auto-detection binds the running framework core and inventory at startup. If your server runs multiple backends (for example both qbx_core and es_extended, or both ox_inventory and qb-inventory), set the explicit value instead of 'auto'.

Mythic Framework

Casts & Braces detects Mythic Framework with Config.Framework = 'auto'. The example above lists the original Qbox/QBCore/ESX explicit options; if multiple framework cores are running, check the config.lua shipped with your installed version for the Mythic selector rather than guessing its value. Do not select 'qb' or 'esx' merely because another resource on your server provides a compatibility layer.

Set Config.Inventory to the inventory actually running on your Mythic server. If you use ox_inventory, follow the supplied ox_inventory item definitions; do not install QB or ESX item definitions into a different inventory. For a native Mythic inventory, follow the adapter/item instructions supplied with your build or contact support  for the matching setup. The framework and inventory are separate settings.

Jobs and permissions

Config.ApplyJobs = { 'ambulance', 'doctor' } -- who may apply equipment Config.RemoveJobs = { 'ambulance', 'doctor' } -- who may remove it early Config.AllowSelf = false -- may a medic equip themselves Config.MaxDistance = 5.0 -- medic <-> patient max distance (m), server-checked

Job, distance, and item ownership are all validated server-side — a client can never apply, extend, or force equipment on its own.

Durations

Config.Duration = { min = 1, max = 60, default = 15 } -- minutes Config.DefaultSeverity = 2 -- heal steps over duration if no injury provider is set

Equipment expiry uses real wall-clock time, including time while the player is offline.

Commands and targeting

Config.Command = 'equipment' -- /equipment opens the menu on the nearest player Config.UseOxTarget = true -- adds "Medical Equipment" to players when ox_target runs

High-heel cast covers

Config.HighHeelShoes = {} -- clothing-pack shoe mappings, see /heelcheck Config.HeelCheckCommand = 'heelcheck' Config.HeelsAnyGender = false -- true: allow high-heel covers on male peds (testing)

Female patients wearing heels get fitted leg-cast covers. Stand in the shoes in game and run /heelcheck — it reports the drawable/texture pair to add to Config.HighHeelShoes for your clothing pack.

Injury provider hook

Config.Injury = { ... }

Optional. By default the menu offers every equipment the medic carries. Integrate your own medical or injury system through the injury provider to drive which treatments are appropriate — see the comments in config.lua for the hook shape.

Equipment pose fitting, per-zone side mapping, and per-equipment model settings live in Config.EquipmentArmPose, Config.ZoneSideMap, and Config.Equipment in the same file, plus animation pairs in config_anim.lua. An asset-name compatibility migration in bridge/assets.lua converts older Titan model/dict values to the supplied Gravitas assets automatically.