UnhealthyDeath
UnhealthyDeath
Summary
This plugin prevents your players from refilling their food/healthbar by killing themselfs. Everytime a player dies, his health and foodlevel will be set to a configurable amount.
Metrics
This plugin utilises Hidendra's plugin metrics system. You can opt-out under <yourPluginFolder>/PluginMetrics/config.yml
The following informations will be collected:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's implementation and game version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Your online-mode
- Your server location
Installation
Put the plugin into your plugins folder and start the server. The default config file will be generated and can be modified after your wishes.
Usage and Config
You can add as many groups as you want. To assign a player to a group you need to give him the permission "unhealthydeath.group.<groupname>". If a player has no group assigned he'll use the "default" group. If this group does not exist, nothing will happen.
group: default: #the amount of health a player respawns with sethealth: 10.0 #set - set foodlevel to foodamount valuel #keep - keep the current foodlevel subtracted by foodamount foodchange: keep #the new foodlevel or the value the old foodlevel is subtraced by, see above foodamount: 10 #only applies when keeping the foodlevel #the minimum foodlevel allow after respawning minfood: 15 #the worlds this group is valid in, if empty it is used in every world #(the permissions may be better for multiworld handling) worlds: []
Source
Get the Source on GitHub

-
View User Profile
-
Send Message
Posted Mar 26, 2013I can confirm that v0.3.1 works as it should for the saturation now, thanks! Also, it works on Minecraft v1.4.7 as well as 1.5, for anyone wondering. I did notice a small typo in the config file. It says "substract" when it should say "subtract".
Thanks so much for this simple, yet very needed plug-in! It's one of my core plug-ins!
-
View User Profile
-
Send Message
Posted Mar 20, 2013@Twilight314
I removed this function in 0.3, because I thought it was useless. I've been proven wrong and will readd it. :)
-
View User Profile
-
Send Message
Posted Mar 20, 2013Just noticed something on the latest version. It keeps track of the food level, but when you respawn, the saturation level is renewed, even though the food level is not.
In other words, if I'm at half a shank of food left, and I die and respawn, I still have only half a shank left, but the bar is no longer jiggling, and I can run and jump around for quite a while before that last half shank disappears.
Strangely, I didn't have this problem with it on Minecraft v1.2.5. Has something changed since then?
-
View User Profile
-
Send Message
Posted Oct 21, 2012This still works with Minecraft 1.2.5, and probably works with 1.3.x, just in case anyone is wondering (I use it with Minecraft 1.2.5 in conjunction with my plug-in Hunger++). I use it to make players respawn with the same hunger level they had upon dying, so if they starve to death, they respawn still starving, and need to make finding food a top priority.
I highly recommend this plug-in for a tougher survival experience.
-
View User Profile
-
Send Message
Posted Feb 18, 2012@SydMontague I figured as much, but it couldnt hurt to make you aware of it. I`ve not run into any real problems with this plugin =)
-
View User Profile
-
Send Message
Posted Feb 18, 2012@genesis_aix
I saw this on other plugins, too. I´ll look for a fix, but It should not harm any functions.
-
View User Profile
-
Send Message
Posted Feb 18, 2012On every startup: 12:25:28 [WARNING] Could not save config.yml to plugins\UnhealthyDeath\config.yml because config.yml already exists.
Good plugin =)
-
View User Profile
-
Send Message
Posted Jan 5, 2012Simply excellent.
-
View User Profile
-
Send Message
Posted Dec 21, 2011Brilliant! Was looking for a plugin that did this.
-
View User Profile
-
Send Message
Posted Dec 19, 2011nice, really usefull :) just simple but effective. I always hated that you just got full health and food after dying. Now you cant just kill yourself!
-
View User Profile
-
Send Message
Posted Nov 6, 2011Very nice I will be installing this for sure