AnimalsDropMeat v1.2

Details

  • Filename
    AnimalsDropMeat.jar
  • Uploaded by
  • Uploaded
    Nov 23, 2013
  • Size
    82.73 KB
  • Downloads
    2,053
  • MD5
    4c48d85b3cc6b75d830a398bf70851c8

Supported Bukkit Versions

  • CB 1.6.4-R2.0
  • CB 1.6.4-R1.0
  • CB 1.6.2-R1.0

Changelog

v1.2 - [variable drop-rates]

  • Added ability to configure drop-rates, including rate likeliness of quantities.
    - Likeliness is relative to one another, it's not percentage.
    ...Percentage drop-rate of Quantity q equals likeliness_of_q / sum_of_likeliness_for_all_q.
    ...All zero rate = wont drop anything.
    ...Example: {qty:0, rate:2} + {qty:1, rate:3} + {qty:2, rate:1} would give:
    * zero drops 2 out of 5 times
    * one drops 3 out of 5 times
    * two drops 1 out of 5 times
    (because 2 + 3 + 1 = 5)
  • Added command to reload the config, "/animalsdm reload", and animalsdropmeat.reload permission to match.
  • Adjusted the drop-rates for babies to half of the drop quantity for adults rounded down.
    - E.g. adult qty1 -> baby qty0, adult qty2 -> baby qty1, adult qty3 -> baby qty1, etc.
  • Now using v1.2.1 of PluginUpdater.

v1.1 - [future proofing]

  • Replaced deprecated (magic value) Itemstack constructor with its enum-based counterpart.
    - Technical detail only - behaviour identical to v1.0
  • Added mcStats-lite to track usage.
  • Added PluginUpdater for auto-update support. (Preparation in case update needed for 1.7.2)
    - Added "/animalsdm check" and "/animalsdm download" to check for / download updates.
    - Requires new animalsdropmeat.update permission. (default: op)
    - "check" and "download" can be tab-completed - no need to spell out the whole word.
    - Secure implementation: wont reveal the existence of commands a player doesn't have permission to use.

v1.0 - [initial release]

  • Makes Wolfs and Horses drop 1 Raw Beef on death.
  • Makes Squids drop 1 Raw Fish on death.
  • Makes Ocelots and Sheep drop 1 Raw Pork on death.

None