🌈Gradients, Toasts & more

MiniMessage ----------

AdvancedChat has a full support of MiniMessage - syntax to use gradients, hover, clickable messages and other tricks.

Gradient

Gradient colored text

<gradient:[color1]:[color...]:[phase]>

Transition

Transitions between colors. Similar to a gradient, but everything is the same color and the phase chooses that color

<transition:[color1]:[color...]:[phase]>

To learn more about MiniMessage, you can check out this page: https://docs.advntr.dev/minimessage/format.html

Font

Allows to change the font of the text

<font:key>

Examples

  • Nothing <font:uniform>Uniform <font:alt>Alt </font> Uniform

Selector

<selector:_sel_[:_separator_]>

Arguments

  • _sel_, the selector pattern to insert

  • _separator_ (optional), the separator to insert between values the selector matches

Examples

  • Hello <selector:@e[limit=5]>, I'm <selector:@s>!

Insertion

Allow insertion of text into chat via shift click

<insertion:_text_>

Arguments

  • _text_, the text to insert

Examples

  • Shift-click <insert:test>this</insert> to insert!

Click

Allows doing multiple things when clicking on the component.

<click:_action_:_value_>

Arguments

Examples

  • <click:run_command:/seed>Click</click> to show the world seed!

Reset

Close all currently open tags, resetting color/decoration/etc. The reset tag cannot be closed.

<reset>

And so much more! Visit the wiki page with full explanation here: https://docs.advntr.dev/minimessage/format.html

Some text and messages here are provided from Kyori's Adventure wiki post. Big thanks to them for creating the library.

Toast Messages -------

AdvancedChat lets you send your message in the form that you wish! You can use this anywhere in the plugin, from locale file to announcements.

Chat Message

Example: 'This is a chat message!'

Action Bar

Example: "[ACTION_BAR]This is an action bar message!"

Title

Example: "[TITLE]This is a title!"

Subtitle

Example: "[SUBTITLE]And this is a subtitle!"

Boss Bar

Arguments:

Example: "[BOSS_BAR:1.0:GREEN:PROGRESS]Important announcement here!"

Last updated