ApexClan
The Ultimate, Region-Threaded, High-Performance Clan Management System for Modern Minecraft Servers
Full HEX/MiniMessage Tag Support & Announcement
Список изменений
v0.5.6 Release Notes
🎨 Lossless HEX Colors & MiniMessage Tag Engine Issue: When players created tags using HEX codes (e.g., &#ff0000), gradients, or MiniMessage formats via /clan tag, the colors were being downsampled to the nearest standard Minecraft legacy color, ruining smooth gradient transitions.
Fix: Implemented a custom legacySectionSerializer that prevents Kyori Adventure from downsampling colors and converts HEX/MiniMessage formats flawlessly without quality loss.
Updated Files: ChatUtils, PlaceholderProvider, ClanChatEvent, ClanAllyChatEvent, ClipPlaceholder, and ClanSetTagCommand.
📢 Full MiniMessage & HEX Support for Server Announcements Issue: Broadcast messages sent during clan creation and deletion (announcements.create and announcements.delete) were not parsing MiniMessage syntax or custom HEX colors properly.
Fix: Announcements are now formatted into Adventure Component objects via ChatUtils.formatMiniMessageWithLegacySupport and delivered losslessly to online players using ChatUtils.sendComponent.
Updated Storage Adapters: YAML, SQL, MongoDB, and Redis.
⚙️ Fixed Announcement Fallback Glitch Issue: Database handlers initialized prior to langManager being instantiated at startup caused local references to remain null. This forced announcements to fall back to hardcoded English strings instead of reading from custom language configuration files.
Fix: Replaced static field references with a null-safe getLangManager() accessor method across all storage providers (YAML, SQL, MongoDB, Redis), ensuring custom localized messages are always resolved correctly.
🛠️ Bug Fixes & Stability: Resolved all color downsampling, broken gradient rendering, and localization configuration issues reported via Discord.