MineZ Healing
MineZ Healing
About
Many of you are familiar with the MineZ Shotbow servers or with my plugin MyZ. This plugin allows you to use paper, shears, red and lime dye as healing tools for both yourself and other players.
Configurable
- Items used. Configure the paper item, shears and dye colors used for healing.
Permissions
- heal.*
- heal.self: Ability to heal yourself with paper.
- heal.other: Ability to heal others with any combination of lime/red dye, paper and shears.
Source Code
The source code is included in .java files within the jar. Simply open the jar file with WinZIP or any dearchiving program to extract the source files.
API
Developers may wish to hook into MineZ Healing for various reasons. Hooking into MineZ Healing is easy and it allows you to customize a ton of things. Events include:
- PlayerHealSelfEvent(Player, fromHealth, toHealth)
- PlayerHealOtherEvent(Healer, Healed, dyesUsed)
Hello, I am using your MyZ plugin. I want to use this healing plugin so that healing with lime dye causes an infection to stop. How can I link that? Thanks
@DewTheMelon
if you want to set the healt, you need to use the api from the plugin (didnt test it but it should work with the information gived above)
Why you make plugin like this when it doesnt have hardly nothing. Rose red is not working, lime dye is not working, shears are not working. Only paper is working. Paper is not renamed as Bandage, you don't get any messages and you cannot customize them. You cant customize heal amount. Yeh..
@TwekerPMC
Hey, I would suggest to get Multiverse. It allows multiple worlds, and in the world.yml config, there is a setting to turn natural regen off for a specific world.
@TwekerPMC
To diable natural regen, do /gamerule naturalRegeneration false.
1.6 update? :(
@TeeePeee
Great, thanks. I appreciate it. :)
@TwekerPMC
Sorry, this plugin only functions as a healing system. I'm sure there is a plugin to do this, something like a UHC plugin.
@blaxout1213
Nope, you'll need another plugin for that. You can easily hook into the API however to detect when antiseptic and antibiotics are used.
@Netu
You can't at the moment, I will likely add this feature though.
How can I change the values of the healing? I'd like to either have it do a randomish amount, or just give the player regeneration, or just a bit more healing. I'm using a rareish item for the healing, so this would be helpful. Thanks!
Does this also mean that infection/bleeding exists too?
Can you make it so it disables Natural Healing? like in the config if someones hunger is full, so they do not regenerate? I just want the healing, not all the components! Thanks!
Awesome plug, It is possible to do a separate plugin Visibility Bar who would not take advantage of exp bar but normally operated or products using scoreboard?
@matthiasvd2
Now the paper, shears and both dye colors are configurable.
Can you set the paper also as a other item?