ModsJava
MessageStyler 1.0.0
Rewrite, restyle or reroute any server message, even from plugins with no formatting options.
⬇ Download on SpigotWhat it does
Some plugin sends an ugly message and gives you no way to change it. No locale file, no config option, nothing. MessageStyler fixes that from the outside.
It intercepts messages on their way to the player and lets you rewrite the text, move it to the action bar or a title, or delete it entirely — regardless of which plugin sent it or whether that plugin supports formatting at all.
Features
Setup
No rules are active on a fresh install, so nothing changes until you configure it.
Example
Requirements
Commands & permissions
/messagestyler reload (alias /mstyler) — messagestyler.reload, default op
Bug reports and feature requests welcome in the discussion thread — I respond.
Some plugin sends an ugly message and gives you no way to change it. No locale file, no config option, nothing. MessageStyler fixes that from the outside.
It intercepts messages on their way to the player and lets you rewrite the text, move it to the action bar or a title, or delete it entirely — regardless of which plugin sent it or whether that plugin supports formatting at all.
Features
- Works on any message. Vanilla messages, plugin messages, messages from plugins that were never designed to be configurable.
- Automatic message keys. Every message gets a stable 8-character ID generated from its text with numbers stripped out, so Wait 9m 45s and Wait 3m 20s share one key and one rule.
- Keeps the numbers. Values removed to build the key come back as {0}, {1}, {2} — restyle a message completely without losing its data.
- Reroute anywhere. chat, action bar, title, subtitle, or delete.
- Exact action bar timing. Hold a message for precisely as long as you want, in ticks. Longer than the client's natural fade if you need it.
- Match by key or by text. Text matching searches the raw component JSON too, so vanilla translation keys like block.minecraft.set_spawn work directly.
- Guided setup. Turn on debug, trigger the message, copy the key from console. That's the whole workflow.
- Stays out of the way. Action bar output from other plugins is ignored by default, and messages already cancelled by another plugin are left alone.
- Clean unload. The packet listener is properly unregistered on disable, so hot-swapping with PlugMan doesn't leak listeners.
Setup
- Install PacketEvents — required
- Drop MessageStyler in /plugins
- Restart
- Set debug: true in the config, run /messagestyler reload
- Trigger the message you want to change and copy the key from console
- Write a rule, reload, set debug: false
No rules are active on a fresh install, so nothing changes until you configure it.
Example
Code (YAML):
rules:
sleep-wait:
key : '7c0efe5f'
replace : '&7Wait &f {0 }m &f {1 }s &7before sleeping.'
to : actionbar
duration : 60
sleep-wait:
key : '7c0efe5f'
replace : '&7Wait &f {0 }m &f {1 }s &7before sleeping.'
to : actionbar
duration : 60
- Paper or Spigot 1.20+
- PacketEvents
- Java 21 or newer (26.1+ servers already require Java 25)
- Folia is not supported
Commands & permissions
/messagestyler reload (alias /mstyler) — messagestyler.reload, default op
Bug reports and feature requests welcome in the discussion thread — I respond.
MessageStyler 1.0.0 is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21, 26.1 and newer. Downloaded 7 times (via Spigot). Download it and open it directly in the game.