Custom placeholders

You can add custom placeholders that contain static text. They are useful if you need to insert the same message in multiple icons and you want to be able to modify it in a single place, or they can assist in writing unicode symbols.

They can be used in the following icon attributes:

  • ACTIONSs
  • NAME
  • LORE
  • SKULL-OWNER

Default custom placeholders

Placeholder Replacement Description
<3 Heart
[*] Star
[**] Twelve pointed star
[p] Circle
[v] Checkmark
[+] Diamond
[++] Four pointed star
[x] Full block
[/] Half block
[cross] Maltese cross
[arrow_right] Rightwards arrow
[arrow_left] Leftwards arrow
[arrow_up] Upwards arrow
[arrow_down] Downwards arrow

Adding custom placeholders

The file /plugins/ChestCommands/placeholders.yml contains the list of custom placeholders.
Despite having the .yml extension, it's not a normal YAML file.

To add a new placeholder:

  1. Open placeholders.yml.
  2. Add a new line with the format <placeholder> = <replacement>.
  3. Reload the plugin with /cc reload.
  4. You can now use your custom placeholder in menus and it will be automatically substituted with the replacement.

You can find unicode symbols on websites like Unicode Table.

Example:

[vip_required] = &6You need to be VIP to use this.