Compatibility
Minecraft: Java Edition
1.21
1.20.x
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published 5 months ago
Updated 3 weeks ago
Description:
ChunkManager helps reduce lag by optimizing chunk loading and unloading. It dynamically adjusts the chunk loading radius, caches recently unloaded chunks, and monitors server performance to ensure smooth gameplay. Additionally, it offers advanced commands for chunk optimization and garbage collection to help maintain server performance.
Commands:
Command | Description |
---|---|
/chunkstatus |
Display current chunk management status. |
/chunkreload |
Reload the plugin configuration. |
/optimizechunks |
Optimize loaded chunks. |
/chunkgc |
Trigger garbage collection. |
/chunksummary |
Generate a detailed chunk summary. |
Permissions:
Permission | Description |
---|---|
chunkmanager.admin |
Allows access to all ChunkManager commands. |
How It Works:
- Dynamic Chunk Loading Radius: Adjusts based on server load to minimize unnecessary resource usage.
- Advanced Chunk Caching: Temporarily caches recently unloaded chunks for quick reloading, reducing memory churn.
- Performance Monitoring: Continuously monitors server performance and adjusts settings in real-time to maintain optimal TPS and memory usage.
- Chunk Optimization: Unloads chunks farthest from players to optimize performance.
- Garbage Collection: Triggers garbage collection to free up memory.
- Chunk Summary: Provides a detailed summary of loaded chunks, entities, and tile entities for each world.
- Configurable Settings: Easily adjust plugin settings via the config.yml file for tailored performance management.
Config.yml
# ChunkManager Configuration
# Radius of chunks around the player to preload
chunk-loading-radius: 3
# Cache expiration time in milliseconds
cache-expiration-time: 30000
# Maximum number of chunks to load per tick
max-chunks-to-load: 5
# Maximum size of the chunk cache
max-cache-size: 100
# Logging level
logging-level: INFO
Previews