Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
Platforms
Links
Creators
Details
Licensed MIT
Published 4 months ago
Updated 3 weeks ago
Changelog
PlayerAuctions Changelog - v2.5.1 (Critical Bug Fix)
š Summary
- Fixes severe race condition allowing multiple simultaneous purchases of the same auction item, leading to duplicates, multiple payments, and economy exploits.
- Impact: Ensures atomic transactions, preventing economic damage and maintaining server fairness.
š“ Bug Details
-
Problem: Auction remained ACTIVE during money/item transfers, enabling concurrent buys.
- Old Flow: Check ā Transfers ā Mark FINISHED (vulnerable window).
-
Root Cause: Non-atomic operations in multi-threaded environment.
-
Solution: Atomic reservation with optimistic locking.
- New Flow: Check ā Reserve (mark FINISHED) ā If fails, abort ā Transfers with rollbacks ā Log/notify.
- Improvements: Rollbacks on errors; main-thread inventory; enhanced logging/feedback.
š Security
- Prevents item duplication, economy drains, and unfair advantages.



