Documentation

KAIRO OutfitBag

Overview

KAIRO OutfitBag is a clothing bag you drop on the ground. When you open it, your personal wardrobe outfits are on the right and a live preview of your character is on the left. For each outfit you can wear the Head (mask, hat, glasses), Torso, Legs, Shoes or All.

How it works

  • Drop the bag by using the item (or a command, on servers without an inventory).
  • Open it with the target or the text UI key.
  • Hover a section: only the preview changes, your character stays as it is.
  • Click: the character stands up, plays the animation for that part and changes. With All it changes one piece at a time and skips the ones already worn.

Synced with the wardrobe

The bag shows and edits the player’s real wardrobe, both ways: what you save in the bag ends up in the closet, what you save in the closet shows up in the bag. Losing the bag loses nothing: it is just a way in to your outfits. Details in Wardrobe & skin.

Shareable

A placed bag is private. The owner can open it to others: whoever opens it sees the owner’s outfits, tries them on, wears them and copies them into their own wardrobe. See Sharing.

Compatibility

Supported
FrameworkESX Legacy, QBCore, Qbox, standalone (identifier = license)
Wardrobe (outfit sync)illenium-appearance, CodeM Supreme Clothing (codem-clothing), Quasar Appearance (qs-appearance), fivem-appearance, qb-clothing, esx_property, standalone, custom
Skin savingillenium-appearance, CodeM Supreme Clothing, Quasar Appearance, rcore_clothing, codem-appearance (skinchanger), fivem-appearance, qb-clothing, skinchanger/esx_skin
Inventoriesox_inventory, qb-inventory, ps-inventory, lj-inventory, qs-inventory, codem-inventory, origen_inventory, core_inventory, ESX
Interactionox_target, qb-target, text UI: kairo_textui, ox_lib, qb-core DrawText, esx_textui, okokTextUI, jg-textui, cd_drawtextui, help text native

With no inventory at all: Config.Inventory = 'none' and Config.Command = 'outfitbag'.

Performance and security

Built for 1000-slot servers.

  • 0.00 ms idle. In target mode no loop runs. In text UI mode there is a single check every 750 ms and the key goes through RegisterKeyMapping, so nothing runs every frame.
  • The preview uses a camera and a local, non-networked clone: nothing is sent to other players.
  • The bag is a server-created entity, frozen and in the player’s routing bucket. OneSync syncs it only to nearby players.
  • Wardrobe cached on the server per character, cleared when you save or delete. Requests are rate-limited server side.
  • The server checks every action (distance, bucket, owner, placement token, outfit sanitising) and never trusts client data.
New to OutfitBag? Start with Installation.