ConquestDuels Beta icon

ConquestDuels Beta -----

Literally The Best Duel Plugin (Soon)



Duel & Setup Mode Overhaul ⚔️️
✅ Update: vX.X.X — Arena Setup Protection, Duel Lifecycle Fixes, and Teleport Improvements

Arena Setup Mode Now Blocks Duel Requests
Players in setup mode can no longer be bothered by duel requests. We've added full protections:
  • ✅ When entering setup mode:
    - All existing duel requests to/from the player are cleared
    - Duel requests cannot be sent to OR from them while editing
  • Automatically unblocked when exiting setup mode
  • Fully integrated with GUI, tab completion, and interaction-based requests
Duel Lifecycle Now Fully Guarded
Every state of the duel lifecycle is now smartly enforced:
  • ❌ Players already in a duel can't send/receive requests
  • ❌ Target already in a duel? Request blocked
  • ✅ Reverse request? Duel starts automatically
  • ❌ Players in setup mode can't send/receive requests
  • ⏳ Expiry system clears old requests every 5s (configurable)
Setup Wand Is Now Indestructible
Admins can't accidentally lose their setup wand — no matter what they try.
  • Drops blocked
  • Wand removed from death drops + re-given on respawn
  • Protected from `/clear`, hotbar moves, creative trash, container moves
  • InventoryCloseEvent monitors for deletion and re-issues the wand silently
Teleportation: Async, Cancel-Aware, and Safe
Teleport handling is smarter than ever:
  • Async chunk loading before any teleport happens
  • ⏳ Delays respected for admin, duel, or return types
  • Cancel on:
    - Movement
    - Interaction
    - Damage (skips if hit was fatal)
  • Teleport sessions clean up safely
  • ✅ Sends appropriate cancellation reason to the player
  • Unloads chunks if canceled (non-duel types only)
Config Additions
Code (YAML):

teleportation
:
  cancel-on-move
: true
  cancel-on-interact
: true
  cancel-on-damage
: true
 
New Messages (messageModels.yml)
Code (YAML):

DUEL_CHALLENGE_DISABLED_IN_SETUP
: "<red>You can’t send duel requests while editing an arena!"
DUEL_CHALLENGE_TARGET_IN_SETUP
: "<yellow>{target} <red>is currently editing an arena and cannot accept duel requests."
 
Example Setup Commands
Code (Text):

/duel admin arena setup <arena>        → enters edit mode
/duel admin arena setup                → exits edit mode
/duel admin arena setup wand <arena>  → gives the setup wand
 
✅ Summary
✔ Full lifecycle protection for duels
✔ Setup mode now properly blocks duel flow
✔ Wands are protected, replaced, and never dropped
✔ Teleports are async, cancelable, and chunk-safe
✔ All features hot-reload compatible
Tested on: Paper 1.20.4
Report issues or ideas: DM me or post in the discussion thread!
— ZanderCraft ⚔️
----------, Apr 20, 2025
Resource Information
Author:
----------
Total Downloads: 81
First Release: Apr 18, 2025
Last Update: Today at 1:32 AM
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings