Lightning lets you customize messages across your server, including messages from plugins that were never designed to support MiniMessage. Add gradients, hex colors, reusable text components, interactive messages, and custom commands without modifying individual plugins.
Define reusable styles, create message actions, and build your own command workflows with simple YAML configuration.
Cook with Lightning.
Use MiniMessage formatting in supported messages from virtually any plugin, including those limited to legacy color codes. Add gradients, hex colors, hover events, and click actions without editing each plugin individually.
Customize chat, action bars, titles, boss bars, tab lists, scoreboards, menus, items, holograms, dialogs, kick and ban screens, and server list messages.
Lightning processes messages containing supported tags while leaving ordinary text untouched. Commands such as /home <name> remain intact.
Create custom tags for prefixes, color schemes, formatted placeholders, dynamic values, rotating tips, and localized messages. Define them once and reuse them throughout your server.
Go beyond formatting with tags that trigger actions, including action bar messages, titles, sounds, and message suppression.
Use the <face> tag to display a player's own head directly in supported text components. Requires Minecraft 1.21.9 or newer.
Restyle messages you cannot easily edit through a plugin's configuration, including vanilla server screens and hardcoded plugin messages where supported.
Create your own commands using YAML. Configure arguments, tab completion, subcommands, cooldowns, execution limits, and configurable actions.
Trace messages back to their source, identify broken tags across plugin configurations, convert legacy & color codes to MiniMessage with automatic backups, and inspect how messages are processed.
Player-supplied text remains plain text rather than being interpreted as formatting instructions. Ordinary messages avoid unnecessary processing, and reusable results are cached to reduce overhead.
- Paper or Folia 1.21 or newer
- Java 21
- PlaceholderAPI (optional)
- Download the Lightning JAR.
- Place it in your server's
plugins/folder. - Restart your server.
Lightning requires PacketEvents for packet handling.
- PacketEvents already installed: Lightning uses the installed PacketEvents plugin.
- PacketEvents not installed: Lightning automatically downloads PacketEvents 2.14.0 on startup.
If PacketEvents is already installed, ensure its version supports your Minecraft server version.
With Lightning installed, supported messages in other plugins' configurations can use MiniMessage formatting.
welcome: "<gradient:#FFE259:#FFA751>Welcome back, %player_name%!</gradient>"
home-set: "<actionbar><green>Home set.<sound:entity.player.levelup>"
balance: "<spark:prefix> You have <spark:balance>"Define reusable text components in plugins/Lightning/sparks/ and use them throughout your configurations.
balance: "<spark:prefix> You have <spark:balance>"Define your own commands, arguments, and actions through YAML configuration.
discord:
description: Get the Discord link
actions:
- "<spark:prefix> Join us at discord.gg/example"| Command | Description |
|---|---|
/lightning reload |
Reload Lightning's configuration and resources. |
/lightning parse [surface] <text> |
Preview how text will be processed. |
/lightning sparks |
List available sparks. |
/lightning inspect [chat|actionbar] |
Trace messages back to their source. |
/lightning check [plugin] |
Find unsupported or incorrectly written tags. |
/lightning convert <plugin> |
Convert legacy & color codes to MiniMessage, creating a backup. |
/lightning debug |
Show why Lightning processes or skips messages in the console. |
All commands require lightning.admin. You can also use /lt.
Read the full guide at hub.denizenmc.com/docs/lightning.
Run ./gradlew build. The compiled JAR will be available in build/libs/.
Dependencies are not shaded into the JAR. Paper's plugin loader handles PacketEvents at runtime.
Need help, found a bug, or have a feature request?
Want to help out? Read the contributing guide. If Lightning has made your server better, you can also support it on Ko-fi.
Lightning is licensed under GPL-3.0-or-later. See LICENSE for details.
