> For the complete documentation index, see [llms.txt](https://starozytny.gitbook.io/rankjoinmessages/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://starozytny.gitbook.io/rankjoinmessages/preview/message-format.md).

# Message format

### <mark style="color:yellow;">Available formats to send message.</mark>&#x20;

### Can be merged into one message and send in multiple places in the same time.

* \<chat>Message send on chat\</chat>
* \<actionbar>Message send on actionbar\</actionbar>
* <<title:time:fadeIn:fadeOut>> Message send on title|Message send on subtitle\</title>
* <<bossbar:time>> Message send on bossbar\</bossbar>
* <<toast:material:style>> Message send on toast (archivement)\</toast>
* \<center>Center message

### <mark style="color:yellow;">Available colors format:</mark>

* \#CC660CMessage to send - colorize message via hex colors
* <#CC660C>Message to send - colorize message via hex colors
* <<SOLID:CC660C>>Message to send\</SOLID> - colorize message via hex colors
* <<RAINBOW:saturation>>Message to send\</RAINBOW> - colorize message with random colors. Saturation is provided at 0-100
* <<GRADIENT:CC660C>>Gradient message\</GRADIENT:2CC80D> - make gradient message

### <mark style="color:yellow;">Example:</mark>

* <mark style="color:orange;">\<chat></mark><mark style="color:blue;"><#D5BC0E></mark>\[Vip] {player} <mark style="color:blue;"><#911A3E></mark>join on the server!<mark style="color:orange;">\</chat> \<bossbar:4></mark><mark style="color:blue;">\<RAINBOW:35></mark>Bossbar message<mark style="color:blue;">\</RAINBOW></mark><mark style="color:orange;">\</bossbar>\<title:4:1:1></mark><mark style="color:blue;">\<GRADIENT:D5BC0E></mark>Title message|subtitle message<mark style="color:blue;">\</GRADIENT:911A3E></mark><mark style="color:orange;">\</title></mark> <mark style="color:orange;">\<toast:book:task></mark><mark style="color:blue;"><#ff053b></mark>Get archivement<mark style="color:orange;">\</toast></mark>

### <mark style="color:yellow;">Components:</mark>

To made component you need put in message:

\<component>\<text>Message to send\</text>\</component>

Example:

\<component>\<text>Part message of component\</text>\<hover>Hover message\</hover>\<append> second part of message\</append>\<hover>Second hover\</hover>\</component>

<mark style="color:blue;">**Available options:**</mark>

* <mark style="color:purple;">\<text></mark><mark style="color:yellow;">Message</mark><mark style="color:purple;">\</text></mark> - In this include message
* <mark style="color:purple;">\<hover></mark><mark style="color:yellow;">Text hover</mark><mark style="color:purple;">\</hover></mark> - Include text that will be show after hover on text
* <mark style="color:purple;">\<permission></mark><mark style="color:yellow;">example.permission</mark><mark style="color:purple;">\</permission></mark> - Required permission ti view component
* <mark style="color:purple;">\<replace></mark><mark style="color:yellow;">text|replaced text</mark><mark style="color:purple;">\</replace></mark> - Replace text
* <mark style="color:purple;">\<onClick></mark><mark style="color:yellow;">Action|execute string</mark><mark style="color:purple;">\</onClick></mark> - Execute specific action.\
  Available action:\ <mark style="color:green;">INSERT</mark> - Insert text into the chat component are clicked while pressing the shift key.\ <mark style="color:green;">RUN\_COMMAND</mark> - Execute specific command\ <mark style="color:green;">SUGGEST\_COMMAND</mark> - Suggest text on chat\ <mark style="color:green;">OPEN\_URL</mark> - Open URL site
* <mark style="color:purple;">\<append></mark><mark style="color:yellow;">Message</mark><mark style="color:purple;">\</append></mark> - Create a new part of component, after that you can put again options above

<mark style="color:red;">**Component can be used only on chat message**</mark>
