Sueta
GO

GoodFood

2.1

Replaces Hunger with direct healing like before Beta1.8

·Plugin

This plugin allows players to toggle whether they have regenerative healing (i.e. Hunger) or direct healing (i.e. pre-Beta1.8). With direct healing, food items heal an amount of health equal to the amount of food points they would have restored. By default direct healing is enabled and players are unable to toggle it without the below permission.

Commands:

  • /goodfood
    Toggle Hunger on oneself
  • /goodfood @help
    View the help info
  • /goodfood @reload
    Reload the config
  • /goodfood @debug [hunger] [saturation] [exhaustion]
    Set one's hunger, saturation, or exhaustion levels and display the resultant values
  • /goodfood @on
    Toggle Hunger on by default, this will not toggle it for players who have already changed it themselves
  • /goodfood @off
    Toggle Hunger off by default, this will not toggle it for players who have already changed it themselves
  • /goodfood player_name
    Toggle Hunger for the given player

Permissions:

  • GoodFood.toggle_any Toggle Hunger on anyone (default: op)
  • GoodFood.toggle_self Toggle Hunger on oneself (default: op)
  • GoodFood.reload Reload the config (default: op)
  • GoodFood.debug Use the debug subcommand (default: op)

Todo:

  • Change subcommands to not use the @-symbol
  • Possibly remove the debug command
  • Any other suggestions?

This is my first plugin so any feedback is greatly appreciated! :D

Similar projects

Plugin →