ConquestDuels v5.1.0 — smarter arenas, smoother starts, sturdier failsafes
TL;DR Highlights
- Duelers who leave the arena are eliminated; spectators outside bounds are returned.
- Freeze phase now lets players eat, drink, and reorganize inventory (including smooth shift-click).
- Countdown & start flow hardened: announcements trigger at the right time and only if the duel is still active.
- New InsuranceManager: every 5s, safely restores any dueler found outside arena regions.
- Intruder logic cleanly distinguishes duelers vs spectators vs outsiders.
- Safer teleports, cleaner winner/loser handling, wager payout after economy unlock, and robust stat saving.
What’s New
- Freeze Phase UX
- Players can eat food, drink potions, and freely manage their inventory during the freeze.
- Shift-click, hotbar swaps, and drag moves in the player’s inventory are explicitly allowed and feel native.
- Container interactions, entity interaction, item dropping, block place/break, damage, mounts, vehicles, and gliding are still blocked.
- Countdown & Start Messaging
- Countdown ticks only announce when the duel is still active; start message fires precisely once per player at freeze end.
- Rewired game-end announce to mirror the previous release formatting while fixing double/late fires.
- New Safety Net
- InsuranceManager runs every 5 seconds: scans active duels and safely completes/returns any participant who somehow ends up outside all arena regions.
- Lightweight iteration over active sessions and online members to avoid unnecessary RAM churn.
- Result Handling & Economy
- Winners/losers set once; duplicate handling prevented.
- Wager payouts occur only after duel locks clear, with retries and clear logging on failure.
- Win/loss recorded for all participants; async save to keep tick time smooth.
- Teleport & Metadata Guardrails
- Two-step “double teleport” with safe-teleport tokens to avoid interference from other listeners.
- Clear winner-grace and no-drops flags at the right moments to prevent edge-case grief or dupes.
Updated Permissions & Interaction
- Interacting a player to open the Duel Challenge Menu respects blocks and cooldowns while remaining responsive.
- NPCs (Citizens) are ignored for challenge interactions.
Config & Flags
- To enable intruder ejection for a region, set:
Code (Text):
/rg flag <region> duel-kick-outsiders allow
- Optional: force PvP inside duel regions:
Code (Text):
/rg flag <region> duel-force-pvp allow
- Optional: let the plugin fully handle deaths inside duel regions:
Code (Text):
/rg flag <region> duel-force-handle-death allow
Compatibility Notes
- PaperMC 1.21.x compatible.
- WorldGuard required for custom flags and intruder control.
- Vault recommended for wagers/economy rewards.
Upgrade Guide
- Replace your ConquestDuels jar with v5.1.0.
- Restart the server once to register flags. If you use a region file loader or flag registry plugin, load it early.
- Set
Code (Text):
duel-kick-outsiders
per arena region where you want automatic ejection of outsiders.
- Verify your duel spawn in config for where outsiders should be sent.
Changelog (v5.1.0)
Code (Text):
+ WG flag: duel-kick-outsiders (intruder ejection only when allowed)
+ Stricter participant vs spectator vs outsider checks
+ Freeze phase: allow food/potions/inventory moves (smooth shift-click)
+ Countdown: second-accurate, duel-active-checked announcements
+ InsuranceManager periodic sanity pass (every 5s)
+ Safer teleport & metadata cleanup; winner grace handling
+ Economy payouts after unlock with retries; async stat saves
* Rewired game-end announce to previous style with correct timing
* Numerous edge-case fixes around respawn, forfeit, and reconnect
Known Good Defaults
- Use rectangular WG regions matching your arena cuboids.
- Keep duel-kick-outsiders set per arena you want locked down to duel participants.
- Leave freeze length ≥ 2s for consistent countdown visuals.
Support
If you hit a corner case, share your WG region flags, duel config, and a short reproduction path. We’ll tune fast.