https://github.com/Abasing/zVotePartyx/releases
This update improves reward handling, stability, and debugging. It also adds new features for vote parties and updates support to Spigot 1.21.4.
Changes
- Filtered out null or empty commands and messages before running.
- Added warnings when:
- Command list is empty
- Message list is empty
- Percent value is missing or invalid
- Added null checks for Player, OfflinePlayer, Reward, and plugin.
- Wrapped reward and vote execution in try-catch to prevent crashes.
- Prevented ArrayIndexOutOfBoundsException from invalid configs.
- rewardGiven is set only after successful execution.
- Added warnings for failed reward execution.
- Cached OfflinePlayer.isOnline() checks to reduce calls.
- Safe async handling for vote processing and storage.
- Fixed random reward selection to avoid infinite loops.
- Improved logs for warnings, errors, and load events.
- Consistent handling of online/offline players and Redis storage.
New Features
- Configurable vote party sound.
- partySound section added to config.yml
- Volume and pitch are configurable, defaulting to 1 1
Spigot Update
- Updated from 1.21.1 to 1.21.4 for official support.
Summary
- Strong safety checks with clear warnings.
- More stable and reliable reward execution.
- Better performance and logging.
- New vote party sound system.
- Full support for Spigot 1.21.4.