Skip to content

armor.yml

With BoxCosmetics, each armour slot has a menu holding its cosmetic and its real piece (The armour's two slots). The file has the sections helmet, chestplate, leggings and boots, and its rows and layout apply to all four. Here is the start of the file, with the Helmet menu:

# menus/armor.yml
rows: 1
layout:
  back: 0
  cosmetic: 4
  real: 5
helmet:
  title: "Helmet"
  cosmetic-name: "<gray>Helmet Cosmetic"   # the empty cosmetic place's name
  place-hint:                              # lore of a filled place
    - "<yellow>Click:<gray> take it off"
  empty-place-hint:                        # lore of the empty real place
    - "<yellow>Click with an item:<gray> put it on"
  cosmetic-empty-place-hint:               # lore of the empty cosmetic place
    - "<yellow>Click with a cosmetic:<gray> put it on"
  • The other three sections have the same keys, with their own words, such as "Chestplate" and "<gray>Chestplate Cosmetic".
  • The real place uses slots.<slot>.name from stand.yml as its name.
  • rows takes a number, 1 to 6. back, cosmetic and real each take one place, or none to leave it out (Layout).
  • title takes & colour codes, and the names and hints take MiniMessage (Names, lore and titles).
The whole file
# Docs: https://docs.boxpixstudios.com/boxstand/configuration/menus/armor/

rows: 1
layout:
  back: 0
  cosmetic: 4
  real: 5
helmet:
  title: "Helmet"
  cosmetic-name: "<gray>Helmet Cosmetic"
  place-hint:
    - "<yellow>Click:<gray> take it off"
  empty-place-hint:
    - "<yellow>Click with an item:<gray> put it on"
  cosmetic-empty-place-hint:
    - "<yellow>Click with a cosmetic:<gray> put it on"
chestplate:
  title: "Chestplate"
  cosmetic-name: "<gray>Chestplate Cosmetic"
  place-hint:
    - "<yellow>Click:<gray> take it off"
  empty-place-hint:
    - "<yellow>Click with a chestplate:<gray> put it on"
  cosmetic-empty-place-hint:
    - "<yellow>Click with a cosmetic:<gray> put it on"
leggings:
  title: "Leggings"
  cosmetic-name: "<gray>Leggings Cosmetic"
  place-hint:
    - "<yellow>Click:<gray> take them off"
  empty-place-hint:
    - "<yellow>Click with leggings:<gray> put them on"
  cosmetic-empty-place-hint:
    - "<yellow>Click with a cosmetic:<gray> put it on"
boots:
  title: "Boots"
  cosmetic-name: "<gray>Boots Cosmetic"
  place-hint:
    - "<yellow>Click:<gray> take them off"
  empty-place-hint:
    - "<yellow>Click with boots:<gray> put them on"
  cosmetic-empty-place-hint:
    - "<yellow>Click with a cosmetic:<gray> put it on"