⭐ ConquestDuels v2.2.1 — Total Regeneration Overhaul! The arena engine is smarter, faster, and leaner than ever.
✔ Asynchronous Block Snapshotting (w/ Adaptive TPS Scaling) We’ve completely rewritten how ConquestDuels snapshots and saves arenas. It now:
Runs in micro-batches every tick
Detects live server TPS with Spark and adjusts batch size dynamically
Captures 3M+ blocks in under 3 seconds on most machines
Avoids TPS drops by adjusting load per tick
Uses Bukkit-safe async reads with perfect block data accuracy
Snapshot Caching + Smart Arena Comparison New arenas are now snapshot-cached on disk + memory, and we:
Compare chunks on each save
Only write changed chunks back to file (async batched)
Prevent redundant saves or regeneration unless required
Lock snapshot saves per arena (no more overlaps or race conditions!)
⚔ Smarter Duel Flow Snapshots now happen only if needed. Here's the new flow:
On duel start: we only snapshot if the cache doesn't already exist
On duel end: we compare current state to the original and regenerate if needed
No more regeneration crashes or delays from invalid snapshots
️ Protection + Save Locks
Admins are blocked from saving if regeneration is currently running
All save + regen processes now clean up locks safely on plugin disable
Saves and regenerations are mutex-safe and log their completion
Disk I/O Optimization
Only changed chunks are saved
Snapshot files are smaller and faster to load
Heavy file writes now run in batched tasks
Developer Utilities
Verbose logs during batch saves, chunk diffs, and snapshot finishes
Save success messages are now shown only once the batch is fully done
Arena saving shows “in-progress” if a save or regen is active
This update is the foundation for larger arena scaling, dynamic resetting, and live editing in future releases. Your arenas will never be the same. Built with ❤️ by ZoneZone & ZanderCraft