class

Message

Message formatting class for sending styled text to players. Use Message.raw() to create messages, .color() to add color, and Message.join() to combine multiple messages. Does NOT have an append() method.

Methods

Message param(String name, String value)

Add parameter to translation. Can chain multiple.

Message raw(String text)
static

Create a raw message from text. Supports color codes - use .color() method instead.

Message translation(String key)
static

Create localized message. Chain with .param(name, value) for parameters.