Added Top5damage.yml and Fixes and Improvements Bug Fixes:
Bug Fix: Resolved issues with Top 3 rewards not working properly for certain mobs.
Bug Fix: Reload command not reloading top3damage.yml and some other configs
Performance Enhancements: Optimized reward processing for large-scale fights to ensure smooth gameplay.
Debugging: Enhanced debug logs for easier troubleshooting.
New Features: 1. Top 5 Damage Rewards System
Mobs now support Top 5 Damage Rewards! Players who deal the most damage to specific mobs will be rewarded based on their ranking:
1st Place: Special rewards for the top damage dealer.
2nd to 5th Place: Additional rewards based on their rank.
Contributors: Players who meet a minimum damage threshold will also receive a reward.
2. Improved Announcements
Upon defeating a mob configured for Top 5 rewards:
A damage ranking list is announced, showcasing the top players and their damage contribution.
Customizable messages for each rank and overall participation.
3. Configurable Rewards
Rewards for Top 5 players are now fully customizable in top5damage.yml:
Define unique rewards for each rank.
Add group-specific rewards for players (e.g., LuckPerms groups like default, VIP, or admin).
Configure minimum damage thresholds for additional contributors.
Updated Configurations New File: top5damage.yml This new configuration file allows you to define mobs eligible for Top 5 rewards. Here’s a quick example:
Code (YAML):
SkeletonKing:
first-place:
default:
drop1:
chance: 1.0
command: "give %player% diamond 5" message: "&aCongratulations, you are the top damager!" admin:
drop1:
chance: 1.0
command: "give %player% netherite_ingot 2" message: "&6As an admin, you get extra rewards!" everyone-else-who-contributed:
min-damage: 50.0
default:
drop1:
chance: 0.5
command: "give %player% emerald 2" message: "&aThanks for contributing!"