This update adds support for MC 1.21.6 servers, MiniMessage support for lang, and includes various bug fixes.
MiniMessage Support
I've added MiniMessage support to GriefDefender's language system! This means you'll be able to use MiniMessage formatting for styling, hover events, and click events—while still using GD's {} placeholders instead of MiniMessage's <> syntax for variables. For example, the current message for block-claimed looks like this:
Code (Text):
"block-claimed": "&aThat block has been claimed by &6{player}&a."
With MiniMessage support, you can enhance it with interactivity like so:
Code (Text):
"block-claimed": "<hover:show_text:'<red>This claim is protected'><click:open_url:'https://docs.griefdefender.com'><green>That block has been claimed</green></click></hover> <gold>{player}</gold>."
Keep in mind, this does not mean the existing lang format will no longer work. It means you will be able to use either minimessage or the original lang format for any message.
3.0.7 Changelog
Code (Text):
* Add MC 1.21.6 support.
* Add MiniMessage support for lang.
Note: GD will still use existing placeholder format with {}.
* Add new contexts : main_hand and off_hand.
* Improve enter/exit default claim message support.
* Improve claim tool comments with custom nbt usage.
* Fix water flow getting stuck when stopping source.