A player has two things they can colour — their nick and their chat — and both are set the
same way: /chat, pick which one, pick a palette, pick a colour.
| Palette | What it offers | File |
|---|---|---|
| Legacy | The sixteen colours Minecraft has always had | menus/color_legacy.yml |
| HEX | 100 solid colours, plus one they type themselves | menus/color_hex.yml |
| Gradients | 100 blends, plus one they type themselves | menus/color_gradient.yml |
| Animated | Effects a shader pack draws — rainbows, pride flags | menus/color_animate.yml |
Two lines, plus the item it should look like:
midnight:
material: BLUE_CONCRETE
hex: '#191970'
name: '{COLOR}ᴍɪᴅɴɪɢʜᴛ'
polaroidchat.colors.hex.midnight.material is what the player sees on the shelf. Leave it out and the swatch is plain paper.{COLOR} is the colour itself, so the name is written in the very colour it offers.A gradient is the same with gradient: '#191970:#4b0082' — two stops at least, more if you like.
Deleting a swatch removes it and its permission. Both survive an upgrade: the palettes are yours, not the plugin's.
Hovering one shows the colour doing its job rather than its hex code — a player colouring
chat sees a sample line in that colour, and a player colouring their nick sees their own nick in
it. The sample wording is colors.preview.chat in the language file.
The custom field in the HEX and gradient menus lets a player enter their own, gated by
polaroidchat.customcolor.hex and .gradient. How many stops a custom gradient may have is a
tier:
polaroidchat.customcolor.gradient.slots.3 through .8.
Two things are refused:
colors.nick.blacklist_hex and colors.chat.blacklist_hex in
config.yml — black-on-black chat, say.#8b0000 is refused because it is Blood, and Blood
is reached through the palette, where it has a name, is kept in history, and shows as equipped.
This holds whether or not they have Blood's permission.That second rule is what protects the animated effects: their values look like ordinary colours, so without it a player could type one and walk off with an effect they were never granted.
These are not colours a player picks — each hex is a key a shader resource pack watches for,
and the pack decides what happens. Eleven ship: two rainbows and nine pride flags.
It is off by default (colors.animate.enabled in config.yml), because without the pack a
player picks an effect and sees a flat, almost-white colour. Turning it off hides the category
everywhere.
Do not change the hex values. They are the contract with the pack. The names, items and
slots are yours.
Bold, italic, underline and strikethrough sit at the bottom of every colour menu and stack with
whatever colour is chosen. One permission each, under polaroidchat.colors.formats.
Every colour and nick a player wears is kept, so they can put it back on later. Left-click an entry to reapply, right-click to forget it.
How many they keep is a tier — history.nick,
history.color_nick and history.color_chat in config.yml.
All in config.yml under nick:
| Setting | Decides |
|---|---|
min_length / max_length | How long it may be |
allowed_pattern | Which characters are allowed, as a regular expression |
blacklist | Names nobody may wear, whatever the capitalisation |
cooldowns | Seconds between changes, per rank |
cooldowns is a tier table where the lowest value a player holds wins — it is a wait, so
holding more ranks should mean waiting less. polaroidchat.nick.cooldown.bypass skips it.