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.
This plugin utilises Hidendra's plugin metrics system. You can opt-out under <yourPluginFolder>/PluginMetrics/config.yml
The following informations will be collected:
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.
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: []
Get the Source on GitHub