ChunkManager icon

ChunkManager -----

Optimizes chunk loading to reduce server lag.




Bug Fixes:
  • Fixed "Comparison method violates its general contract" error when players disconnect
  • Improved chunk unloading stability
  • Fixed ANSI color codes in console (reverted to avoid Bukkit warnings)
Improvements:
  • Better memory cleanup on player disconnect
----------, Jul 1, 2025

Bug Fixes
- Fixed critical sorting issue that caused IllegalArgumentException: Comparison method violates its general contract! during chunk unloading operations
- The smart chunk unloader now captures heat values before sorting to ensure comparison consistency
- This prevents crashes that could occur when the server was processing chunk unload tasks

Details
- Resolved race condition in SmartChunkUnloader.identifyColdChunks() where volatile heat values could change
during sort operations
- Improved stability of chunk management system under high load conditions
----------, Jun 29, 2025

Small Patch:

- Removed "safe teleporting" causing issues.

Might need to delete old config or update it!
----------, Jun 3, 2025

Massive Changes Made:

# 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 OLD Config.yml)
----------, Jun 1, 2025

[/] Fixed maintenance mode toggle bug
[/] Improved config reload behavior
[/] Enhanced UI display
[+] Added auto-maintenance state persistence
[/] Fixed state restoration during server restarts
----------, Apr 4, 2025

[+] Added checks to fully skip chunk management for blacklisted worlds.
[+] Added new safety checks around chunk loading and unloading to prevent errors.
[/] Improved dynamic radius handling and made it configurable in the config file.
[/] Enhanced maintenance mode to automatically switch on and off based on performance thresholds.
----------, Jan 28, 2025

[+] Maintenance Mode: Introduced a new feature that lets you enable or disable a lower chunk loading radius for better performance.
[/] Made some side improvements for better functionality.
----------, Dec 23, 2024

[+] Enhanced /chunksummary command with detailed world info (total players, entities, etc.).
[+] Added support for 4 languages (English, Spanish, French, Chinese)
[-] Removed clearlag functionality.
[/] Fixed asynchronous access issues by ensuring all Bukkit API calls run on the main thread.

Ensure to update your config file!
----------, Nov 4, 2024

[+] Added /clearlag toggle command to enable or disable automatic clear lag.
[+] Added /clearlag history command to view a history of recent clear lag.
[+] Added /clearlag status command to display current clear lag settings and next scheduled clear time.
[/] Added auto-complete functionality for /clearlag command.
[/] Improved clear lag to be smoother by processing entities in smaller batches if necessary.

** Update your Config.yml **
----------, Jul 30, 2024

[+] Added Configuration option to enable or disable informational messages.
[\] Improved Countdown timer warnings for clear lag to reduce spam.
[ \ ] Fixed Countdown timer to correctly display the next clear time in minutes and seconds.
----------, Jul 28, 2024

[+] Added new /clearlag command to manually clear unnecessary entities.
[+] Implemented automatic entity clearing with customizable intervals.
[+] Added countdown timer warnings before automatic clearing.
[\] Enhanced memory usage display to ensure accurate reporting.
[\] Improved message format for better clarity and professionalism.

** Important update your config.yml **
----------, Jul 27, 2024

[+] Added thread safety for shared resources
[\] Enhanced error handling and logging
[\] Improved asynchronous chunk operations
[\] Optimized caching logic
[\] Refined chunk loader and unloader tasks
[\] Enhanced dynamic radius adjustment
[\] Improved chunk summary layout for readability
----------, Jul 24, 2024

[+] Added data collection /chunksummary
[\] Improved /optimizechunks logic for more accurate chunk unloading
[\] Enhanced memory usage display to ensure accurate reporting
----------, Jul 22, 2024

[+] Added more detailed memory usage reporting in /chunkstatus command
[\] Enhanced /optimizechunks command for improved chunk optimization
[\] Improved /chunkgc command for accurate garbage collection
[\] Enhanced error handling in chunk load/unload tasks
[\] Improved performance monitoring and dynamic radius adjustment
----------, Jul 21, 2024

[+] Added /optimizechunks command for chunk optimization
[+] Added /chunkgc command for garbage collection
[\] Enhanced chunk loading/unloading logic
[\] Improved cache management
----------, Jul 20, 2024

Resource Information
Author:
----------
Total Downloads: 1,273
First Release: Jul 20, 2024
Last Update: Jul 1, 2025
Category: ---------------
All-Time Rating:
7 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings