FoodHealz

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

[1.3.2-R2.0] FoodHealz v5.0

Going to discontinue this and give the source to any good dev who wants it. The source is messy due to all the requests, but you can get the basic idea. I get to delete this plugin soon! Thank you Bukkit for finally adding a PlayerItemConsumeEvent, took your time though. I've seen many plugins try to achieve this, but none did it how I wanted it to be done.

Features:

  • Once a player has eaten the food, the regain instant health.
  • Sets the hunger bar to be stuck at the level set in the config. (Used if "Keep Hunger" is false, see below)
  • Config for using the hunger bar, whilst still directly healing the health.
  • Config for a multiplier on hunger and health.
  • Config to stop health regeneration from saturation (full hunger bar).
  • Config to allow spout users to graphically have their hunger bar disabled and the armour bar put in it's place.
  • Config for a repeated Checkup with a configurable delay to stop other plugins breaking this one.
  • Drag and drop (With reload).

Permissions:

  • foodhealz.heal - If a player has this they will heal from eating.

Change Log:

v5.0

  • Removed the need to update the clients hunger bar, as it is now implemented in 1.3.2R-0.2.

v4.0:

  • Added a permission that allows people to heal.

v3.0:

  • Changed the format of the config.yml!!!! Please check yours is correct!
  • Added a repeated Checkup to make sure no other plugins mess this one up.
  • Added a config for Checkup, with time in ticks for the delay between repeats.
  • Added a Regeneration and Hunger multiplier.

v2.0:

  • Added a config.yml
  • Added a config for using the hunger bar, whilst still directly healing the health.
  • Added a config to stop health regeneration from saturation (full hunger bar).
  • Added a config to allow spout users to graphically have their hunger bar disabled and the armour bar put in it's place.
  • Added a config to set the default hunger level (Used if "Keep Hunger" is false). Do not set higher than 7!

v1.0:

  • Once a player has eaten the food, the regain instant health.
  • Disables the hunger bar (Constant set to 7). (As a result players have a constant sprint)
  • Drag and drop (With reload).

Todo:

  • Any suggestions?

Known bugs:

  • The max a player can heal from food is only ever less than or equal to how much hunger they are off a full bar times you heal multiplier. (Guess how the code works yet other devs?)
  • Full hunger bared player can not eat. (Client side, nothing I can do)
  • If you find any please report them (Include all the usual information).

Disclaimer:

I have not used any ideas or code off other plugins, all the code is made by me and all feature thought up of by me. Please do not copy/steal ideas or code off of me. I can not be held responsible for this plugin causing errors or breaking anything, you are responsible for the safe use of this plugin. Plugin provided for non profitable use only, please contact me if you wish to use this plugin for commercial use. Any questions, please contact me.

Donations:

If you like the plugin, please consider donating to my community (The Derplin Network): [email protected] On PayPal. In the message please say rrama plugins or something indicating that you are donating because of me. This will inspire me to make more plugins.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    42901
  • Created
    Aug 5, 2012
  • Last Released File
    Sep 27, 2012
  • Total Downloads
    3,770
  • License

Categories

Members

Recent Files

Bukkit