Features
- Set minimal food level so players won't die by starvation all the time
- Set list of deaths when food level would be recovered
- Allow specific players to bypass food level being set to previous value
Configuration
You only need to make changes in config.yml file, players.yml should not be touched
min_food_level - Smallest food level that could be set
max_food_level - Food level that is given by default on the server
save_left_players_on_stop - Save dead players that left server without respawning after server stop
And also there's a property: recover_cause, or you can invert it with not_recover_cause. It is meant to set default level of food for the reasons you want player not to be annoyed by food recovery, for example if they die by LIGHTNING. You need to specify list like this:
- LIGHTNING
- VOID
List of all death reasons can be found here
Permissions
nofoodsuicide.bypass - Allows player to bypass food level recovery to previous value; Default to OP