ConquestDuels Beta icon

ConquestDuels Beta -----

Literally The Best Duel Plugin (Soon)



GUI
Update Log – vX.X.X
✅ Confirm & Challenge GUI Rewrite — Now with timeout support, paging stability, and smoother UX!
New Features
  • ✅ Confirm Menu Timeout System
    Menus now auto-close after `confirm-menu-timeout-seconds`, configurable in `config.yml`.
  • ✅ Challenge Menu Timeout System
    Fully respects `challenge-menu-timeout-seconds`, with smart handling during player joins/quits.
  • ✅ Page-Aware GUI Refreshing
    Reopening or canceling from Confirm menu brings players back to the correct Challenge GUI page.
️ Fixes
  • Fixed Confirm GUI closing too early by separating timeout logic from Challenge GUI.
  • Fixed broken click handling when page 2+ existed (45+ online players).
  • Fixed navigation arrows becoming unresponsive when more than one page was available.
  • Confirm GUIs now clean up safely even when players disconnect.
⚙️ Configuration Changes
Code (YAML):

gui-settings
:
  challenge-menu-timeout-seconds
: 5     # ⏱ closes inactive player GUIs automatically
  confirm-menu-timeout-seconds
: 60       # ⏱ gives time to confirm/cancel properly
 
Developer-Level Enhancements
  • Added `ConfirmMenuManager.openMenuTimestamps` for per-player timeout tracking.
  • Respect `DuelChallengeMenuManager.staleViewers` for join/quit-safe refreshes.
  • Callbacks auto-clear on confirm/cancel through `GUICallBackRegistryManager`.
  • Both menus use `expireStaleEntries()` scheduled async via `ConfigurationManager`.
  • Smart context keys: `challenge:{target}|{page}` to track last open page.
GUI timeout now works exactly as configured. Less memory used, less clutter. Clean and optimized.
[hr]
Need help customizing? Drop a message in the Discussion tab or ping on Discord!
----------, Apr 19, 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