ConquestDuels icon

ConquestDuels -----

Literally The Best FREE Duel Plugin



ConquestDuels v5.0.1 Attempt Delayed Wager Reward Fix
ConquestDuels v5.0.1
Released: 2025-10-23 (America/Chicago)
---------------------------------------------
Fixed
  • Prevented misleading “earned $X” message when Vault deposit fails; now message only shows on true success.
  • Resolved payouts being rejected while players are still duel-locked, leading to $0 balance despite success text.
Changed
  • Payouts are now attempted **after** the duel economy lock lifts, with a small retry loop (every 10 ticks, up to ~30s) for consistent behavior across servers.
  • Reward calculation now guarded with `Math.max(1, winningTeam.size())` to prevent divide-by-zero in rare cases.
Added
  • `tryDeposit(...)` helper that checks `EconomyResponse#transactionSuccess()` before confirming success.
  • `payWinnersAfterUnlock(...)` helper and scheduled task to pay winners only when the economy is unlocked; includes success/failure feedback per player.
  • Optional lightweight `Logger.fine(...)` message when a positive deposit is blocked during a duel (visible when log level is raised) for easier diagnostics.
Notes
  • Existing Essentials/Vault protections remain; payouts are deferred until after unlock, preventing unwanted reverts.
  • Offline or eliminated players are skipped according to current logic; adjust if you want alternative payout behavior.
----------, Oct 23, 2025
Resource Information
Author:
----------
Total Downloads: 1,718
First Release: Apr 18, 2025
Last Update: Oct 23, 2025
Category: ---------------
All-Time Rating:
8 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings