AntiSpoof 1.2.6 — MiniMessage + Hex update
What’s new (in a nutshell)
- Hybrid colour parsing — new MessageUtil.miniMessage() lets one string mix:
- MiniMessage tags: <gold><bold>Hello</bold></gold>
- Legacy colour codes: &aGreen
- Hex colours: &#FFAA00 or &x&F&F&A&A&0&0
- Adventure-MiniMessage library added (adventure-text-minimessage 4.21.0) and plugin version bumped to 1.2.6.
- All admin / update / chat alerts now route through MessageUtil → gradients, bold, italics, etc. directly in your config or code.
- Safer URL handling with URI.create(...).toURL() plus a small field cleanup in AntiSpoofPlugin.
How to use it
Code (YAML):
alert-message
:
"<gradient:#55ffff:#0055ff><bold>[AntiSpoof]</bold></gradient> <reset>&e%player% flagged! &cVanilla client with plugin channels"
Drop the new jar in place of 1.2.5 — no config changes required.
Thanks to
@HonzasikCZ for the suggestion!
Full Changelog:
1.2.5 → 1.2.6