✅ 1. Multi-threaded Chunk Processing
- Created ChunkProcessor with dynamic thread pool management
- Priority-based task queue (CRITICAL, HIGH, NORMAL, LOW)
- Automatic thread scaling based on workload
- Async chunk loading/unloading operations
✅ 2. Chunk Teleportation Safety
- Created TeleportationSafety component
- Pre-loads chunks before teleporting players
- Validates destination safety (no lava, fire, etc.)
- Fall damage protection after teleport
- Configurable timeout and radius
✅ 3. Multi-language Support (10+ languages)
- Created LanguageManager with 10 languages:
- English, Spanish, French, German, Portuguese
- Italian, Russian, Japanese, Korean, Chinese
- Added /chunklang command
- Auto-generates language files on first run
- Hot-swappable languages without restart
✅ 4. Smart Unloading Algorithm
- Created SmartChunkUnloader with heat map tracking
- Tracks player movement patterns and predicts chunk needs
- Heat decay system for intelligent unloading
- Protects important chunks (villagers, named entities)
- Priority-based unloading of "cold" chunks
Additional Improvements:
- Enhanced memory management with object pooling
- Added a API for plugin integration
- Enhanced config.yml with new feature settings (DELETE YOUR ON Config.yml)
Changelog
Enhancements
- Dynamic Radius Handling: Improved and made configurable in the
config.yml
file. - Maintenance Mode: Automatically switches on/off based on performance thresholds.
Fixes & Improvements
- Chunk Management: Fully skips chunk management for blacklisted worlds, improving efficiency.
- Code Cleanup: Reorganized and cleaned up the codebase for improved stability.
- Safety Checks: Added new safeguards around chunk loading and unloading to prevent errors.
- Task Management: Introduced graceful task cancellation during plugin shutdown.
[+] Enhanced /chunksummary command with detailed world info (total players, entities, etc.).
[+] Added support for 4 languages (English, Spanish, French, Chinese)
[-] Removed clearlag functionality. _(from version 1.0.7)
[/] Fixed asynchronous access issues by ensuring all Bukkit API calls run on the main thread.
Change Log for Version 1.0.5
Added
- New
/clearlag
command to manually clear unnecessary entities. - Automatic entity clearing with customizable intervals.
- Countdown timer warnings before automatic clearing.
Improved
/optimizechunks
logic for more accurate chunk unloading.- Memory usage display to ensure accurate reporting.
- Message format for better clarity and professionalism.
Release on modrinth, original post SpigtMC