v1.5 - Premium Update
CRITICAL BUG FIXES:
•
DamageTracker memory leak - Boss damage data was not cleaned up correctly on death
•
BossBar ConcurrentModificationException - Potential crash when updating players in radius
•
SpawnerCooldownManager memory leak - Unbounded memory growth with spawners
•
DamageTracker thread-safety - Switched to ConcurrentHashMap to prevent race conditions
PERFORMANCE IMPROVEMENTS:
• ConfigManager caching - Config reads optimized (no parsing at runtime)
• ColorUtils optimized with StringBuilder
• Removed MythicDamageEvent listener that did nothing (reduced event overhead)
STABILITY IMPROVEMENTS:
• Null-safety across all listeners and managers
• Configurable radius per announcement type (spawn, death, despawn)
• Try-catch around reward command execution
• Correct shutdown order to prevent errors on disable
UX IMPROVEMENTS:
• Smart tab-completion for /mmaddon
• /mmaddon reload shows execution time
• /mmaddon info expanded with more details
NEW CONFIG OPTIONS:
•
Code (Text):
announcements.spawn.radius
- Radius for spawn announcements (default: 100)
•
Code (Text):
announcements.death.radius
- Radius for death announcements (default: 100)
100% backward compatible. Existing config files will automatically get the new default values.