This update introduces an exciting new game mode - Treasure Hunt - along with several improvements and fixes to enhance your PvP experience!
Treasure Hunt Game Mode - A brand new competitive mode where players:
Search for diamonds hidden in barrels across a floating glass arena
Compete to collect the most treasures (2 diamonds = 1 treasure)
Watch the scoreboard to track progress
Platform collapses shortly after the game begins
Last player standing with the required treasures wins!
New Command:
/pvprandom treasurehunt
kit: Choose from all available kits (random, crystal, classic, etc.)
size: Arena size (50-500 blocks)
treasures: Number of treasure barrels to spawn (10-500)
goal: Treasures needed to win (1-100)
players: List of participating players
Scoreboard System:
New treasure tracking scoreboard that updates in real-time
Shows each player's collected treasure count
Automatically displays when treasure hunt starts
Game Mechanics:
Improved glass platform generation for treasure hunt
Better barrel placement algorithm with random diamond amounts (1-8 per barrel)
Automatic teleportation to spawn when game ends
Winner announcement with special effects
Fixed potential memory leaks with game timers
Improved scoreboard objective handling
Fixed edge cases in diamond counting logic
Resolved issue with platform destruction timing
Added new treasure hunt game state tracking system
Implemented UUID-based player tracking
Optimized barrel spawning algorithm
Improved world border handling for all game modes

🔥 Transform your Minecraft battles into chaotic, unpredictable, and thrilling showdowns with PvPRandom!