Changelog:
- Added RandomEffect, which gives a user a random positive potion effect on respawn or teleport.
- Implemented a class loading system with reflections to dynamically load all listeners.
- Adjusted rarity values in the config.yml
- Added a positiveEffects list to ListBox for RandomEffect event
- Adjusted the behavior of the BlockDrops event.
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.
Added the Cooldown Timer for when a user uses a Rabbit's Foot. This restricts a user from using rabbit's feet consecutively by forcing a 30 second cooldown between uses.
Changelog:
- Reorganized the listener registration method to register the listeners in alphabetical order
- Added the IllOmen effect, which will apply a -25% debuff to a user's luck stat when they have the Bad Omen status effect.
- Added the ability for Guardian lasers to inflict negative damage to a users luck stat.
- Added a cache to the Luck class to store user values in the event that they have the Ill Omen debuff applied.
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
Changelog:
- Renamed LuckContainer#baseValue() to getValue()
- Changed the way files save by using the Map#values() call instead of iterating the kvp's.
- Made the actual percentage rng value round to the closest whole number before being checked.
- Changed Luck#defaultValue() to getDefaultValue().
**Changelog**:
- Fixed a bug where the PlayerListener was not being initialized
- Included the registration for the listener inside the constructor
- Dropped static import in favor of class parent access
- Added to the Luck method "setValue(double)" to automatically update the configuration file when called.
- Adjusted Luck to utilize all 1024 units when calculating the boolean for rng percentage.