0b07bd9da2
Adjusted the Luck class to reflect: - SplittableRandom has been replaced with SecureRandom in favor of entropy-based pseudorandom calculations compared to pseudorandom calculations based off the system time. - Adjusted the quickRNG to factor in whether the user has the luck potion effect, and to just apply the multiplier regardless of whether it is the default value. - Also adjusted the values, as the original value still remained at 1024, whereas the randomized number criteria was a percentage of 100. Both the input value and the randomized number criteria now are percentages of 100, based off a total of 1024 possible points. |
||
---|---|---|
.github/workflows | ||
gradle/wrapper | ||
src/main | ||
.gitattributes | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle |
FeelingLucky v1.2.0 - A luck driven mechanics plugin.
Plugin Description:
For All Users:
FeelingLucky is a mechanics plugin designed to expand upon the Luck attribute which Minecraft provides. Each user is assigned a tangible Luck stat, which can be viewed by using /luck info. Users can increase their luck stat by using a rabbit's foot, or increase their luck and their luck multiplier by consuming a special rabbits foot purchased from a Butcher villager. Beware though, if you take damage from guardian lasers or a witch's potion, there's a chance your luck will decrease instead.
For Administrators:
Admins can modify values in the configuration file, as well as modify individual user's luck stat. Admins can set, reset, add to, and take from player's luck stat. Admins can also reload the main configuration, as well as individual and all player configurations. For this, the command is /luck reload -m for the main config, /luck reload to reload all player configurations, and /luck reload -p PLAYER_NAME to reload individual player configuration files.
Server Requirements:
In order to run FeelingLucky v1.1.0, the latest version of Paper or Spigot is required.