DOCS berries.games ↗

Messages

Every message is in plugins/BerryHomes/lang.yml. /ahome reload applies changes.

Formatting

Use legacy colours (&a, &l), hex (&#5CE1C1) or MiniMessage (<green>, <gradient:#5CE1C1:#3BA8FF>, <click:run_command:/home>, <hover:show_text:'...'>), and mix them freely.

Chat, action bar, title and sound

A message can be one line, or a section with any of these:

warmup-start:
  chat: "<prefix>Teleporting to &#5CE1C1<home> &fin &#5CE1C1<time>s&f. Don't move!"
  actionbar: "&fTeleporting in &#5CE1C1<time>s"
  title: ""
  subtitle: ""
  times: [10, 40, 10]     # fade in, stay, fade out (ticks)
  sound: BLOCK_NOTE_BLOCK_HAT 0.6 1.6

chat: can also be a list of lines. An empty message ("") sends nothing.

Placeholders

In any message: <prefix>, <player> and PlaceholderAPI %placeholders%.

Messages about a home: <home> (the fancy name, or the name), <home_name>, <number>, <world>, <server>, <x>, <y>, <z>, <description>.

The comment above each message lists any extras it has, like <time>, <cost> or <limit>.

A player's fancy name can't break your message: their colours stay inside the name, and their text can never add click or hover actions.