Skip to content

MiniMessage Gradient

Make Minecraft gradient text with MiniMessage’s own tags, the Adventure gradient that Paper and Velocity read: pick colours, set a phase or a rainbow, and copy one short tag. The preview colours every letter exactly as the server will.

For a colour code on every letter, use the Gradient tool.

Questions about MiniMessage gradients

What is MiniMessage, and which servers read it?

MiniMessage is the text format of Adventure, the text library of Paper and Velocity: tags in angle brackets like <gradient> or <bold> instead of & codes. Paper, its forks such as Purpur and Folia, and Velocity bring it with them, and many plugins read it; their documentation says so. Spigot does not, so a plugin there has to bring it itself. Hex colours need Java Edition 1.16 or newer.

MiniMessage or &# codes: which one do I need?

The one your plugin reads. A plugin that reads MiniMessage takes the short tag, and the server spreads the colours over the text itself, so you can still change the text later. A plugin that reads only & codes needs a code on every letter: copy the box “Without MiniMessage” instead. Most plugins read one or the other, not both.

What does the phase do?

It shifts the colours along the text, from -1 to 1. At 0 the gradient starts with the first colour; at 0.5 it starts halfway and runs back into the first colour at the end; a negative phase runs the other way. Plugins animate a gradient by moving the phase a little at a time. “Animate” shows that here, and “Frames for an animation” gives you one tag per step for TAB or a scoreboard.

How does <rainbow> work?

<rainbow> runs through every hue once along the text, from red over yellow, green and blue back to red. A number from 0 to 9 moves where it starts, in tenths of a turn: <rainbow:3>. An exclamation mark runs it backwards: <rainbow:!> or <rainbow:!3>.

How long may it be in chat, TAB or the scoreboard?

MiniMessage itself has no limit, and the tag stays short. Typed in game, a chat message or a command holds at most 256 characters, so put long gradients in the plugin’s config rather than in a /nick. In TAB and on the scoreboard the plugin turns the tag into coloured text; there the width on screen counts, and a line wider than the list or the sidebar is cut off. The &# codes without MiniMessage are about nine times as long as the text.

Is my text sent anywhere?

No. The gradient is made in your browser, and your last gradient stays there so you can go on later.