FallRoll v1.6

Details

  • Filename
    FallRoll.jar
  • Uploaded by
  • Uploaded
    May 29, 2016
  • Size
    16.07 KB
  • Downloads
    849
  • MD5
    f56e284c365f77730cc6e108c1aa6c06

Supported Bukkit Versions

  • 1.9

Changelog

Version 1.6

  • Compiled with version 1.9.4 of Bukkit
  • Optimized the plugin a lot more than it was before
  • Removed creation of Random object each time a player takes damage
  • Fixed a lot of configuration options that required string values (Using == rather than .equals())
  • Fixed equation not properly being evaluated
  • Optimized a few if statements to remove dual boolean checking
  • Fixed "RollDamagePercentNegated" (> 100) safeguard not functioning upon startup
  • Changed the config null parameter "RollDamagePercentNegated". Rather than putting 'null', you must put a -1 to use custom equations
  • Changed the config null parameter "RollMessage". Rather than puttign 'null', you must leave it completely blank
  • Un-nestified a lot of the if-statement code
  • Used more efficient methods to load up the config
  • Removed a few naggy comments in the console about Metrics upon starting up
  • Optimized / cleaned the code for the command, and renamed the class for organization purposes
  • Added a few extra messages just in case parameters are not suitable to the command

Version 1.5

  • Fixed the auto-decrease on "RollDamagePercentNegated" not functioning on first run
  • Added a config option to customize the roll message (colours not yet supported)
  • You can disable the message by setting the value to 'null'
  • Added the development page to the version information sub-command

Version 1.4

  • Temporary fix for having a chance of dying when rolling if a custom equation is used
  • Fixed stability of equation result handling for players with more or less than 20 health points
  • Fixed having the ability to gain health if a successful roll is achieved and "RollDamagePercentNegated" is set higher than 100%. Will auto-decrease to 100%
  • Added a new basic config option, "RollPreventsDeath". If true, rolls that cause more than 20 damage will not kill the player. False, otherwise
  • Added a new command, "/fallroll" with the sub-commands "version" and "reload" (Permissions: fall.reload)
  • Changed the warning for metrics not enabling from medium to severe

Known bug: Still the potential of being killed when custom equations are used, but slightly diminished due to temporary fix

Version 1.3

  • Added an ability for advanced users to create their own mathmatical formula to negate fall damage
  • Created a new page on the BukkitDev post to assist players with this new function
  • Added a new configuration option under "Advanced" for the ability listed above (delete and let the plugin generate a new config please)
  • Added another config option for "NumberHandling". Determines how the final fall damage negation value should be handled (View the AdvancedFunctions (How-to-use) page for information)
  • If the NumberHandling value is invalid, it will default to the "default" value
  • Minor internal stability issues with variable handling

The advanced function page can be found at http://dev.bukkit.org/bukkit-plugins/fallroll/pages/advanced-functions-how-to-use/. Please read this if you plan on using the advanced functions in the config file

Version 1.2

  • Added a permission node for rolling. The node will be: fall.roll
  • This permission is default to everyone and everyone has the ability to roll unless specified otherwise

Version 1.1

  • Fall damage negation is no longer negated completely. It will be represented by the following formula:
  • f - ((f / 100) * 40). f representing fall damage
  • If the fall damage is fatal, a successful roll will leave you with half a heart
  • Added a configuration option to change the amount of fall damage negated from a fall (RollDamagePercentNegated). Default 40

Version 1.0

  • Initial release. View main page :)