ConquestDuels Premium icon

ConquestDuels Premium -----

The Best Duel Plugin



ConquestDuels v5.2.0 Player Drop Bug Fix
ConquestDuels v5.2.0 — bulletproof cleanup, zero ghost flags, smoother returns
TL;DR Highlights
  • New Hard Takeoff Cleanup: we now always remove duel metadata (no-drops, winner-grace, pending-return, safe-teleports) after the return delay—covers death during return, mid-sequence reloads, or odd event orders.
  • Safer double-teleport return path with watchdog cleanup scheduled from multiple callsites and inside the teleporter itself.
  • Pre-start guard tightened: no drops/pickups or container opens before arena TP; guard is disarmed only after the actual teleport lands.
  • Freeze phase still allows eating/drinking + full bottom-inventory moves; blocks world actions and block item drops.
  • WorldGuard PvP override logic refined to respect team rules, splash permissions, and region denial without breaking knockback feel.
  • Winner payout now waits for economy unlock reliably; losers and spectators restored cleanly even across quits/rejoins.
What’s New
  • Hard Takeoff Cleanup (HTC)
    • A universal scheduler now clears: DUEL_NO_DROPS, DUEL_WINNER_GRACE, DUEL_PENDING_TELEPORT_BACK, DUEL_SAFE_TELEPORTS_REMAINING after the configured return delay—always.
    • Called from all return paths (winners, losers on respawn, spectators on respawn/rejoin) and from the shared teleporter for belt-and-suspenders coverage.
    • Prevents rare “no item drops after duel” reports caused by stale flags when a player dies during or just after return.
  • Pre-Start Guard 2.0
    • Participants are guarded at confirmation: no drops/pickups, containers blocked, inventory clicks suppressed if they would interact with non-player inventories.
    • The guard lifts only when the duel TP completes (not on request). Prevents lobby dupes and weird state if TP is cancelled.
  • Freeze UX stays nice
    • Players can eat/drink and freely rearrange bottom inventory, number-key swap, and offhand swap.
    • World interactions blocked, block-item drops denied.
  • WG & Combat polish
    • Respect region PvP = DENY unless duel override applies; teammate damage still blocked.
    • Arrow/Punch and melee/Knockback emulate vanilla feel even under forced-allow rules.
    • Splash/lingering effects follow team rules + WG splash flags.
  • Recovery & Shutdown
    • Hard-shutdown recovery restores players/spectators, teleports them back, and refunds unresolved wagers.
    • Regular reload recovery similarly unwinds active sessions safely.
Fixes
  • Fixed cases where players could retain DUEL_NO_DROPS or DUEL_WINNER_GRACE if they died mid return.
  • Eliminated edge cases where inventory open/click events slipped through during pre-start.
  • Reduced rare stuck-in-guard after cancelled teleports and server lag spikes.
  • Ensured spectators that die or rejoin are fully restored and de-guarded.
API & Internals
  • Code (Text):
    DuelManager.forceAllowPickup(Player)
    centralizes unguarding (pickup + metadata clears).
  • Code (Text):
    sendDoubleTeleport(Player, Location, Runnable)
    now schedules cleanup internally, in addition to caller-side scheduling.
  • Code (Text):
    DuelPreStartGuardListener.markPreStartTeleport(Player)
    should be invoked after the same delay as teleport scheduling to properly tie guard → TP.
  • Metadata keys used: DUEL_NO_DROPS, DUEL_WINNER_GRACE, DUEL_PENDING_TELEPORT_BACK, DUEL_SAFE_TELEPORTS_REMAINING.
Config Notes
  • Code (Text):
    duel.freeze-ticks
    (default 60, min 40) – freeze duration; cleanup automatically scheduled around this.
  • Code (Text):
    announce-duel-start
    /
    Code (Text):
    announce-duel-end
    – global broadcasts.
  • Teleport delays read from your Teleportation settings (duel start delay and return delay). Cleanup respects your return delay automatically.
Permissions & Commands
  • No changes to permissions/commands in 5.2.0.
  • All administrative and player commands from 5.1.x continue to work unchanged.
Upgrade Path
  1. Replace the jar.
  2. No config migration required. Existing settings are honored.
  3. If you customized any duel metadata handling in other plugins, remove redundant clears—they’re now automatic.
Compatibility
  • Paper/Spigot 1.21.x (latest builds recommended).
  • WorldGuard optional but supported for region-aware PvP/splash enforcement.
  • Vault optional; used for wagers and automated payouts.
Known Issues
  • If a third-party plugin force-sets “no pickup” on players right after our return, it can race our cleanup. Use our API call
    Code (Text):
    DuelManager.forceAllowPickup(player)
    in your integrations or let our HTC handle it.
Developer Tips
  • When calling your own teleports back to lobby/spawn, you can still use
    Code (Text):
    sendDoubleTeleport(...)
    to inherit the safety flags and cleanup routines.
  • If you hook into duel lifecycle events, avoid manual metadata toggles—prefer our API helpers to prevent drift.
Changelog
  • 5.2.0
    • Added universal Hard Takeoff Cleanup after return delay (+ watchdog inside teleporter).
    • Strengthened pre-start guard lifecycle and container interaction rules.
    • Extra spectator handling on death/respawn/rejoin with guaranteed de-guarding.
    • Minor WG PvP/splash edge-case fixes and knockback consistency polish.
Thanks
  • Big thanks to servers stress-testing 5.1.x and reporting the rare “no drop after duel” edge case—this release closes it for good.
----------, Nov 4, 2025
Resource Information
Author:
----------
Total Downloads: 10
First Release: May 12, 2025
Last Update: Nov 9, 2025
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings