MessageTags

Message parser for Hytale (like MiniMessage)

Hytale MessageTags

IMG IMG


MessageTags parses your text, styles and formats it according to its syntax, which is similar to HTML/XML tags. It's as a shadeable library and as a standalone server plugin for Hytale.

Basically, a MiniMessage clone for Hytale.

IMG IMG


📑 Features

  • ✅ - fully supported
  • ❌ - not supported
  • ⚠️ - partially supported
Text format, style and tags MessageTags Others
Colors ✅ ✅
Color gradients ✅ ⚠️
Color transitions ✅ ❌
Embedding clickable links ✅ ✅
Formatting (bold, monospace, underline, italic, reset) ✅ ✅
Client-side translations ✅ ❌
Server-side translations ❌ ❌
Inlining legacy color codes ✅ ⚠️
Inserting linebreaks ✅ ❌
Availability
Maven library support ✅ ❌
Standalone plugin support ✅ ✅
Extensibility
Implement custom TagHandlers ✅ ⚠️
Register custom NamedColors ✅ ⚠️
Add placeholders (raw, parseable, embedded) ✅ ⚠️
Text stripping (remove format, style and color) ✅ ⚠️

🐇 Quick Start

Add dependency

dependencies {
    // To include the library in your plugin:
    implementation("eu.koboo:messagetags-api:1.3.0")

    // Or to use the standalone plugin:
    compileOnly("eu.koboo:messagetags-plugin:1.3.0")
}

Add manifest dependency (plugin-only)

{
    "Dependencies": {
        "Koboo:MessageTags": "*"
    }
}

Parse text to Message

Message message = MessageTags.parse("<bold><red>Hello World!</red></bold>");
// Output: bold + red "Hello World!"

Strip text to Message

Message message = MessageTags.strip("<bold><red>Hello World!</red></bold>");
// Output: "Hello World!"

Links

Development:

Projects:

Maven:

MessageTags Team

profile avatar
Owner
  • 1
    Projects
  • 110
    Downloads