Message is a Serpulo-exclusive logic block that displays text entered by players or fed to it by logic processors. Players can open a Message block and use the pencil button to input custom text directly. The block accepts up to 220 characters per entry.
Mindustry renders text with HTML-like color tags. To color a segment of text, place a tag of the form [colour] at the start of the segment, where colour is either a predefined color name or a hexadecimal color. An empty pair of square brackets [] repeats the last used color; if no prior color exists, the default is white.
On desktop platforms, the Core Database can be used to place icons into Message text. Shift-clicking an entry in the Core Database copies its icon into the text clipboard, allowing block, item, and unit icons to be pasted into a Message because those icons are part of the game’s text rendering.
Any Logic Processor can edit a Message block using the Print and Print Flush instructions. Print appends a string to an internal print queue associated with the processor. Print Flush sends the queued string(s) to the connected Message block for display and then resets the queue. This allows dynamic updates, concatenation of multiple prints before a single flush, and programmatic message control for status displays, alerts, or information boards.
Up to 220 characters per message when entering text manually.
Use [colour] tags and [] to control text color and reuse the previous color.
Shift-click Core Database entries on desktop to insert block, item, or unit icons into Message text.
Use Logic Processors’ Print to build message content and Print Flush to display and clear the queue.
The block is available only on the Serpulo map set and is categorized as a logic/display block.