RPGHealth

Overview
RPGHealth is an unique plugin, unlike many others, that allows you and your players to level up your HP by killing other players or mobs. This plugin finds it's place on every type of server.
- It makes PVP more fun and adds a new challenge, instead of collecting diamond gear.
- With survival, a whole new objective gets added.
- Minigame servers, for a new type of 'skill'.
I've completely redone the coding of this plugin, to make it even smoother and to improve what the plugin does, such as new animations.

Commands And Permissions
Command | Permission -------------------------------- /rpghp gethp rpghealth.gethp //rpghp gethp <Player> //Gets the amount of hearts of the targeted player. /rpghp sethp rpghealth.sethp //rpghp sethp <Player> <Number> //Sets the HP of the targeted player to the number you defined. /rpghp tmphp rpghealth.tmphp //rpghp tmphp <Player> <Number> //Sets the HP temporary. /rpghp addhp rpghealth.addhp //rpghp addhp <Player> <Number> // Adds defined number of HP to the targeted player. /rpghp addxp rpghealth.addxp //rpghp addxp <Player> <Number> // Adds defined number of XP to the targeted player. /hp rpghealth.hp //hp //This will show you your progress to your next HP level. //If you want to check the progress of another player, you need the permission "rpghealth.hp.others" and to type "/hp <playername>". /rpghp reload rpghealth.reload //rpghp reload //Reloads the configuration file, saves players.yml and checks for updates. -------------------------------- Permissions : rpghealth.hp //Allow the players to earn XP Groups permissions (only if "use-groups-permissions" in the config is enabled): rpghealth.lvl.low //Players with this permission can level up to max 24 HP by default. ( ' (startinghp + maxhp) / 2.5 ' ) rpghealth.lvl.med //30 by default ( ' (startinghp + maxhp) / 2 ' ) rpghealth.lvl.max //full (40 by default) (maxhp) rpghealth.damagemultiplier //Allow the players to use the damage multiplier

Configuration
This is an explaination of how the configuration file works.
configuration: max-hp: 40 //Sets what the heighest HP achieveable by leveling is. starting-hp: 20 //Sets the HP of new players that are not in the storage. needed-xp-formula: 20*HP //This will set the needed-xp. xp-percentage-from-mobspawners: 20 //This sets the percentage of the mob's XP if it comes from a monster spawner. xp-lost-on-death-formula: 4*HP //The XP you lose on death hp-display-scale: 1.0 //Scales your HP enable-names-xp: false //enabled names-xp list minimum-level-to-earn-xp: 0 //Minimum level to earn xp multiply-gained-xp-with-levels: false //Multiply gained xp with default Minecraft levels xpmessages: true //Toggles XP messages. (requires Holographic Displays) disable-in-creative: true //players in creative mode do not get more xp reset-hp-on-death: false //sets the players hp to the starting hp on death damage-multiplier: false //Players with more Health do more damage. use-groups-permissions: true //Enables extra permissions for groups heal-after-world-change: false //Heals the players during a world change. silent-console-commands: false //Mute console output on 'addxp', 'sethp' and 'addhp' levelup-particles: true //shows particles on level up enable-sounds: true //Levelup and mobkill sounds check-for-updates: true //Allows RPGHealth to check for updates mobs-xp: //This is a list where you can define howmuch XP each mob drops. BAT: 2 //The XP of a bat is set to 2. BLAZE: 7 //And so on.. CAVE_SPIDER: 4 CHICKEN: 1 COW: 1 CREEPER: 3 ENDER_DRAGON: 350 ENDERMAN: 8 GHAST: 7 GIANT: 140 HORSE: 4 IRON_GOLEM: 13 MAGMA_CUBE: 5 MUSHROOM_COW: 2 OCELOT: 2 PIG: 1 PIG_ZOMBIE: 6 PLAYER: 0 SHEEP: 1 SILVERFISH: 4 SKELETON: 3 SLIME: 1 SNOWMAN: 1 SPIDER: 3 SQUID: 1 VILLAGER: 3 WITCH: 6 WITHER: 150 WOLF: 3 ZOMBIE: 2 ENDERMITES: 2 GUARDIANS: 4 RABBIT: 1 names-xp: //This is a list where you can define howmuch XP a mob with a certain name drops. - examplemobname1 = 8 - examplemobname2 = 6 nonaffected-worlds: //worlds where HP is not affected/levelled. - exampleworldname1 - exampleworldname2 player-storage: //Here will be all the players that have joined the server. (Desle): //The uuid of the player. name: Desle (only if save-player-names in the configfile is set to true) hp: 34.0 //The HP of a player (level). xp: 0.0 //The XP of a player. xp-needed: 1020 //The needed XP of a player to rankup.

