✨ Changelog — gChatTowny v1.1
New Features and Improvements:
-
🏙 Added support for Towny town and nation tags (
getTag()
):- If a town/nation has a tag, it will be used instead of the full name.
- If no tag exists, the full name is used as before.
-
⚙️ New configuration option in
towny-gChat.yml
:prefer_tag: true
true
→ tag takes priority.false
→ always use full names.
-
🎨 Updated message formatting system:
- Supports HEX colors like
&#FF5656
. - Fully compatible with standard Minecraft color codes
&a, &b, &c...
.
- Supports HEX colors like
-
🔌 Full PlaceholderAPI support:
%gchat_towny%
→ Nation + Town (or just Town if no nation).%gchat_townytown%
→ Town (tag or full name).%gchat_townynation%
→ Nation (tag or full name).
Technical Changes:
- Added
resolveTownName()
andresolveNationName()
methods to respect theprefer_tag
setting. - Refactored
getTownyTag()
,getTownTag()
, andgetNationTag()
for clarity. - Config now auto-generates with new settings on first run.