Skip to content

collection.yml

collection.yml is the Collection menu. Its rows and places are explained under Layout.

title

title is the menu's title. Default: "Collection". Here is the title in the Download folder:

# menus/collection.yml in the Download folder
title: "<image:bar_row_1><image:collection_rows_2><image:row_6><image:worn_slot><image:color_badge>Collection"

back and showcase

back goes back to the wardrobe. With an empty item, or an item that cannot be found, it uses back from common.yml. showcase opens /bc showcase. It shows only in a player's own Collection, while showcase.enabled is true and the player has boxcosmetics.showcase or boxcosmetics.admin. It sits right of Back, or left of it when Back is in the last column. showcase has no place in layout: with back: none there, both buttons are left out. In the Download folder, their icons are pack:boxcosmetics:wardrobe and pack:boxcosmetics:cosmetics.

# menus/collection.yml
back:
  item: ""             # empty: uses back from common.yml
  glow: false
  name: "Wardrobe"
showcase:
  item: ""             # empty: shows an ARMOR_STAND
  glow: false
  name: "Cosmetics"
  • On both buttons, name: "" gives the button no tooltip.

cosmetic

cosmetic holds the lines under each cosmetic.

# menus/collection.yml
cosmetic:
  kept: "<gray>Kept: <white>{count}"   # under a cosmetic the player keeps
  kept-hint:                           # what a click does on a cosmetic the player has
    - "<yellow>Left Click:<gray> wear"
    - "<yellow>Right Click:<gray> take out"
  worn: "<green>Wearing"               # under a cosmetic the player wears
  worn-hint:                           # what a click does on one they wear
    - "<yellow>Left Click:<gray> take off"
    - "<yellow>Right Click:<gray> take out"
  locked: "<red>Locked"                # under a cosmetic the player does not have
  granted: "<red>Can't be taken out of the collection"
  pick-hint:                           # while Colors is on: what a click does on one the player has and does not wear
    - "<yellow>Left Click:<gray> change color"
    - "<yellow>Right Click:<gray> wear"
  • cosmetic.granted is shown after a right click on a cosmetic the player has only by permission.
  • kept shows only while the player keeps one or more. While Colors is on, a cosmetic the player wears shows colors.pick-worn-hint from common.yml instead of pick-hint, and a cosmetic with a colour shows colors.current too.
  • A cosmetic the player does not have shows its slot's empty-slots icon, under the cosmetic's name and lore, with locked.

empty-slots

empty-slots sets the icon of a cosmetic the player does not have, one for each slot. item takes any icon. When item is empty, or an item that cannot be found, the wardrobe's empty-slot icon is used. Default: empty.

# menus/collection.yml
empty-slots:
  balloon:
    item: ""
    glow: false
  • In empty-slots.<slot>, the slot is one of head, helmet, chestplate, leggings, boots, hand, offhand, balloon and wear.

previous, next and page

previous and next are the page buttons. They show only when there are two or more pages, and they wrap around: after the last page comes the first. In the Download folder, their icons are pack:boxcosmetics:previous and pack:boxcosmetics:next.

# menus/collection.yml
previous:
  item: ARROW
  glow: false
  name: "Previous page"
next:
  item: ARROW
  glow: false
  name: "Next page"
page: "<gray>Page {page}/{pages}"   # the line under both page buttons

filter

filter is the filter button. The button's name is name with the current state's state after it. Each state has its own item, state and a three-line hint: what the state shows, then what a left click leads to, then what a right click leads to. In the Download folder, the icons are pack:boxcosmetics:filter, pack:boxcosmetics:filter_wearing and pack:boxcosmetics:filter_owned.

# menus/collection.yml
filter:
  name: "Show"
  everything:                  # every cosmetic
    item: HOPPER
    glow: false
    state: "<gray>EVERYTHING"
    hint:
      - "Every cosmetic"
      - "<yellow>Left Click:<gray> what you wear"
      - "<yellow>Right Click:<gray> what you have"
  wearing:                     # only worn ones
    item: ARMOR_STAND
    state: "<yellow>WEARING"
  owned:                       # only ones the player has
    item: ENDER_CHEST
    state: "<yellow>OWNED"
  nothing:
    hint:                      # added under the first line while the player neither wears nor has a cosmetic
      - "You don't have or wear any cosmetic"
  • The WEARING and OWNED states are skipped while they would show nothing. The plugin then builds the click lines from the other states' hints, so keep every hint at three lines. A hint of any other length shows as written.