Tutorials and Reviews
Go to the Videos page.
Backports
You want to use a newer RPGHealth version with an older Minecraft version? You can find backports here.
Support
If you have questions or ideas, post them here.
Localization
You can change the messages in messages.yml or download presets of this file.
Updates
RPGHealthPlus checks spigotmc.org for updates and will notify Ops if a new version is available. You can disable this in the config file.
Get Involved
If you found a bug or have an idea to make this plugin better, write about it here:
https://github.com/Bleuzen/RPGHealthPlus/issues
or here:
https://www.spigotmc.org/threads/rpghealthplus.61566/
Metrics
This plugin uses Metrics-Lite to track anonymous data about servers using this plugin. It has no impact on your server's performance. You can see the statistics here. If you want to disable it, open the configfile in /plugins/bStats and set enabled: false.
-
View User Profile
-
Send Message
Posted Jan 31, 2014@FingersMeller
I don't know anything about mods. Does it give errors in console if you kill a mob from that mod? If so, post it. If not, you could try add the name of the mob of that mob to the configuration file manually.
-
View User Profile
-
Send Message
Posted Jan 31, 2014@Desle
I love it! Thanks man!
Also, I was wondering how I would go about adding custom mobs to this? For instance, I have RPGHealth installed with Dr. Zharks Mo'Creatures (http://minecraft.gamepedia.com/Mods/Mo%27_Creatures found here http://www.minecraftforum.net/topic/81771-172-mo-creatures-v620-with-ents-and-moles/) mod.
How can I make it so that I am also gaining RPG XP when I kill a Werewolf, Wraith or Ogre for example?
@predawnia
Thank you.
-
View User Profile
-
Send Message
Posted Jan 30, 2014@FingersMeller
Just do /sethp yourname 20
-
View User Profile
-
Send Message
Posted Jan 30, 2014@lathame
I won't do that, since that makes the RPG feature pointless, use DakadoHealth for that, instead.
@Baamoink I'll do this next week, probably. @CommodoreAlpha Yes, I was thinking of actually changing 1/2th heart to 1 whole heart.. but maybe people dislike that, so I will (hopefully) add this too.
-
View User Profile
-
Send Message
Posted Jan 30, 2014@FingersMeller
@predawnia
Alright, oh man, sorry for that.. I feel stupid now. New version is waiting for approval.
-
View User Profile
-
Send Message
Posted Jan 30, 2014@predawnia
@FingersMeller
What.. Alright, let me test V1.1, sorry.
-
View User Profile
-
Send Message
Posted Jan 30, 2014@Desle
@predawnia
I don't think it has anything to do with the world gen because I am playing a standard world with only bukkit and this pluggin loaded (I always test them first, xD), and I am having the exact same issue.
Even killing a slime at its default settings I am able to level up! This is due to ZERO XP being needed to move to the next level. For whatever reason, this mod is not calculating the HP * 20.
Also, how does one go about resetting a players HP? I am stuck at 31.5 hearts and cannot reset. I feel like such a cheater! >xP
Lastly, my HP progress bar is nowhere to be seen.
WHY GOD, WHY!! YOU GIVETH AND THEN YOU TAKETH AWAY!!! WAAAAAAA... D'x<
-
View User Profile
-
Send Message
Posted Jan 30, 2014There is a bug in 1.1 People are reporting that they are getting massive increase of HP compared to version 1.0_2
I found out that in the players.yml file, the needed-exp was ZERO instead of the value of the multiplier x initial HP
Could it be due to the fact that it could not find the loaded world?
I am using My Worlds and the plugin was loaded before the world was loaded.
Maybe a softdepend: [My Worlds] in the plugin.yml might help
-
View User Profile
-
Send Message
Posted Jan 29, 2014I've a question concerning leveling. How do we know how much hp a player gains per level? I know there's a max hp and a starting hp, but there's no "max level", so I can't infer how much max-hp a player gains per level.
-
View User Profile
-
Send Message
Posted Jan 29, 2014You should try adding a feature where you can set the amount of health by rank/permissions
-
View User Profile
-
Send Message
Posted Jan 29, 2014Would also like to have a system that predawnia mentioned before. Basically implement ways for players to lose a configurable amount of maximum hp through normal means, such as a player death. In addition to making it configurable, an option between a fixed amount of HP loss & percentile HP loss would also be a great addition :)
-
View User Profile
-
Send Message
Posted Jan 26, 2014@DarkGlitch
I will send you a PM with the 1.6.4 version. EDIT: Sorry, i can't.. some things are not working in 1.6.4, sorry.
-
View User Profile
-
Send Message
Posted Jan 26, 2014Is there a 1.6.4 version for this? I could've sworn there was about a week or two ago. I have a private server running 1.6.4 mods I wanna use this with!
-
View User Profile
-
Send Message
Posted Jan 21, 2014@Desle
Great, I look forward to. All things you can add to this plugin is welcome. Now it is good, just need to get better.
regards
-
View User Profile
-
Send Message
Posted Jan 21, 2014mysql :(
-
View User Profile
-
Send Message
Posted Jan 21, 2014@Mre30
If you don't have the starting-hp set to minecraft's default, then a command like that won't work, so i'm not sure how to do that.
-
View User Profile
-
Send Message
Posted Jan 21, 2014@therennon
Thank you, alot! I'm not that great with Java, so i don't think i can make a system database.. The Permit system i won't implement, because there are alot of plugins that change health, based on permissions (Like DakadoHealth). The Translation, yes, I will add more to the configuration file, including the messages.
-
View User Profile
-
Send Message
Posted Jan 21, 2014Hello,
I can only applaud this plugin, it's the best I've seen in Minecraft is a plugin that greatly improves the game. I congratulate you.
Now I would like to add a few improvements that I think are necessary:
Thank you so much and good luck.
-
View User Profile
-
Send Message
Posted Jan 20, 2014We need a command to reset everyones health back to the mc default.
-
View User Profile
-
Send Message
Posted Jan 17, 2014@predawnia
sure, i'll look into it.