Repository navigation
Text Formatting
Guided offers its own text formatting system, allowing you to change the appearance of text and create clickable links between entries.
| Tag | Description |
|---|---|
<b>text</b> |
Bold text |
<i>text</i> |
Italic text |
<u>text</u> |
Underlined text |
<s>text</s> |
Strikethrough text |
<obf>text</obf> |
Obfuscated text |
<color=red>text</color> |
Text with a named Minecraft color |
<color=#FF8800>text</color> |
Text with a custom HEX color |
<br> or <br/>
|
Line break |
<entry=entry_id>text</entry> |
Clickable link to another entry |
Formatting tags can be combined to apply multiple formatting effects to the same text.
Example definition:
{
"text": "<b><color=gold>Important information!</color></b>"
}Guided supports both named Minecraft colors and custom HEX colors.
Available Minecraft colors:
blackdark_bluedark_greendark_aquadark_reddark_purplegoldgraydark_graybluegreenaquaredlight_purpleyellowwhite
Example definition:
{
"text": "<color=gold>Golden text</color><br><color=#FF8800>Orange text</color>"
}To move text to a new line you can use <br>, <br/> or \n.
Example definition:
{
"text": "First line<br>Second line\nThird line"
}Guided allows you to create clickable links that redirect players to other entries within the same guidebook.
To create a link use the <entry=entry_id> tag, where entry_id is the identifier of the entry you want to open.
Example definition:
{
"text": "For more information see <entry=crafting>Crafting</entry>."
}The target entry must be visible to the player.
Formatting tags can also be used inside language files. Guided translates text before applying formatting.
Example en_us.json definition:
{
"entry.example.intro": "<b>Welcome!</b><br>Let's get started."
}For more information see Localization.
Developers can register their own formatting tags through Guided's Java API.
For more information see Addon Development.