KAIRO OutfitBag
Startup order & detection
With Config.Framework, Config.Inventory, Config.Wardrobe, Config.SkinSave and Config.Target set to 'auto', the bag checks which resources are running and picks the right integration.
Many servers start resources by folder (ensure [standalone], ensure [esx_addons]…), so the bag may start before the wardrobe or the inventory. That is why detection works like this:
| What | When it is picked | If the resource starts after the bag |
|---|---|---|
| Wardrobe | On first use | Picked again automatically |
| Skin saving | On first outfit change | Picked again automatically |
| Inventory | On start | Picked again and the item is registered there too |
| Framework | On start | Does not adapt: the framework must start first |
| Target | On start | Start the target first, or set it by hand |
What to check in the console
About one second after start the server prints:
[kairo_outfitbag] framework: esx | inventory: ox_inventory | wardrobe: illenium-appearance | sync: trueframework: standalonebut you use ESX/QBCore/Qbox: the framework starts after the bag. Moveensure es_extended/qb-core/qbx_corehigher, or setConfig.Frameworkby hand.wardrobe: standalonewithsync: truebut you have a closet: your clothing system is not supported or not running. SetConfig.Wardrobeby hand.- Wrong
inventory:: setConfig.Inventoryby hand.
Setting it by hand
If you already know your server, set the values instead of 'auto': they are used as they are, with no detection.
Config.Framework = 'esx'
Config.Inventory = 'ox_inventory'
Config.Wardrobe = 'esx_property'
Config.SkinSave = 'skinchanger'After a resource restart
restart kairo_outfitbag works, but anyone with the bag open is closed out and placed bags are removed. By default the item of those bags is lost, like on despawn and owner disconnect. With Config.Bag.returnItem = true it is given back (on next login if the owner is offline).
