Fixed Announcement Issues: Resolved a problem where announcements for specific mobs were not functioning as intended. Mob-specific announcements now work correctly as per the configuration.
Memory Leak Resolved: Addressed a memory leak related to processed mob events, ensuring better performance and stability.
Config.yml Drop Issues: Fixed an issue where some mobs configured in config.yml were not providing drops under certain conditions.
New Features Guaranteed Drop System
Description: Players can now receive a guaranteed number of rewards from the configured drop list for mobs, ranks, and contributors.
Configuration Option: guaranteed-rewards
Limits the number of rewards guaranteed from the drop list.
Fully customizable per mob, rank, and contributor category.
Example Usage:
Code (YAML):
yaml
SkeletonKing:
guaranteed-rewards: 1
# Limit rewards to 1 from the list drops:
default:
drop1:
command: "give %player% diamond 3" chance: 0.5
message: "&bYou got 3 diamonds!"
Improved Top 3 and Top 5 Reward Systems
Enhancements:
Improved reward distribution for Top 3 and Top 5 configurations.
Rewards adhere to the guaranteed-rewards setting for each rank and contributors.
Added support for customizable thresholds (min-damage) to qualify for rewards.
Integrated mob-specific announcements with placeholder support for dynamic messaging.
Example Configuration for Top 5:
Code (YAML):
rewardtop5:
SkeletonKing:
guaranteed-rewards: 1
first-place:
default:
drop1:
command: "give %player% diamond 5" chance: 1.0
message: "&aYou are the top damager! Enjoy your diamonds!" everyone-else-who-contributed:
min-damage: 50.0
default:
drop1:
command: "give %player% emerald 1" chance: 0.5
message: "&aThanks for contributing!"