▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/LuckPermsPrefixes
LuckPermsPrefixes

LuckPermsPrefixes

A Minecraft plugin for LuckPerms that formats chat messages and the TAB list with prefixes, colors, and animated gradients.

696
1
Все версииLuckPermsPrefixes 3.0.0

LuckPermsPrefixes 3.0.0

Release1 нед. назад

Список изменений

🚀 LockiPrefixes 3.0.0

Bug Fixes

  • Fixed NPE in TablistManager when applyAnimatedGradient returns 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.properties being 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 with event.getView().getTitle()
  • Fixed static instance field never being nulled in onDisable() — stale plugin references are now cleared

Performance Improvements

  • Pattern.compile() calls in UpdateNotifier promoted to static final — patterns are no longer recompiled on every version check
  • getTemplates() in PrefixMenuManager now returns a static final unmodifiable list — eliminates per-call allocations
  • saveConfig() on reload moved to async task — no longer blocks the main thread

Code Quality

  • Removed dead cache fields and CachedPlayerData class from LuckPermsFacade — LP manages its own cache
  • Deleted dead current variable in handlePrefixListClick()
  • All internal Maps in LockiConfig replaced with ConcurrentHashMap
  • Dual world-schema overlap now logs a warning instead of silently overwriting
  • latestVersion is now written before updateAvailable to 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

Файлы

lockiprefixes-latest-3.0.0.jar(99.24 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

3.0.0

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.20–1.21.11

Загрузок

151

Дата публикации

1 нед. назад

Загрузил

ID версии

Главная