Syntax

You can escape any format by adding \ before it!

Name

Syntax

Alternative

Bold

**Bold**

-

Italic

*Italic*

_Italic_

Strikethrough

Strikethrough

-

Underlined

__Underlined__

-

Obfuscated

||Obfuscated||

-

Legacy color

&cColor!

-

Hex

<#000000>Hex!

&#000000Hex!

Gradient

<g:#000:#ffffff>Gradient!

-

Rainbow

<r:0.5:1.0>Rainbow!

-

Action

[Text!](hover: Hover Message!)

-

Legacy format

&lBold

Line break

\n

When using line break on the IDE make sure to escape it \\n or it won't work.

Examples

Actions

The syntax for actions are simple, the text that'll be displayed goes in the [ ] and the action itself goes in ( ) the currently supported actions are:

  • Hover - Displays a hover message, [**Message**](hover: <r>Hover message here!) both supports the markdown syntax as well.

  • Command - Runs a command when clicked [**Message**](command: /home) if no / is present, it'll just say the message in chat instead, when clicking.

  • Suggest - Suggests a command when clicked[**Message**](suggest: /home)

  • Clipboard - Copies the text to clipboard when clicked[**Message**](clipboard: This will be copied)

  • Url - Opens a URL link when clicked[**Message**](url: https://mf.mattstudios.me/)

To have an action with both hover and a click event use the separator |, which can also be escaped like \|. Example: [**Message**](clipboard: This will be copied|hover: Hover message here!)

Last updated