Skip to content

showcase.yml

showcase.yml is the showcase page. It has the Collection's category, filter and page buttons. Its rows (3 to 6, default 6) and layout work as under Layout. Each cosmetic shows its own lore, then the lines below. The action bar texts are in messages.yml, and the camera and areas are in showcase in config.yml.

title

title is the page's title. Default: "Cosmetics". Here is the title in the Download folder:

# menus/showcase.yml in the Download folder
title: "<image:bar_row_1><image:collection_rows_2><image:row_6><image:worn_slot>Cosmetics"

cosmetic

cosmetic holds the lines under each cosmetic. Every key is a list.

# menus/showcase.yml
cosmetic:
  worn:                        # the first line under a cosmetic that is worn
    - "<green>Wearing"
  trying:                      # the first line under a cosmetic that is being tried on
    - "<yellow>Trying on"
  not-had:                     # the first line under a cosmetic that is neither owned nor on
    - "<gray>Not in your collection"
  wear-hint:                   # under a cosmetic that is not on, if the player has it
    - "<yellow>Left Click:<gray> wear"
  try-hint:                    # under a cosmetic that is not on, if the player does not have it
    - "<yellow>Left Click:<gray> try on"
  color-hint:                  # under a dyeable cosmetic that is not on, instead of wear-hint and try-hint
    - "<yellow>Left Click:<gray> pick a color"
  off-hint:                    # under a cosmetic that is on
    - "<yellow>Click:<gray> take off"

A key set to an empty list shows no lines:

# menus/showcase.yml
cosmetic:
  not-had: []

wardrobe

wardrobe is the button back to the wardrobe, at its layout place (45 as shipped). It shows for players allowed to use /bc: those with boxcosmetics.use or boxcosmetics.admin. With the shipped item: "", or an item that cannot be found, it uses back from common.yml. Its name defaults to "Wardrobe", and name: "" gives the button no tooltip. In the Download folder, its icon is pack:boxcosmetics:wardrobe.

# menus/showcase.yml
wardrobe:
  item: ""
  glow: false
  name: "Wardrobe"

The sidebar button sits at its layout place, the bottom right as shipped. It shows only while sidebar in config.yml is true. Its name is sidebar.name (Sidebar), with its state after it. Each player's choice of sidebar on or off is saved with the player's data, so it stays after they leave and join again. In the Download folder, its icon is pack:boxcosmetics:sidebar while the sidebar is on, and pack:boxcosmetics:sidebar_icon while it is off.

# menus/showcase.yml
sidebar:
  name: "Sidebar"
  shown:                       # the sidebar is on
    item: OAK_HANGING_SIGN
    glow: false
    state: "<green>ON"
    hint:
      - "<yellow>Click:<gray> hide it"
  hidden:                      # the sidebar is off
    item: BIRCH_HANGING_SIGN
    glow: false
    state: "<gray>OFF"
    hint:
      - "<yellow>Click:<gray> show it"
The whole file
# Docs: https://docs.boxpixstudios.com/boxcosmetics/configuration/menus/showcase/

title: "Cosmetics"
rows: 6
layout:
  wardrobe: 45
  previous: 48
  filter: 49
  next: 50
  sidebar: 53
  categories: 0-8
  cosmetics: 9-44

cosmetic:
  worn:
    - "<green>Wearing"
  trying:
    - "<yellow>Trying on"
  not-had:
    - "<gray>Not in your collection"
  wear-hint:
    - "<yellow>Left Click:<gray> wear"
  try-hint:
    - "<yellow>Left Click:<gray> try on"
  color-hint:
    - "<yellow>Left Click:<gray> pick a color"
  off-hint:
    - "<yellow>Click:<gray> take off"

wardrobe:
  item: ""
  glow: false
  name: "Wardrobe"

sidebar:
  name: "Sidebar"
  shown:
    item: OAK_HANGING_SIGN
    glow: false
    state: "<green>ON"
    hint:
      - "<yellow>Click:<gray> hide it"
  hidden:
    item: BIRCH_HANGING_SIGN
    glow: false
    state: "<gray>OFF"
    hint:
      - "<yellow>Click:<gray> show it"