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.
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.
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.
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.
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
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.
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