Skip to content

Food Spoilage v2.0

Compare
Choose a tag to compare
@dmccoystephenson dmccoystephenson released this 15 Jul 01:51
· 66 commits to master since this release
b3a5074

Changes in Food Spoilage v2.0

  • Undead_Zeratul overhauled some parts of the plugin, cleaning up the code.
  • Undead_Zeratul fixed spoiled food always resulting in one food, rather than the number of items that spoiled.
  • Integrated bStats into the plugin in order to collect usage data.
  • Created an EventRegistry class to handle the creation of the EventHandler classes.
  • Caibinus fixed players being able to remove timestamps from Wheat by crafting Haybales and then crafting Wheat from the Haybales.
  • Caibinus fixed players being able to remove timestamps from Melons by crafting Melon Blocks and then crafting Melons from the Melon Blocks.
  • Removed the Creation Date from timestamped items.
  • Added the /fs timeleft command.
  • Updated the plugin.yml and /fs command with no arguments to include other authors.
  • Renamed the StorageManager class to ConfigManager.
  • Overhauled the ConfigManager class to be a lot more like Medieval Factions
  • Callum fixed the version not getting updated in Config.yml upon a version mismatch.
  • Callum implemented a caching system for looking up food spoilage times.
  • Incremented the version to v2.0 because for some reason the timestamps of existing food don't match the new system and there is a high chance of spoilage before reaching the expiration date for food items.