
LuckPermsPrefixes
A Minecraft plugin for LuckPerms that formats chat messages and the TAB list with prefixes, colors, and animated gradients.
696
1
Список изменений
🚀 LockiPrefixes 3.0.0
Bug Fixes
- Fixed NPE in TablistManager when
applyAnimatedGradientreturns null - Fixed stale ChatFormatter in PlaceholderAPI expansion after
/lockiprefixes reload - Fixed ConcurrentModificationException caused by unsynchronized HashMap reads during async chat events
- Fixed scoreboard team name collision caused by player name truncation to 16 chars
- Fixed scoreboard team leak on player disconnect — teams are now properly unregistered
- Fixed
thenRunAsync()in mid/modern PrefixMenuManager routing Bukkit API calls through ForkJoinPool instead of the main thread - Fixed missing error handling on LuckPerms
createGroup()future — players now receive feedback on failure - Fixed hex color support being disabled for Minecraft 1.22+ due to hardcoded version allowlist
- Fixed
getCommand()NPE before.setExecutor()chain on malformed plugin.yml - Fixed
server.propertiesbeing resolved via relative CWD path — now resolved from server root - Fixed stale ChatFormatter in mid/modern chat listeners after plugin reload
- Fixed
inv.getTitle()deprecation in legacy PrefixGuiListener — replaced withevent.getView().getTitle() - Fixed static
instancefield never being nulled inonDisable()— stale plugin references are now cleared
Performance Improvements
Pattern.compile()calls in UpdateNotifier promoted tostatic final— patterns are no longer recompiled on every version checkgetTemplates()in PrefixMenuManager now returns astatic finalunmodifiable list — eliminates per-call allocationssaveConfig()on reload moved to async task — no longer blocks the main thread
Code Quality
- Removed dead cache fields and
CachedPlayerDataclass from LuckPermsFacade — LP manages its own cache - Deleted dead
currentvariable inhandlePrefixListClick() - All internal Maps in LockiConfig replaced with ConcurrentHashMap
- Dual world-schema overlap now logs a warning instead of silently overwriting
latestVersionis now written beforeupdateAvailableto prevent TOCTOU reads- BufferedReader in UpdateNotifier wrapped in try-with-resources — no more stream leaks on exception
- LuckPerms user-null cases now log a warning instead of silently producing empty placeholders
- PAPI expansion now takes
Supplier<ChatFormatter>instead of a direct instance — survives reloads
Other
- TAB plugin tutorial URL updated to https://leifiyo.dev/docs/placeholders
Файлы
lockiprefixes-legacy-3.0.0.jar(80.84 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
3.0.0
Загрузчики
BukkitPaperSpigot
Версии игры
1.7.2–1.12.2
Загрузок
36
Дата публикации
1 нед. назад
