FatHunger
FatHunger
Based on Supertt007 NoHunger plugin. (with Permission)
This plugin brings back left-click eating for instant healing and even alows you to disable hunger all together.
All food (except cake) values can be controlled, allowing you to set the healing value of common items to be low and rarer items higher.
For role-playing servers you can make certain foods have a negative value, injurying a player when eating. (ex Rotten Flesh)
Config
The Default config file is here.
NEW OPTION = PoisonedMeat > Basically means, will the player be poisoned if he eats Rotten Flesh.
Permissions
To Disable Hunger.
- fathunger.disablehunger
To Enable left click eating for instant healing
- fathunger.instantheal
Mob Arena
- Thanks Schlumpf9
If you wish to use this with MobArena, here is an example config
classes: Archer: items: ... armor: ... permissions: - fathunger.instantheal
Pvp Arena
With Pvp Arena...In the Config file
perms: default: - fathunger.instantheal
Disable Sprinting OR Freeze the FoodBar
classes: Archer: items: ... armor: ... permissions: - fathunger.disablefood
(use a low value in the config.)
If you use fathunger.disable hunger as a perm in MA then your food will always be full.
If you just want the food to heal from eating, just use the instantheal perm and then the food level will still drop and then the player would have have to right click to eat food and raise their food bar as well.
Hope that is what you were looking for.
So my feedback :)
It worked nice but I found 1 bug and 1 message fail:
I am using Version 0.2 :)
So the bug is when I am in the MobArena I don't get less food as it should be, but then my food is always full and I get my life back as normal when the food is full. But when I left click soem food I get my life also back. So your plugin works fine, but I also get health back when my food is full, is there a way to disable this? That I only get health when I eat my food?
thx for the msg...will add that to the forum.
First comment :D
This looks very nice! Now we can play again MobArena with more fun ;) I will test it in a few minutes and then I give you a feedback :p