-
Notifications
You must be signed in to change notification settings - Fork 3
Tutorial Message Format
Shane Bee edited this page Feb 5, 2026
·
8 revisions
Messages in Hytale support different formatting such as colours and translations.
You can use message translations from the Hytale lang files.
This would also support modded lang files.
[new] translated message [from] %string%
set {_m} to translated message from "server.chat.playerMessage"
Using the formatted message expression, you can create fancy colourful messages. HySkript uses TinyMessage to format messages similarly to MiniMessage on PaperMC.
[new] formatted [message] [from] %string%
| Tag | Aliases | Example | Description |
|---|---|---|---|
<color:X> |
<c:X>, <colour:X>
|
<color:red>text</color> |
Sets text color (named or hex) |
<gradient:X:Y:Z> |
<grnt:X:Y:Z> |
<gradient:red:blue>text</gradient> |
Creates a color gradient |
<bold> |
<b> |
<b>text</b> |
Makes text bold |
<italic> |
<i>, <em>
|
<i>text</i> |
Makes text italic |
<underline> |
<u> |
<u>text</u> |
Underlines text |
<monospace> |
<mono> |
<mono>text</mono> |
Uses monospace font |
<link:URL> |
<url:link> |
<link:https://google.com>click</link> |
Creates clickable link |
<reset> |
<r> |
<b>bold<reset>normal |
Resets all formatting |
black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white
on player chat:
set {_message} to formatted message from "[<aqua>MyServer<reset>] <red>%name of context-playerref%<reset>: %context-message%"
set context-message-format to {_message}
on player ready:
send formatted "[<gradient:#CB07F2:#07F2F2>Cool Server<reset>] <yellow>Welcome to the server <green>%name of context-player%"