NoHungerHeal
In short, no healing with a full hunger bar. Other methods still work, but being satiated doesn't heal.
Technical Description:
This mod intercepts and silently cancels (at high priority) all heal events caused by satiation. Meaning if you fill your hunger bar, you will not auto-heal. Since it targets satiation healing only, other healing such as healing items or potions continue to work. It outputs no text so localization isn't an issue, and has no configuration file. I was asked to expand this description but I can't think of anything else to put in. It really is very simple.
Purpose:
This is intended to make survival more difficult, because it unlinks hunger from healing, requiring you to address both separately: since starvation remains you still have to eat, and sprinting still requires food, but you need separate items like potions to heal yourself. It's also used to learn about events and to fill a forum plugin request (this one: http://forums.bukkit.org/threads/stop-auto-healing-with-a-full-hunger-bar.87406/ ).
Author Comments:
A short mod by Synaps4 and Danne_Panne. We can provide source code upon request, but if you can build plugins at all you can build this one.
Future plans:
- Randomize the chance of healing so that you can configure to heal more or less. For example, every 10th heal event not cancelled, 10% of normal healing speed.
@evldmonx
I believe that there's no big difference, maybe no difference at all. As another person commented, this plugin is sort of obsolete now. With the latest update though you can configure the amount of health regained by percentage- I don't think it's possible to do that with /gamerule .
what does this do that "/gamerule naturalRegeneration false" doesn't?
@ImminentFire
If I continue developing this plugin I can add that in a future update. I guess I will put an option in the config file so it's changeable. Thanks for you suggestion :)
Could you possibly make it so there's an option to disable hunger all together with this?
Well... we can now do this with gamerule so it kind of makes this plugin obsolete as it is. But that is a good thing. We had good run. Thank you.
If anyone is still interested in future plans on this plugin please leave a comment or contact Synaps4 or me. I might be able to continue developing of this plugin, if so. EDIT: Nevermind, I updated the plugin to version 1.1 with some new config changes. If any errors/glitches/bugs occur, please inform me as soon as possible. Enjoy!
I'd love to see the future plans implimented on this. Please continue development!
Could I get the source code pl0x? :D
I use Spigot 1.5.2 on my server. NoHungerHeal works fine. No problems.
EDIT: 1.6.1, works fine. This plugin is not going to break any time soon.
I would love to see this plugin updated for 1.5 with some of the future features listed. Any chance of that Synaps4?
Maybe you could add Multiverse support so it's only enabled in certain world? :)
@Quinnatator
You're very welcome Quinn.
Please coordinate with Danne Panne to request any functionality changes you might need. Also, I'd love to see your server when you set it up. I am working with several other plugins all intended to make survival/exploration harder.
In particular I'm a dev on PlantFailure and I'll be putting some time into that soon, you should have a look.
Great plugin! When 1.4 rolls around, I will use this along with Bandages for a more difficult survival experience. Glad this plugin is available.
Thought it would be nice if I announce that I have the time to work on NoHungerHeal, if Synaps4 doesn't want to continue on his plugin :) So if you have any ideas you can also message me now. Should I update this to/add support for CB 1.3.1-R1 maybe?
@Iaintee
Yes but you probably already have a mod that lets you stop zombies from dropping rotten flesh right?
Since it only has one use (eating) its preferrable at the moment to just not have it, rather thna have it uselessly pile up as drops no one wants or in chests.
@Synaps4:
Yeah, I think it would be best if you could disable certain food's from being eaten? I'd like to see that as I don't want people killing Zombies and being able to heal of that, we run a hardcore server, we need it so that they have to earn food,
reckon that could be implemented?
@Iaintee
A good idea laintee, but I think once you get satiated, it doesnt track which food you were satiated by. So you could only disable certain foods from filling your hunger bar.
Basically you can make some foods not have any effect on your hunger, but you cant stop some foods from healing you while still making them add hunger, and letting other foods heal you.
Does that make some sense?
When you make the config, do you think you could add the options to choose what food would heal you.
Such as, if you listed, APPLE, and you eat an apple to full hunger bar, it WOULD heal you?