Made significant improvements and added new features
New Features: /regen Command
Introducing the /regen command, allowing you to refresh all currently loaded areas with new materials from your configuration file. This is useful for those who modify biomes in the files after install and helps fix any bugged areas with empty chunks.
Performance Improvements: Material Manager Enhancements
Made the plugin run faster and handle large amounts of data more efficiently.
Reading files is now quicker, making the plugin respond faster.
Optimized how materials are loaded and distributed to improve overall performance.
Material Loading Process: Separated Loaders
The process of loading materials is now divided into two types:
Basic Material Loader:
For simpler setups without specific biomes.
Ensures materials are evenly distributed across all biomes.
Advanced Material Loader:
For setups that include specific biomes.
Uses a system that distributes materials based on their specified weights.
Requires all biomes to be listed in the configuration file to prevent missing areas in the game.
You can play around with using either one or see what works best for you, all the biomes are listed in the world text files.
Bug Fixes: Teleportation Cooldown
Fixed an issue where players could bypass the cooldown for teleportation by disconnecting and reconnecting. Now, cooldowns are enforced properly.
Additional Improvements: Updated Descriptions
Improved world text file descriptions to better explain the new material loaders, making it easier to understand and use all the features.
I hope you enjoy the new features and improvements!
Feel free to reach out with any feedback or issues