colors

The Collection's Colors button shows only the dyeable cosmetics. In the Download folder, its icon is pack:boxcosmetics:colors, and pack:boxcosmetics:colors_icon while Colors is on.

# menus/collection.yml
colors:
  item: BRUSH
  glow: false
  shown:                       # the icon while on
    item: BRUSH
    glow: true
  hint:                        # the lore
    - "Color the cosmetics you have"
    - "<yellow>Click:<gray> show what takes a color"
  shown-hint:                  # the lore while on
    - "Click a cosmetic to color it"
    - "<yellow>Click:<gray> show every cosmetic"

categories

categories holds one button for each category, and the All button for every cosmetic. A slot's button takes its name from slots.<slot>.name in wardrobe.yml. shown is the button while its category is shown; by default it is the same item with glow: true.

# menus/collection.yml
categories:
  hint:                        # the lore of a button whose category is not shown
    - "<yellow>Click:<gray> show"
  all:
    item: CHEST
    glow: false
    shown:
      item: CHEST
      glow: true
    name: "All"
  balloon:
    item: LEAD
    glow: false
    shown:
      item: LEAD
      glow: true
  • As shipped, the other buttons use PLAYER_HEAD for head, LEATHER_HELMET for helmet, LEATHER_CHESTPLATE for chestplate, LEATHER_LEGGINGS for leggings, LEATHER_BOOTS for boots, STICK for hand, SHIELD for offhand and ELYTRA for wear.
  • In the Download folder, a category button is pack:boxcosmetics:<slot>_icon, and pack:boxcosmetics:<slot> while its category is shown. All is pack:boxcosmetics:all_icon, and both hands use pack:boxcosmetics:offhand_icon.
  • A category has a button while its slot is in the wardrobe, or while any cosmetic goes in it, unless the category is turned off under categories in config.yml. The buttons go in this order: helmet, chestplate, leggings, boots, hand, head, wear, balloon, then All.
  • Both hands share one button. It shows the main hand's icon and name if the main hand slot is in the wardrobe, else the off hand's.

place-pictures

place-pictures sets where <image:worn_slot> and <image:color_badge> sit in each place. shift is how many pixels a picture moves right inside its place, and width is how wide it is, in pixels. As shipped:

# menus/collection.yml
place-pictures:
  worn-slot:
    shift: 0      # pixels it moves right inside the place
    width: 16
  color-badge:
    shift: 1
    width: 3
  color-badge-frame:
    shift: 0
    width: 4
  • Both take a whole number of pixels. A width below 1 counts as 1, and a word in either key gives the shipped number.
  • Until 2026-11-22, shift was called x. A file that still says x is renamed at the next start, its numbers kept.

Your own look for these pictures

These pictures are in the BoxCosmetics resource pack. The plugin draws each one into the title, in every place that needs it, at the height of that place's row, so the pack holds each picture once for every row it can be drawn in. A picture from another plugin, such as an ItemsAdder font image or a Nexo glyph, sits at one height only, so it cannot take their place.

To give them your own look, draw over these files in BoxCosmetics Resource Pack.zip:

File in assets/boxcosmetics/textures/font/ Size in pixels What it is
worn_slot.png 16 by 16 The gold raised slot under a cosmetic the player wears
trial_slot.png 16 by 16 The same slot in red, under a cosmetic being tried on in the showcase
color_slot.png 16 by 16 The grey raised slot under a piece that takes a colour, while Colors is on
color_badge.png 3 by 3 The badge, drawn in the piece's colour
color_badge_frame.png 4 by 4 The frame around the badge
  • Keep each picture's height. A wider picture works: set its width above to match, and its shift if it should sit further right.
  • Then add the changed pack to your server again, as in Getting Started, so players see your pictures.
The whole file
# Docs: https://docs.boxpixstudios.com/boxcosmetics/configuration/menus/collection/

