Skip to Content

Clothing System

Flux Inventory includes a built-in clothing toggle system. When enabled, players can toggle individual clothing items on and off directly from the inventory UI.

Enable/Disable

Config.EnableClothing = true

Clothing Slots

15 clothing slots are available, each defined in Config.ClothingSlots:

SlotTypeDescription
headoffpropHead accessory (off)
headonpropHead accessory (on)
glassespropGlasses
earpropEarpiece / earring
watchonpropWatch (on)
watchoffpropWatch (off)
necklacecomponentNecklace / chain
maskcomponentMask
glovescomponentGloves
haircomponentHair style
shirtcomponentShirt / top
bagcomponentBackpack / bag
pantscomponentPants / legs
vestcomponentBody armor / vest
shoescomponentShoes
jacketcomponentJacket / outer layer

Each slot has a type (either prop or component), a componentId, and animation data for the toggle action.

Clothing Defaults

Config.ClothingDefaults defines the default drawable/texture values for both male and female player models. When a clothing item is “removed”, the model reverts to these defaults.

Exports

ExportSideDescription
SaveClothingStateClientSaves the current clothing state
RestoreClothingClientRestores a previously saved clothing state
ToggleClothingSlotClientToggles a specific clothing slot on/off
Last updated on