KAIRO OutfitBag
Configuration
Everything is set in config.lua, which stays open with escrow. Options set to 'auto' adapt to the server on their own.
General
| Option | Default | What it does |
|---|---|---|
Config.Locale | 'en' | Language: en, it, es, fr, de, pt, pl, tr, nl, cs. |
Config.Debug | false | Diagnostic messages in the F8 console. |
Config.ShowBrand | true | Brand mark at the bottom right of the menu. |
Integrations
| Option | Default | Values |
|---|---|---|
Config.Framework | 'auto' | esx, qbcore, qbox, standalone |
Config.WardrobeSync | true | true real wardrobe, false the bag’s own list |
Config.Wardrobe | 'auto' | illenium-appearance, codem-clothing, qs-appearance, fivem-appearance, qb-clothing, esx_property, standalone, custom |
Config.IlleniumOutfitsTable | 'player_outfits' | Outfit table for illenium, CodeM, Quasar |
Config.SkinSave | 'auto' | illenium-appearance, codem-clothing, qs-appearance, rcore_clothing, fivem-appearance, qb-clothing, skinchanger, none |
Config.Inventory | 'auto' | ox_inventory, qb-inventory, qs-inventory, ps-inventory, lj-inventory, codem-inventory, origen_inventory, core_inventory, esx, none |
Item and command
| Option | Default | What it does |
|---|---|---|
Config.Item | 'outfitbag' | Item name. |
Config.RemoveItemOnPlace | true | The item leaves the inventory when you place the bag and returns to whoever picks it up. |
Config.Command | false | E.g. 'outfitbag' to place the bag with a command (servers without an inventory). |
Interaction
| Option | Default | What it does |
|---|---|---|
Config.Interaction | 'textui' | 'target' or 'textui'. |
Config.Target | 'auto' | ox_target, qb-target |
Config.TextUI | 'auto' | kairo_textui (tap E open, hold E pick up), ox_lib, qb-core, esx_textui, okokTextUI, jg-textui, cd_drawtextui, native |
Config.InteractKey | 'E' | Text UI only. Players can rebind it in Settings → Key Bindings → FiveM. |
Config.InteractDistance | 1.8 | Distance in metres. |
Bag
config.lua
Config.Bag = {
model = 'bkr_prop_duffel_bag_01a', -- any duffel prop (prop_cs_heist_bag_02, p_ld_heist_bag_s_1 …)
maxPerPlayer = 1,
despawnAfter = 30, -- minutes without being opened (0 = never)
onlyOwnerPickup = true,
removeOnOwnerDrop = true, -- removes the bag when the owner disconnects
returnItem = false, -- true = the item comes back even if the bag disappears
placeDistance = 0.8, -- metres in front of the player
}If the bag disappears without being picked up (despawn, owner disconnect, restart) the item is lost: it was left on the ground. This is the default, so the economy doesn’t break. With
returnItem = true it is given back.Outfits
| Option | Default | What it does |
|---|---|---|
Config.MaxOutfits | 50 | Shown as 8/50; blocks saving when full. |
Config.AllowSave | true | Allows “Save current outfit”. |
Config.AllowDelete | true | Allows deleting outfits. |
Config.OutfitNameMax | 24 | Maximum name length. |
Sections
Which pieces each button changes. Hair (2) and face (0) are never touched. With Config.KeepArmor = true body armour (9) always stays on.
config.lua
-- components: 1 mask 3 arms 4 legs 5 bag 6 shoes 7 accessory 8 undershirt 9 armor 10 decals 11 top
-- props: 0 hat 1 glasses 2 ears 6 watch 7 bracelet
Config.Sections = {
head = { components = { 1 }, props = { 0, 1, 2 } },
torso = { components = { 3, 5, 7, 8, 9, 10, 11 }, props = { 6, 7 } },
legs = { components = { 4 }, props = {} },
feet = { components = { 6 }, props = {} },
all = { components = { 1, 3, 4, 5, 6, 7, 8, 9, 10, 11 }, props = { 0, 1, 2, 6, 7 } },
}
Config.KeepArmor = trueAnimations and gradual change
When you wear a piece the character stands up, plays that part’s animation, the part stays bare for a moment, the new piece goes on and the character kneels again.
Config.Animations.change: animation and duration per section, plus the order (order) used by All.Config.Animations.place,idle,standUp,kneel: placing the bag, idle while the menu is open, standing up, kneeling again.Config.Undress: turns the bare moment on or off (enabled), its duration (time, 450 ms) and the “nothing worn” values for male and female (freemode peds only).
Preview
config.lua
Config.Preview = {
enabled = true,
frame = { left = '3.2vw', top = '14vh', width = '21vw', height = '76vh' },
camera = { distance = 2.6, height = 0.0, fov = 50.0, screenX = 0.137 },
}screenX is the horizontal centre of the frame (0 = left edge, 0.5 = centre): if you move the frame, update screenX too. distance sets the size, height the height.
Anti-spam
| Option | Default | What it does |
|---|---|---|
Config.RateLimit | open 1000, save 3000, place 3000 | Minimum milliseconds between two requests from the same player. |
Config.OutfitCacheSeconds | 3 | Short wardrobe cache, cleared on every change. |
Colours and languages are in Languages, colours & logo.
