Changelog:
- Fixed an issue where the integrity checker for the main config would delete the entire data folder if the config was corrupted.
- Fixed an issue where the Rarity check was not working as intended; it would either return false if any Rarity other than NONE was set, and throw a new IllegalArgumentException if the switch clause exited with no return value.
- Fixed an issue where the command /luck reload -m did absolutely nothing.
- Fixed an issue where the proper command arguments were not being Tab Completed.
Changelog:
- Added a configuration with editable rarity values and rarity types for the different events that can occur, to give the end user more control over how often players receive the effects.
- Modified listeners to use the respective Configuration values.
- Added the ability to reload a specific player configuration with /luck reload -p <player_name>
- Added the ability to reload the main configuration using /luck reload -m
- Added an integrity checker to validate the main configuration on boot.
Changelog:
- Changed the way classes interact with the PlayerHandler by using a getter instead of the actual field.
- Added #isTool(Material) to ItemBuilder to check if an item is, in fact, a type of tool.
- Created the UnbreakableTool listener which will grant the unbreakable status to a tool if a user is lucky enough.
NOTE: This is a beta feature, and while it may remain included the way it works will most likely change.
Changelog:
- Added the ability to fully mature crops when using bone meal
- Added the ability to cheat death (Grants 1 half heart and between 2.5 and 5 points of absorption)
- Added #info, #warn, and #err to MiniComponent, and utilized these across the board.
- Switched the #color method to use org.bukkit.ChatColor instead of TextColor for accessibility.
- Moved loading configurations and listener registration to separate methods.
Changelog:
- Added ExpBoost feature
- Added Special Rabbit Foot, which increases a user's luck multiplier.
- Added ItemBuilder and MiniComponent library classes
- Removed Messages#builder in favor of MiniComponent