Custom Health

Description

Create poisonous apples. Kill players when eating cake. Heal them when eating spider eyes. This and much more is possible with the Custom Health plugin.

You can decide, what should happen when someone eats his lunch. It's up to you to reward or punish the players by adding potion effects, change how much the food items should heal or harm him and if he should be set on fire.

You are also able to disable automatic heart regeneration, maximize the amount of food bars that can be filled up and turn your server into a classic, pre-Beta 1.8 released minecraft experience. These are just some of the possibilities you can use in order to customize your server for your own needs.

Note that this plugin is still in its Beta stage. In the past major updates, the configuration file had to be restructured again, be aware that this could happen as well in future releases. If you happen to notice any bugs or have suggestions and ideas for improvements, let me know in the comments below.


Features

  • Disable regeneration when food bar is filled up
  • Maximize the amount of food bars that the player can fill up through eating
  • Change the amount of hearts that the player can have (v0.7 and up)
  • Disable "food bar loss" (player will never be hungry)
  • Apply the same amount of hunger bars and/or xp when player dies and respawn
  • Change mechanics of eaten food items:
    • Amount of hearts restored (can be negative)
    • Amount of food bars refilled (can be negative as well)
    • Amount of saturation added (could also be negative)
    • Add potion effects (including strength, duration and chance percentage)
    • Add other effects (including explosions, giving xp,... full list here)
    • Set it world specific or create custom items

Set Up

When putting the jar file into the plugins folder, the directory "plugins/CustomHealth/worlds" will be created with a template configuration file to work with. If you don't do anything with it, nothing will interfere with the vanilla mechanics.


Commands and Permissions

Arguments in brackets ("[amount]") are optional and don't have to be specified.
To use all permissions, you can say customhealth.commands.* .
The official command at the beginning is /chealth, aliases are /ch or /customhealth.

CommandPermissionDescription
/ch create [amount]customhealth.commands.createCreate new config file in the worlds folder. Calls it "groupA.yml", "groupB.yml", etc. until "groupZ.yml"
/ch set<#>customhealth.commands.setSet the data value for item in hand. Custom item can be created in-game.
/ch rename <from> <to>customhealth.commands.renameRename configuration files. Does not have to include the ".yml" at the end.
/ch resetcustomhealth.commands.resetReset everything to its original value. (asks you twice before making this decision)
/ch reloadcustomhealth.commands.reloadReload the plugin.
/ch plugincustomhealth.commands.pluginGet information about plugin name, version, author, website and if there's an update available.

Update checking can be disabled in the config.yml file!
check-for-updates: false


Configuration

Check out the whole configuration file here.
Read more about additional effects.


To Do

Known Bugs

No known bugs. Keep this list updated and send me a ticket for any other bugs you find!

Ideas

  • All-you-can-eat
  • Values for permissions
  • Split "inventories" between worlds
  • Your ideas here

Supporting Me

For Users

I like to have active users for this project, who give me suggestions on what to add, tell me what they like and what bugs they find.

For the next large update, there will be a dynamic permission system added and I will need someone who is willing to take the time to test out the development builds.
For anyone interested in this "job" can write an application letter as a private message to me that contains the following information:

  • Name (not required)
  • Country
  • Have you been hosting a bukkit server before? (private or public, owner or admin, anything that included plugin and permission management)
  • How are we going to communicate with each other? (e-mails, skype, I need a way to send you the development builds)

Thanks to anyone considering to help.

For Developers

I'm currently not searching for another developer to program with, but the Source code is available for free to anyone interested. You can contact me, if you find some issues in there that could be improved.
It's not fully commented yet, but I'll work on it.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files