Skip to content

Names, lore and titles

Names and lore

Names and lore are MiniMessage (<red>, <#ff1242>), not & codes. Lore, slot names, states and labels with no colour set show grey, and a custom button's name with no colour shows white. Lore is never italic.

# menus/stand.yml
slots:
  helmet:
    name: "<gray>Helmet"
    use-hint:
      - "<yellow>Click with an item:<gray> put it on"
      - "<yellow>Click:<gray> take it off"

Some names are plain text that BoxStand colours itself, so a tag in them shows as typed. These names are visible.name, gravity.name, arms.name, base-plate.name, lock.name, pose.name, size.name, colors.name, paste.name, paste-pose.name, edit.name and reset.name.

# menus/stand.yml
pose:
  name: "Pose"    # plain text: a tag such as <red> here shows as typed

A hint is a string or a list of lines:

# menus/stand.yml
pose:
  hint: "<yellow>Click:<gray> edit pose"       # one string
colors:
  hint:                                        # a list of lines
    - "Color what the stand wears"             # no colour set, so it shows grey
    - "<yellow>Click:<gray> show what takes a color"
  • A hint that ships as a list must stay a list (Updates keep your settings). One string there is set back to the shipped lines at the next start or reload, with a warning in the console. rotate-hint and reset-hint must stay one string.
  • An empty list, [], shows no lines. The hidden paste slots' hints, paste.hint and paste-pose.hint, keep their shipped lines instead.

Titles

A menu's title uses & colour codes. title: "" leaves the title empty.

# menus/stand.yml, as BoxStand writes it
title: "Armor Stand"
# menus/stand.yml: &6 makes the title gold
title: "&6Armor Stand"

A title may start with pictures from the BoxStand pack. Put the picture tags first and the colour codes after them:

# menus/stand.yml in the download
title: "<image:row_2><image:color_slot><image:color_badge>Armor Stand"
# menus/pose.yml: the picture first, then the colour code
title: "<image:rows>&6Select Part"
Tag Draws
<image:rows> The row picture behind every row
<image:row_1> to <image:row_6> The row picture behind that row
<image:color_slot> or <image:worn_slot> While Colors is on, a raised slot behind each colourable piece
<image:color_badge> A badge in the piece's colour (white for none)
<image:stand>, <image:pose> Old names for row_2 and row_1
  • The pictures are white. A row picture stays behind its row when you move slots and buttons, so a changed layout needs row pictures drawn to fit it, or none. The raised slot and the badge follow the slots to wherever you put them.
  • place-pictures in common.yml sets where the colour pictures sit.
  • Unknown tags, and MiniMessage tags such as <red>, show as plain text. Other plugins' tags (<glyph:...>, :offset_-1:) are left as they are, for those plugins to read.

Pictures from your item plugin

A title can show a picture from ItemsAdder, Nexo, Oraxen or any other plugin that gives its pictures as PlaceholderAPI placeholders. The placeholder is filled for the player who opens the menu:

# menus/stand.yml: an ItemsAdder picture as the menu's background
title: "%img_my_stand_menu%&6Armor Stand"
Plugin Its picture placeholder
ItemsAdder %img_<name>%
Nexo %nexo_<glyph>%, and %nexo_shift_<pixels>% to move what follows left or right
Oraxen %oraxen_<glyph>%
  • It needs PlaceholderAPI on the server, with that plugin's placeholders turned on.
  • Put BoxStand's own <image:...> tags first, then the other plugin's picture, then the colour codes and the words.
  • Any other PlaceholderAPI placeholder works in a title too. It is filled once, as the menu opens.