Wardrobe
The wardrobe GUI system — browse, equip, and manage clothing overlays by category.
Overview
The Wardrobe is the core feature of ClothesPlus. It provides an inventory-based GUI where players can browse clothing categories, preview overlays, and equip them with a single click.
How It Works
- Player runs
/wardrobe(or it's triggered by an NPC, sign, etc.) - A category selection GUI opens showing available clothing types (shirts, pants, hats, etc.)
- Player clicks a category to browse available overlays
- Clicking an overlay applies it to the player's skin in real-time
- The skin update is visible to all players on the server
Overlays are composited on top of the player's base skin using PacketEvents — no client mods are required. The plugin includes its own resource pack for custom GUI icons and fonts, with a vanilla configuration fallback for pack-free servers.
Opening the Wardrobe
| Method | Details |
|---|---|
/wardrobe | Direct command (requires wardrobeclothes.use) |
| GUI click | Can be triggered from outfit GUI or creator |
| NPC / Sign | Hook via command execution on interaction |
Category System
Clothing is organized into categories (folders inside overlays/). Each folder becomes a category in the wardrobe GUI:
- overlays
- shirts
- pants
- shoes
- hats
- accessories
- full-outfits
Category appearance, icons, and slot positions are configured in guis.yml.
Multiple Overlay Layers
Players can wear multiple overlays simultaneously (e.g., a shirt + pants + hat). Layer compositing order is determined by the category's priority level, ensuring overlays stack correctly.
Navigation
The wardrobe GUI includes:
- Previous / Next buttons for pagination
- Back button to return to categories
- Search button to find overlays by name
- Outfits button to jump to outfit management
- Exit button to close the GUI
All navigation buttons are fully configurable in guis.yml.