FoodExpiry

A simple plugin that makes food expire. Players that eat expired foods are at risk of getting sick.

 

- This is done by attaching an expiration date onto the lore for each newly instantiated/crafted/cooked food entity. When any food is consumed, the plugin will check to see if the current date (minecraft "date", not the real world date) is greater than the food's expiration date. If so, the player has a k% (default 80%) chance of getting food poisoning.

- A player that gets food poisoning suffers an unfavorable status effect (defaults are one of: [poison, blindness, confusion]) for a short period, and becomes hungry for an extended period of time.

- Players can get the current world date by right clicking with a clock.

- Most components are configurable (for ex: the possible effects when getting food poisoning, duration of the effects, default expiry per food type etc).

- Built with spigot-api-1.13.2. 

 


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files