InstaEat
InstaEat - Let users eat instantly food to heal themself
Quote:InstaEat doesn't need to be updated with every release of Bukkit.
It still works 100%.
Overview
Ever wanted to bring back MC 1.7.3 eating style without hunger and instant hearts refill?
Users now can instantly eat food to heal their life and you also can disable the food bar and cancel the AutoHeal.
- Multi-World support with permissions
Requirements
- Permissions Plugin
Install
- Download the Plugin
- Copy it to your /plugins/ directory
- Start your Server and wait until the files are created
- Edit the config file and use the command "/instaeat reload" to reload the config file.
How to use
- Setup the permissions for the plugin.
- Rightclick your mouse with any type of food in your hand to eat it instantly.
- Now with Cake Support !
- Also you can disable the hunger bar with the permission nodes.
Commands
- /instaeat reload - Reloads the config file
Example/Default configuration
Apple_Heal: 4 Baked_Potatoe_Heal: 6 Bread_Heal: 5 Cake_Heal: 2 Carrot_Heal: 4 Cooked_Chicken_Heal: 6 Cooked_Fish_Heal: 20 Cooked_Beef_Heal: 4 Cookie_Heal: 2 Golden_Apple_Heal: 8 Golden_Carrot_Heal: 6 Grilled_Pork_Heal: 2 Melon_Heal: 8 Mushroom_Soup_Heal: 3 Potatoe_Heal: 2 Pumpkin_Pie_Heal: 8 Raw_Beef_Heal: 3 Raw_Chicken_Heal: 4 Raw_Fish_Heal: 2 Raw_Pork_Heal: 3 Rotten_Flesh_Heal: 4 SpiderEye_Heal: 1 Poisonous_Potatoe_Heal: 1 Confusing_Enabled: true Poison_Enabled: true Stack_Empty_Bowls: true Eating_Cooldown: 3000
- The value 1 would restore 0,5 Hearts ingame !
- 0 = Disabling this item
- 10 = 5 Hearts
- 20 = 10 Hearts (all)
- Eating_Cooldown: Cooldown between eating stuff (1000 = 1second)
- Stack_Empty_Bowls: Default is true and equals Minecraft defaults (empty bowl stacking). Set to false, if you want the empty bowl to remain in the slot where your soup was (perfect for PvP)
- Confusing_Enabled: Eating RawFish, RawChicken or RottenFlesh will confuse you (true/false)
- Poison_Enabled: Eating RawFish, RawChicken or RottenFlesh will poison you (true/false)
Permission stuff
'instaeat.instaheal' = Allows to eat instantly to heal hearts (not hunger) 'instaeat.disablehunger' = Disables the foodbar/starvation 'instaeat.disableautoheal' = Disables the autoheal 'instaeat.reload' = Gives the permission to use "/instaeat reload"
Support
Please open a ticket if you need help. Don't post your problems in the comments.
Changelog
See here: http://dev.bukkit.org/server-mods/instaeat/pages/changelog/
@recon88
Well you can't even open a door or anything with food so that's kinda annoying :/
Can you else put up the source so we can modify it ourself?
@Dinastya
1. The Auto-Heal stuff is working.. Just tested it (you are the first person with that "problem"). Also it's blocking ANY health regeneration because it's mainly made for PvP Servers to prevent the regen.
2. That's how the plugin works... Just get empty hands or take some other items if you want to interact with something. I'll not change that.
One other thing.
When you try interact with something while holding you food you eat the food.
You should make it when you try interact with something it shouldn't eat it.
If you don't want it default you could maybe add a config option for it.
Players are wasting food now by opening chests and furnaces etc etc.
Hope you can look at it.
@recon88
Well i have that permission node not added to any of our users and nobody can use the 2 potions.
And also health regeneration when the hunger bar is full doesn't seem to work.
Not a huge issue though but would be nice if it would work.
I have already checked my Multiverse and WorldGuard settings.
But both have health generation enabled.
And i don't think i have any other plugin that modify the health regen.
@Dinastya
Thanks for the compliments.
Yes it's totally correct that it doesn't work, because it blocks the Health Regeneration if you use the permission node "instaeat.disableautoheal". I can look into it. Maybe it is possible to seperate that.
Really great plugin.
Always used a modified version of FastFood but i love how you have so much config here.
You can modify it perfect exact how you need it.
Really great plugin and will defiantly go use this.
Thanks!
Btw is it normally that instant health and regeneration potions don't work?
Fixed on 1.5
It's just an missing config entry.
Could be added by hand but 1.5 is already uploaded.
I should note that it doesn't take the item either.
A player attempts to eat steak and is not healed. Attempts to eat Rotten Flesh and is healed. I also cannot find it in the config, or is it raw beef I cannot find?
@2mac
Well... No details = No help
Also it should work... No bugs/errors found in my code
Seems steak is bugged.
@Davyhalliday
Read the description + changelog?
How do I edit the config so that only mushroom soup responds to this plugin?
Pardon my lack of knowledge with the use of permission mods. I've always wanted the ability to have negative permissions but never found it on any of the setup or configuration guides. Thanks!
@2mac
Why is nobody reading the tutorials of the permission plugins? wtf...
Use negative permissions for admins if you don't want the autoheal for them?!
Hey, I like how you separated disabling the hunger system from disabling the autoheal, but i have one suggestion.
Rather than giving someone permission to disable autoheal, give them permission to have autoheal, that way I don't have to configure my entire admin permissions from '*' just so they can have autoheal like the users. Thanks.
@insers
v1.4 released with your suggested features
@williewillus
Cake doesn't work at the moment. Will add that in the next releases
Nothing happens upon cake rightclick...
Permissions are fine because I can eat other foods.....did I have to add it to config? Because default config does not have cake.
Upcoming features (v1.4):
Edit:
@insers
Will be added in v1.4