Skip to main content

Minimessage

Overview

Minimessages are text that support the minimessage format created by adventure, found here

They can be used to create text various colours, styles and properties.

Usage

Minimessages can be found in the Minimessage section of the toolbox. They can be created with the Minimessage block, or referenced using the Minimessage Link block.

Resolution

The Message Resolver block can be used to resolve values from targets in to minimessages.

Certain values from targets can be "resolved" in minimessages. This means that the tags below will be replaced with the value from the specified target.

For example, if you have a target with the tag "tagname" and the value "tagvalue", the minimessage Hello, <tag:tagname> will be resolved to Hello, tagvalue.

Tags

  • <name> - Resolves to the name of the target.
  • <tag:tagname> - Resolves to the value of the tag tagname on the target.
  • <health> - Resolves to the health of the target.
  • <max_health> - Resolves to the max health of the target.
  • <stamina> - Resolves to the stamina of the target.
  • <max_stamina> - Resolves to the max stamina of the target.

Demo

This will send players a welcome message when they join the world, with their name in it.

Advanced Usage

Targets can be chained, and are resolved with precedence given to the target furthest down the chain.

In this example, the input message is <red>Tag from world: <tag:world><br><blue>Tag from player: <tag:player>, and the output message is Tag from world: worldtag<br>Tag from player: playertag.

First the tag <tag:player> is resolved from Interactor, then the tag <tag:world> is resolved from Global Target.