title: "Collection"
rows: 6
layout:
  back: 45
  previous: 48
  colors: 49
  next: 50
  filter: 53
  categories: 0-8
  cosmetics: 9-44

back:
  item: ""
  glow: false
  name: "Wardrobe"

showcase:
  item: ""
  glow: false
  name: "Cosmetics"

cosmetic:
  kept: "<gray>Kept: <white>{count}"
  kept-hint:
    - "<yellow>Left Click:<gray> wear"
    - "<yellow>Right Click:<gray> take out"
  worn: "<green>Wearing"
  worn-hint:
    - "<yellow>Left Click:<gray> take off"
    - "<yellow>Right Click:<gray> take out"
  locked: "<red>Locked"
  granted: "<red>Can't be taken out of the collection"
  pick-hint:
    - "<yellow>Left Click:<gray> change color"
    - "<yellow>Right Click:<gray> wear"

empty-slots:
  head:
    item: ""
    glow: false
  helmet:
    item: ""
    glow: false
  chestplate:
    item: ""
    glow: false
  leggings:
    item: ""
    glow: false
  boots:
    item: ""
    glow: false
  hand:
    item: ""
    glow: false
  offhand:
    item: ""
    glow: false
  balloon:
    item: ""
    glow: false
  wear:
    item: ""
    glow: false

previous:
  item: ARROW
  glow: false
  name: "Previous page"
next:
  item: ARROW
  glow: false
  name: "Next page"
page: "<gray>Page {page}/{pages}"

filter:
  name: "Show"
  everything:
    item: HOPPER
    glow: false
    state: "<gray>EVERYTHING"
    hint:
      - "Every cosmetic"
      - "<yellow>Left Click:<gray> what you wear"
      - "<yellow>Right Click:<gray> what you have"
  wearing:
    item: ARMOR_STAND
    glow: false
    state: "<yellow>WEARING"
    hint:
      - "What you wear, of every category"
      - "<yellow>Left Click:<gray> what you have"
      - "<yellow>Right Click:<gray> every cosmetic"
  owned:
    item: ENDER_CHEST
    glow: false
    state: "<yellow>OWNED"
    hint:
      - "What you have, kept or worn"
      - "<yellow>Left Click:<gray> every cosmetic"
      - "<yellow>Right Click:<gray> what you wear"
  nothing:
    hint:
      - "You don't have or wear any cosmetic"

place-pictures:
  worn-slot:
    shift: 0
    width: 16
  color-badge:
    shift: 1
    width: 3
  color-badge-frame:
    shift: 0
    width: 4

colors:
  item: BRUSH
  glow: false
  shown:
    item: BRUSH
    glow: true
  hint:
    - "Color the cosmetics you have"
    - "<yellow>Click:<gray> show what takes a color"
  shown-hint:
    - "Click a cosmetic to color it"
    - "<yellow>Click:<gray> show every cosmetic"

categories:
  hint:
    - "<yellow>Click:<gray> show"
  all:
    item: CHEST
    glow: false
    shown:
      item: CHEST
      glow: true
    name: "All"
  head:
    item: PLAYER_HEAD
    glow: false
    shown:
      item: PLAYER_HEAD
      glow: true
  helmet:
    item: LEATHER_HELMET
    glow: false
    shown:
      item: LEATHER_HELMET
      glow: true
  chestplate:
    item: LEATHER_CHESTPLATE
    glow: false
    shown:
      item: LEATHER_CHESTPLATE
      glow: true
  leggings:
    item: LEATHER_LEGGINGS
    glow: false
    shown:
      item: LEATHER_LEGGINGS
      glow: true
  boots:
    item: LEATHER_BOOTS
    glow: false
    shown:
      item: LEATHER_BOOTS
      glow: true
  hand:
    item: STICK
    glow: false
    shown:
      item: STICK
      glow: true
  offhand:
    item: SHIELD
    glow: false
    shown:
      item: SHIELD
      glow: true
  balloon:
    item: LEAD
    glow: false
    shown:
      item: LEAD
      glow: true
  wear:
    item: ELYTRA
    glow: false
    shown:
      item: ELYTRA
      glow: true