Nexra Studios
Paid ReleasesOutfit Bag

Configuration

Config options for Nexra Outfit Bag.

Configuration

All options are in config.lua.

General

OptionDefaultDescription
Config.DebugfalseExtra debug logging
Config.Locale'en'Locale file from locales/
Config.Brand.logo'logo.png'Logo file in web/build/ (see Installation)
Config.Brand.name'Nexra'Brand name shown in the UI

Framework & interaction

OptionDefaultDescription
Config.Framework'auto'auto, qbx_core, qb-core, es_extended, standalone, or custom
Config.Command'outfitbag'Place command — only used when Framework is standalone
Config.Interact'target'target or textui
Config.ItemName'outfitbag'Inventory item name
Config.PropModel`xm_prop_x17_bag_01b`World bag prop model
Config.MaxOwnedBags1Max placed bags a player can own at once

Bag lock

OptionDefaultDescription
Config.BagLock.DefaultLockedfalseIf true, newly placed bags start locked (owner-only use)

Shared bag outfits

OptionDefaultDescription
Config.SharedBagOutfits.EnabledfalseAllow others to view / equip outfits from unlocked bags
Config.SharedBagOutfits.GenderChecktrueOnly show outfits for matching gender models
Config.SharedBagOutfits.MaleModels`mp_m_freemode_01`Male freemode models
Config.SharedBagOutfits.FemaleModels`mp_f_freemode_01`Female freemode models

Placement

OptionDefaultDescription
Config.Placement.PlaceDuration1800Place progress duration (ms)
Config.Placement.PickupDuration1500Pickup progress duration (ms)
Config.Placement.InteractionDistance2.0Interact distance
Config.Placement.StreamDistance75.0Bag stream / render distance
Config.Placement.PlaceOffsetvec3(0.0, 0.85, 0.0)Offset in front of the player when placing
Config.Placement.BagHeadingOffset0.0Extra heading applied to the placed bag
Config.Placement.Animation.dict'pickup_object'Place / pickup animation dictionary
Config.Placement.Animation.clip'pickup_low'Place / pickup animation clip

Progress cancel

OptionDefaultDescription
Config.Progress.EnabledtrueEnable place / pickup progress bars
Config.Progress.cancelControl73Control index (default X)
Config.Progress.cancelKey'X'Displayed cancel key

Preview

Live ped preview layout when the bag UI is open. Adjust these if the preview sits wrong for your resolution or UI scale.

OptionDefaultDescription
Config.Preview.Screenx/y/w/h valuesScreen region for the preview
Config.Preview.Depth3.4000Preview depth
Config.Preview.Ped.zOffset0.1000Preview ped height offset
Config.Preview.Ped.headingOffset-2.0000Preview ped heading offset
Config.Preview.Backdrop.*size / position / alphaBackdrop behind the preview ped
Config.Preview.Camera.*distance, height, fov, ease, etc.Preview camera settings
Config.Preview.PoseAnimationdict / clipIdle pose on the preview ped
Config.Preview.PieceAnimationsmask / hat / shirt / pants / shoesOn / off animations for piece toggles

Back prop

Optional bag prop attached while the player is carrying the item. Disabled automatically in standalone mode.

OptionDefaultDescription
Config.BackProp.EnabledtrueShow the carried bag prop
Config.BackProp.model`hei_p_f_bag_var20_arm_s`Attached prop model
Config.BackProp.bone24816Attachment bone
Config.BackProp.posvec3(-0.11, -0.05, -0.03)Attachment position
Config.BackProp.rotvec3(3.62, 89.8, 191.8)Attachment rotation

Providers

Integrations auto-detect from started resources. To force a provider, set it in config.lua:

Config.Framework = 'qb-core'
Config.Inventory = 'ox_inventory'
Config.Clothing = 'illenium-appearance'
Config.Target = 'ox_target'
Config.Notifications = 'ox_lib'

Or use:

Config.Providers = {
    framework = 'qbx_core',
    inventory = 'ox_inventory',
    clothing = 'illenium-appearance',
    target = 'ox_target',
    notifications = 'ox_lib',
}

On this page