LeechLife

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

LeechLife is a simple, lightweight plugin that rewards your players when they kill monsters - with health!

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.

Forum Topic.

Source code (GitHub).


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    43393
  • Created
    Aug 15, 2012
  • Last Released File
    Aug 15, 2012
  • Total Downloads
    1,589
  • License

Categories

Members

Recent Files