Releases: bytezlol/ChatFormat
Releases · bytezlol/ChatFormat
ChatFormat v1.1
v1.1 - Refactor & Cleanup
A full internal rewrite for cleaner code, better performance, and easier maintenance. No breaking changes for end users.
Improvements
- Renamed main class
Main→ChatFormatfor clarity - New
FormatManager- all chat format logic centralized in one place (was scattered acrossMain,FormatUtil, andChatListener) - New
FileUtil- consistent config loading and reloading - Cleaner
ColorUtil- cachedMiniMessageinstance, split into focused methods, all parameters now@NotNull - Slimmer
ChatListener- reduced from 25 to 14 lines, delegates entirely toFormatManager
Fixes
- LuckPerms lookups now null-safe (no more NPEs if LuckPerms is missing)
- URL regex no longer crashes on edge cases with no trailing whitespace
- Reload command now properly clears the config cache
Internal
- Removed
FormatUtil(logic absorbed intoFormatManager+ColorUtil) ColorUtilis nowfinalwith a private constructor- Strip helpers (
stripLegacyCodes,stripHexCodes) are now public utility methods