
RegenSystem
Efficiently regenerates defined zones using snapshots stored in a database. Say goodbye to laggy file-based regen systems. A new-generation plugin !
Список изменений
🚀 Major Improvements
⚡ Full Folia Support
- Added native Folia compatibility using region-safe and async-safe schedulers
- Implemented a platform-aware scheduler abstraction (Paper / Folia / Spigot)
- Fixed all threading violations (chunk access, block updates, region execution)
- Zone regeneration now runs safely inside region threads on Folia
🧠 Smart Platform Detection
-
Automatic runtime detection of:
- Folia
- Paper
- Spigot
-
The plugin adapts its behavior dynamically depending on the server platform
-
No configuration changes required — everything is automatic
🔧 Compatibility & Stability
✅ Spigot Support Restored
- Added safe fallbacks for missing Paper / Adventure APIs
- Automatic legacy text conversion when Adventure components are unavailable
- Teleport handling now adapts to platform capabilities
🧱 Regeneration System Improvements
-
Fixed async chunk access errors on Folia
-
Block regeneration is now:
- Region-safe
- Thread-safe
- Platform-safe
-
Players inside regenerating zones are now handled safely on all platforms
📊 Metrics & Monitoring
📈 bStats Enhancements
-
Added new custom chart:
zones_total— total number of registered regen zones
-
Improved internal metrics reliability on Folia servers
🔄 Internal Refactors
-
Introduced
RegenSchedulerabstraction layer -
Separated platform-specific logic:
PaperRegenSchedulerFoliaRegenScheduler
-
Cleaner architecture and easier future maintenance
-
Improved logging and debug safety
🐛 Fixes
-
Fixed server crashes caused by:
- Async chunk loading
- Unsafe player teleportation on Folia
-
Fixed compatibility issues with:
- Paper 1.21+
- Folia region threading
-
Improved update checker stability
🧭 Notes
- No breaking changes for existing configurations
- Existing zones, databases, and configs are fully compatible
- This version lays the groundwork for future performance optimizations
