ConquestDuels v2.1.0 — Regeneration & Snapshot Revolution
Smart Arena System Upgrade
Enjoy a fully reworked
snapshot caching,
chunk-based regeneration, and
save protection system — built for performance, safety, and ease of use.
- Snapshots cached on startup (not overwritten!)
- ♻️ Async regeneration using chunk diffs
- Save commands now guarded against spam
- ⏳ Enable/load locks and real-time feedback
- 1.20 & 1.21 cross-version compatibility built-in
Snapshot System (New Memory Layer)
• Snapshots are loaded from disk
once at startup
• Snapshot comparisons detect live → modified chunks
• Used only to
validate post-duel changes and trigger regeneration
• Never overwritten mid-duel =
truth state preserved
✅ No more accidental mid-match regen overwrites
♻️ Regeneration Manager 2.0
•
Diff-based chunk detection: only modified chunks are restored
•
Multi-stage async block placement:
→ Solids → Gravity → Dependents → Liquids
•
Batch queueing and tick-safe updates
• TPS-safe even on large arenas
Only changed areas are updated. No more mass block loops!
️ Command Locking + Cooldowns
• `/duel admin arena enable` → Prevents re-enabling while snapshot is loading
• `/duel admin arena save` → Won’t double-save while in progress
• `/duel admin arena regenerate` → Now checks:
- Region defined?
- Regen enabled?
- Not already regenerating?
• All commands respond with
clear messages
Save System Upgrade
• Marked as saving → locks command
• Skips saving if no changes
• Automatically saves regen snapshot (if regen is enabled)
• New result codes:
→ `SAVE_SUCCESS`, `SAVE_ALREADY_SAVED`, `SAVE_FAILED`, `SAVE_ALREADY_IN_PROGRESS`
Built for auto-sync, disk stability, and safe reloads.
Snapshot Verification (Startup Safety)
•
Each arena’s disk snapshot is compared to live state
• Mismatch? The plugin queues auto-regeneration
• Avoids corrupted arenas after world edits or crashes
• Full logs like:
⚠ Missing chunk data for (30, 104) in disk snapshot
1.21 Runtime Compatibility (Back to 1.20.1)
• `Attribute.ATTACK_DAMAGE` no longer crashes on older servers
• Setup wand uses reflection fallback
• Enchant glint + hidden attack bar still work
✨ Safe to build in 1.21 and deploy on 1.20.1
New Admin Command Features
• `
/duel admin arena regenerate <name>` → now validated before running
• `
/duel admin arena save` → only triggers when needed
• `
/duel admin arena enable/disable` → safe load/unload snapshot cache
• `
/duel admin arena enableregen` → guides user if region is too large
Message Models Expanded
• `
REGENERATE_DISABLED` → When regen isn’t enabled
• `
REGENERATE_ALREADY_RUNNING` → If regen is queued
• `
SAVE_ALREADY_IN_PROGRESS` → Save guard
• `
TOGGLE_ALREADY_LOADING` → Snapshot still loading
All messages use rich placeholder formatting: `[arena]`, `[size]`, `[max]`
✅ Server-Proof System
• Auto-detects arena damage
• Verifies live state against snapshot
• Handles plugin reloads or partial saves
• Optimized for real-world servers and testing environments
Feedback Welcome!
Spotted a bug? Have an idea? Post in
Discussion or PM me directly. I read and respond to every report!
❤️ Thank you for supporting ConquestDuels!
If this update helped your server,
leave a review — it means a lot!