Private Winner Announcements
- Added raffle.privateAnnouncement configuration option to toggle between public and private winner announcements
Concurrent Raffle Prevention
Performance Optimization
fix: reward system and message placeholders
- Fix raffleRewards configuration format to use proper YAML mapping - Add placeholder replacement for {player} and {winner} in messages - Improve reward selection and distribution logic - Add proper error handling for invalid configurations Details: - Change reward config structure from list to map format - Add proper placeholder replacement in EventListener broadcasts - Fix winner announcement message to show correct player name - Add error handling for invalid sound effects - Improve material type validation in reward distribution - Add null safety checks throughout message system - Enhance logging for configuration errors - Fix broadcast message formatting with MiniMessage Breaking Changes: - raffleRewards configuration structure changed from list (-) to map format
Removed the debug messages
What's New:
- Enhanced Message Formatting: Improved the formatting of welcome messages to ensure proper color codes are applied.
- Fixed Sound Issues: Corrected sound configuration to ensure the right sounds play when a player joins or wins the raffle.
- Debug Logs: Added debug logs for better tracking of the raffle process and message handling.
- Bug Fixes: Addressed issues where players were not being added to the raffle properly.
- Configuration Updates: Updated the default configuration for better clarity and functionality.
