WheatHeal

WheatHeal

Current Version: 2.0.1 supports CB#1185-CB#1318

Ever wished you could heal your friends? Now you can with WheatHeal!


This plugin allows players to heal each other by left clickng with food, which can have customisable heal values and can be en-/disabled seperately. Supports multiple permissions plugins.

Featured foods:

  • Wheat (healing others and yourself if enabled)
  • Pork
  • Cooked Pork
  • Fish
  • Cooked Fish
  • Bread
  • Cookie
  • Apple
  • Golden apple
  • Mushroom stew
  • Red and Brown Mushrooms
  • Egg

Installation:

As always, put WheatHeal.jar in your plugins directory, and start Bukkit. It should work without any initial configuration. To change how much each food heals, however, edit WheatHeal/config.yml in your plugins folder. there you can also choose which foods are enabled, as well as which Permissions plugin to use. An example Configuration:

Configuration:

Foods:
    Bread:
        healValue: 3
        enable: true
    GoldenApple:
        healValue: 20
        enable: true
    Cookie:
        healValue: 7
        enable: true
    MushroomStew:
        healValue: 10
        enable: true
    Apple:
        healValue: 5
        enable: true
    CookedFish:
        healValue: 8
        enable: true
    Wheat:
        healValue: 3
        enable: true
        selfHeal: true
    RawPork:
        healValue: 3
        enable: true
    RawFish:
        healValue: 4
        enable: true
    CookedPork:
        healValue: 8
        enable: true
    Cake:
        healValue: 10
        enable: true
    BrownMushroomStew:
        healValue: 6
        enable: true
    RedMushroomStew:
        healValue: 7
        enable: true
MaxHealth: 20
DirectHeal: false
Permissions:
    useBukkit: false
Tools:
    Wool:
        id: 35
        type: 1
        healValue: 5
        damageTaken: 4

Command(s):

Quote:

/wh reload - Reloads the configuration file

Quote:

/wh restore - Restores the default values of the WheatHeal configuration

Quote:

/wh version - Displays the installed version of WheatHeal

Quote:

/wh get [food] - Displays if a food is enabled and for what it heals. Names are *CaseSensitive, refer to the config how each is called.

Quote:

/wh edit [food] [amount || true|false] - En-/Disables healing with a food or sets the amount a food heals.

Permissions:

Supported PermissionsPlugins:

  • PermissionsBukkit
  • PermissionsEx
  • Permissions 2.x/3.x
'*' nodeDescription
WheatHeal.*Grants all permissions nodes
Single nodes
WheatHeal.healAllows players to heal other players
WheatHeal.reloadAllows usage of the '/wh reload' command
WheatHeal.restoreAllows usage of the '/wh restore' command
WheatHeal.getAllows usage of the '/wh get' command
WheatHeal.editAllows usage of the '/wh edit' command
WheatHeal.versionAllows usage of the '/wh version' command

If no permission plugin is installed all the commands are OP only and everyone can heal other players!

Download & Source:

Download
SourceCode at GitHub

Changelog:

  • Version 2.0.1
    • Fixed NPE in 2.0
  • Version 2.0
    • Added tools! Create them in the conf by the specifications of the directions, and have personalised healing tools!
    • MC 1.8 Support, it now feeds people by default, though you can still go back to the old methods byt changeing the correct conf Node.
  • Version 1.2
    • Fixed API, will be creating a tutorial for hooking in very soon.
    • Annotated conf! To get the latest version you will need to delete your old config.yml file.
  • Version 1.1
    • Added healing with thrown eggs
    • Added basic API functions
    • Added Selfhealing with wheat
    • Added edit, get and restore commands
  • Version 1.0
    • New permission! To heal you now must have the wheatheal.heal permission!
    • Fixed infinite heal wwith one item
  • Version 0.4
    • Added Milk, eggs, sugar, and sugarcane
    • Fixed a bunch of errors in 0.3
  • Version 0.3
    • Added Cake and Mushrooms
    • Small fixes
  • Version 0.2
    • Added Pork, fish, Bread, Coookies, Apples, and Mushroom Soup.
    • Mushroom Soup returns a bowl
    • Added "/wh reload" command
    • Config file now has controll over which foods are used and what they heal.
    • You cannot heal people beyond ten hearts now
    • Added permissions/Bukkit Permissions support
  • Version 0.1
    • Initial release

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    31365
  • Created
    Aug 26, 2011
  • Last Released File
    Oct 2, 2011
  • Total Downloads
    5,438
  • License

Categories

Recent Files