Using it

The menu

/cosmetics opens the main menu: the eight categories, a summary of what you wear, favorites, loadouts, a random-look button, the show-others toggle, the reduced-particle toggle and remove-everything.

Inside a category every cosmetic shows its rarity, its type, its description, whether it is locked, unlocked or equipped, the remaining time of a rental, and how to unlock it (price, rental price, your hint text, or "special reward or rank"). Click actions:

ClickAction
Left-clickEquip or take off an unlocked cosmetic, or start buying a locked one that has a price
Right-clickLive preview
Shift + left-clickAdd or remove a favorite
Shift + right-clickRent (when the cosmetic has a rental price)

The filter button cycles between all, unlocked and locked cosmetics. The random button in a category wears a random cosmetic of that category.

Buying asks for confirmation first (turn that off with gui.confirm-purchases: false). The filler item, click sound and purchase sound are in config.yml and every text is in lang.yml.