Food Spoilage icon

Food Spoilage -----

Makes food go bad.




What's Changed
Full Changelog: 3.0.0...3.0.1
----------, Nov 6, 2022

Note
When upgrading from a pre-3.0.0 version of the plugin, the config.yml will need to be deleted in order to get this version to work.

What's Changed
New Contributors
Full Changelog: 2.1.1...3.0.0
----------, Jul 3, 2022

What's Changed
Full Changelog: 2.1...2.1.1
----------, May 8, 2022

What's Changed
Full Changelog: v2.0...2.1
----------, May 7, 2022

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.
----------, Jul 15, 2021

Changes in Food Spoilage v1.9
  • This plugin now uses a config.yml instead of .txt files for configuration.
  • Config.yml now gets created if there isn't one.
  • If save files from pre v1.9 are discovered, they will be loaded in and then saved in the new format. This means values you've changed before should transfer over.
  • If there is a version mismatch, the config.yml will be saved as config.yml.old and a new config.yml with default values will be created.
----------, Jul 30, 2020

Changes in Food Spoilage v1.8.1
  • added a check to make sure that lore exists before I try to read it in the timestamp subsystem, hopefully this fixes the null error people were experiencing
  • cooked food items that get dropped by animals that are burnt to death now get timestamped.
----------, Jul 20, 2020

Changes in Food Spoilage v1.8
  • food items cooked on campfires now get timestamps assigned to them
  • cleaned up some event handlers
----------, Jul 20, 2020

Changes in Food Spoilage v1.7.4
  • removed 2 debug console prints
  • added custom text for spoiled food name
  • added custom text for spoiled food lore.
----------, Jul 20, 2020

Changes in Food Spoilage v1.7.3
  • Altered the method I use to check if an item is time stamped so that it wouldn't depend on the lore of the item being the color white.
----------, Jul 20, 2020

Changes in Food Spoilage v1.7.2
  • Fixed dropped items getting new timestamps. It turned out to be an issue with the Timestamp Subsystem due to the update that allowed custom text to be set. It should all be working now.
----------, Jul 20, 2020

Changes in Food Spoilage v1.7.1
  • Attempted to fix a bug where timestamps were getting reassigned to food items when players dropped them. After further testing it was revealed this didn't work. Still trying to fix this one
----------, Jul 19, 2020

Changes in Food Spoilage v1.7
  • added a system for saving/loading custom text
  • you can now change the no permission text
  • you can now change the reload text
  • you can now change the 'expiry date' text
  • you can now change the 'created' text.
----------, Jul 19, 2020

Changes in Food Spoilage v1.6
  • added the ability to toggle food spoilage for food items. If the food spoilage value of a food item in food-spoilage-times.txt is changed to 0, it will not be timestamped and it will not spoil.
----------, Jul 19, 2020

Changes in Food Spoilage v1.5
  • Egg items now get timestamped
  • Cake items now get timestamped
  • Pumpkin Pie items now get timestamped
  • Sugar items now get timestamped
  • Sugar Cane items now get timestamped
  • Apple items now get timestamped
  • Baked Potato items now get timestamped
  • Cookie items now get timestamped
  • Poisonous Potato items now get timestamped
  • Chorus Fruit items now get timestamped
  • Dried Kelp items now get timestamped
----------, Jul 17, 2020

Changes in Food Spoilage v1.3.2
  • Fixed an out of bounds exception when typing /fs with no arguments.
  • /fs now displays the version, author and link of the plugin.
----------, Jul 17, 2020

Changes in Food Spoilage v1.3.1
- fixed a bug with the storage subsystem when loading from a file
----------, Jul 16, 2020

Changes in Food Spoilage v1.3
  • Melon Slices now get timestamped
  • Nether Warts now get timestamped
  • Brown Mushrooms now get timestamped
  • Red Mushrooms now get timestamped
  • Pumpkins now get timestamped
  • Melons now get timestamped
  • Wheat now get timestamped
----------, Jul 16, 2020

Changes in Food Spoilage v1.2
  • Cooked Cod items now gets timestamped
  • Cooked Rabbit items now gets timestamped
  • Cooked Mutton items now gets timestamped
  • Cooked Salmon items now gets timestamped
  • Cooked Porkchop items now gets timestamped
  • Cooked Chicken items now gets timestamped
  • Cooked Beef items now gets timestamped
----------, Jul 16, 2020

Changes in Food Spoilage v1.1
  • beetroot soup now gets timestamped when it is crafted
  • rabbit stew now gets timestamped when it is crafted
  • mushroom stew now gets timestamped when it is crafted
  • added a console alert for mismatched versions letting server owners know that default values will be used until the 'Food-Spoilage' folder is deleted
  • changed the defaults to to multiples of 24 hours
----------, Jul 16, 2020

Changes in Food Spoilage v1.1
  • beetroot soup now gets timestamped when it is crafted
  • rabbit stew now gets timestamped when it is crafted
  • mushroom stew now gets timestamped when it is crafted
  • added a console alert for mismatched versions letting server owners know that default values will be used until the 'Food-Spoilage' folder is deleted
  • changed the defaults to to multiples of 24 hours
----------, Jul 16, 2020

Changes in Food Spoilage v1.0
  • added a /fs reload command to reload food spoilage values
  • upon startup if the plugins/Food-Spoilage folder isn't found, it will be created and a food-spoilage-times.txt file will be created inside of it and filled with default values
  • upon startup if the Food-Spoilage plugin is found, it will load food spoilage values from plugins/Food-Spoilage/food-spoilage-times.txt
  • upon shutdown it will save local food spoilage values
----------, Jul 16, 2020

Resource Information
Author:
----------
Total Downloads: 4,502
First Release: Jul 15, 2020
Last Update: Nov 6, 2022
Category: ---------------
All-Time Rating:
16 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings