Skip to content

Tutorial Message Format

Shane Bee edited this page Feb 5, 2026 · 8 revisions

Messages in Hytale support different formatting such as colours and translations.

Translated Message:

You can use message translations from the Hytale lang files.
This would also support modded lang files.

Syntax:

[new] translated message [from] %string%

Example:

set {_m} to translated message from "server.chat.playerMessage"

Formatted Message:

Using the formatted message expression, you can create fancy colourful messages. HySkript uses TinyMessage to format messages similarly to MiniMessage on PaperMC.

Syntax:

[new] formatted [message] [from] %string%

Supported Tags

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

Named Colors

black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white

Examples:

Chat Format:

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}
Screenshot 2026-02-03 at 2 01 43 PM

Join Message:

on player ready:
	send formatted "[<gradient:#CB07F2:#07F2F2>Cool Server<reset>] <yellow>Welcome to the server <green>%name of context-player%"
Screenshot 2026-02-03 at 2 06 48 PM

Clone this wiki locally