formats.yml decides what a line of chat looks like when it lands.
First match wins:
polaroidchat.chatformat.<id> β not for default.default, or the first format in the file if there is none.A channel may override all of this with a format of its own.
formats:
vip:
chat_color: '<#E9FDFB>'
shadow: false
shadow_color: '#000000'
shadow_opacity: 1.0
parts:
prefix:
display: '<#f2c42f>[VIP] '
click_action: '[NONE]'
tooltip:
- '<#f2c42f>VIP player'
name:
display: '%player_displayname%'
click_action: '[SUGGEST_COMMAND] /msg %player_name% '
tooltip:
- '<#95d027>βΈ Click to send a private message'
separator:
display: '<#315a7a> β '
click_action: '[NONE]'
tooltip: []
| Key | Decides |
|---|---|
chat_color | The message's own colour β used only where the player wears none of their own |
shadow, shadow_color, shadow_opacity | The text shadow, 1.21.4 and newer |
parts | The blocks the line is built from, in the order written |
| Key | Decides |
|---|---|
display | The text |
click_action | What clicking it does |
tooltip | The hover lines. An empty list shows no tooltip |
Part names are yours. rank, name and separator are only what the shipped file happens to
call them β rename or add freely. The message itself is appended after the last part.
%player_name% | The nick as plain text |
%player_displayname% | The nick wearing its own colour and style |
%vault_group% | Their group, if Vault is installed |
Anything PlaceholderAPI offers works too, in every field.
The same tokens everywhere in the plugin:
[NONE]
[RUN_COMMAND] /cmd or [EXECUTE] /cmd
[SUGGEST_COMMAND] /cmd or [SUGGEST] /cmd
[OPEN_URL] https://β¦ or [URL] https://β¦
[COPY] text
Any form Minecraft understands works, mixed freely in one line: &f, Β§f, &#RRGGBB,
#RRGGBB, or a MiniMessage tag such as <red> or <gradient:#ff0000:#0000ff>.
Write new text in MiniMessage. The shipped files use the Polaroid palette, which Messages sets out.
Copy a block, rename it to match your LuckPerms group, change the prefix. Formats you add are
kept across upgrades β the whole formats section is yours.