Список изменений
🚀 Architectural Modernization
Command System Refactor: Modularized the monolithic HGCommand into a dedicated SubCommand Pattern. All 12+ sub-commands (join, start, lobby, admin, v.v.) are now handled by isolated, maintainable classes. Database Optimization: Switched to HikariCP connection pooling and implemented CompletableFuture chains for thread-safe, non-blocking player stat persistence.
🛠️ Combat & Ability Fixes
Cooldown Standardization: Standardized all ability cooldowns to milliseconds for precision and consistency across the plugin. Logic Safety & Math:
Implemented true spherical AoE checks using distanceSquared (Fixing B-19).
Added NaN/Infinity guards for knockback vectors to prevent entity glitches (Fixing B-20).
Fixed
LichStaff ammo replenishment via the new onCooldownEnd hook.
Cleanup & Stability: Ensured automatic cleanup of HypnosisStaff minions on player quit/death. Standardized dungeon entities using metadata to prevent accidental cleanup of named mobs.
🌍 World & Game Mechanics Smooth WorldBorder: Replaced step-based resizing with a continuous tick-based calculation for professional, smooth border shrinking.
Nether Redirection: Fully implemented per-arena Nether world creation and portal redirection logic.
Scoreboard Correction: Fixed the %alive% placeholder to accurately count living participants only.
Persistence: Fixed a critical bug where lifetime kills/deaths were lost during arena resets.
📦 General Improvements
Localization: Replaced hardcoded technical strings with translatable MessageManager keys.
Robust Lore Support: Improved lore-splitting logic to handle multi-line localized descriptions safely. Dead Code Removal: Pruned over 200 lines of obsolete crafting and hologram logic to reduce memory footprint.

