Version: 0.9.5 Built for CB: [1.3.1-R1.0] Inspired by those pesky Zubats in Mt. Moon, Leech Life does exactly what it says - leeches life from your now-dead foes and gives it back to you! You can specify who you'd like to regain heath with Permissions, as well as if you'd like them to be sent a message telling them just how much health they received (or whatever you like - you can customise the message too). Permissions leechlife.regainhealth - Dictates who can regain health when they kill a monster. Defaults to true. leechlife.sendmessage - Dictates whether a message should be sent when players regain health. Defaults to false. For information on what this message is (and how to customise it), see below. Config.yml This is in the jar file. HealthGained - The amount of health gained when the player kills a monster. 2 is equivalent to 1 heart. Defaults to 1. Message - This is the message that will be sent to the player when they kill a monster. You can customise this yourself using 3 variables that will be replaced by the plugin: %indefinite_article% (the 'a' or 'an' before the monster name - like this so the message doesn't say "an skeleton" or similar); %entity% (the name of the entity the player just killed), and %health_gained% (the health the player gained). You can use all of these or none at all. Recommended to keep it to the default ("You killed %indefinite_article% %entity% and gained %health_gained% hp!"). Changelog: LeechLife V0.9.5 - Can now configure which monsters you want to grant HP to players when they are killed. Internal refactoring. LeechLife V0.9.1 - (large internal changes, custom message support). LeechLife V0.2.3 - Silly bug fix that occurred if the entity (somehow) ended up being null. LeechLife V0.2.2 - Bug fix - console received a nice stack trace if an entity died but did not have a killer (e.g. fell in lava). LeechLife V0.2.1 - Permissions Support. LeechLife V0.1.0 - Initial build. BukkitDev! Download (GitHub). Source Code (GitHub). Suggestions: Configure which mobs reward HP and which don't. Implemented! Minimum/maximum amount of HP that can be rewarded, generating a random number between these two values. Colour support in messages. ??? Post yours! If you like this plugin, check out ExplodingAnimals! You'll love it, guaranteed. Please post any bugs or issues you have Thanks!
I don't know but it doesn't work for me. Maybe bad thing with permissions disabling. Not sure, could you make special for me that default be set to false? Thanks
NOOOOO!!!!!! I was sure I had an original idea... Oh well... http://dev.bukkit.org/server-mods/mobhealth-get-health-killing-mob/
I think we both answered the same request thread Don't worry, I'll be keeping this as simple as possible, so you have plenty of room to do what else you like Best of luck! Sure, I'll upload it now. Edit: Here, no permissions support. All players will gain HP, no players will receive a message. http://github.com/downloads/Major-/LeechLife/LeechLife V0.9.5 (no permissions).jar
No I need permissions, just I want that only VIP players would get HP pack. I know how to set permissions, but don't know how to disable them, that's the problem So I would love if you would just set permission to false, but those would exist
Open the plugin.yml file in the jar. Change 'default: true' underneath 'leechlife.regainhealth' to 'default: false'.