New Feature: Improved Chance Distribution
Automatic Chance Distribution for Items
- Item chance distribution is now automatically calculated to ensure a total of 100%.
- If an item does not have a specified chance, the plugin will distribute chances equally, e.g.:
- Single item: item 0 - 100%
- Two items: item 0 - 50%, item 1 - 50%, etc.
Manual Chance Specification
- If an item has a defined chance, that value will remain fixed. Any manual changes to item chances must be set in the configuration file.
- To prevent errors, please verify that the total of all item chances does not exceed 100% — the plugin will return an error in chat if this limit is exceeded.
Minor Fixes and Improvements
Code Cleanup
- Removed additional unused classes to further enhance performance.
Known Issues
Item List Display Issue on Removal
- When items are removed, the chat list does not update immediately, though chances are recalculated correctly when new items are added.
Special Thanks
- Thanks to SquareShox for his big brain and contributions to this update!