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 12, 2016@RUSDegamus
No more. Another user already translated it.
-
View User Profile
-
Send Message
Posted Dec 29, 2015Do you need a Russian Localizator?
-
View User Profile
-
Send Message
Posted Oct 25, 2015@Hosahu
This ist not possible.
-
View User Profile
-
Send Message
Posted Oct 25, 2015Please implement a way to check the hp of a offline player.
-
View User Profile
-
Send Message
Posted Oct 19, 2015@therennon
Ok. I´ll do it.
-
View User Profile
-
Send Message
Posted Oct 17, 2015You can add a option for disable "XP SOUND" when kill a monster? please :/
thx u
-
View User Profile
-
Send Message
Posted Sep 14, 2015@Space_m0nkey
Its not an error.
When the player has 10 Hearts (20 HP) and needed xp in the config is set to 20:
20*20
20 HP times 20 is 400.
20 HP times 30 is 600.
21 HP (level 2) times 30 is 630.
To your idea with the permissions:
I have written you a PM.
-
View User Profile
-
Send Message
Posted Sep 10, 2015Great plugin i just freacking love it.So nice for my Enhanced Survival xP There is only 1 thing, im running it on 1.8 and idk but there is a but at the needed-xp-is-hp-multiplied-by: 20 node When i use the default its ok, but when i try to change it - for example i set it to 30.The next xp needed to level up goes from 400 to 600 not to 420.If i set it to 100, xp for the next lvl goes to 2100 !After leveling up it goes to normal.For example [set to 30] at lvl 2 xp needed is 630 etc... And a suggestion, id love to see if you add some more perms.A specific(default) group to have a perm so they can lvl up to only lvl 5.Group (vip) lvl up to 6.Group donator lvl up 7.And so on.That would be a great feature ! ! I know i'd love it ;) Cheers !
-
View User Profile
-
Send Message
Posted Aug 4, 2015Please create support for 1.8.8
-
View User Profile
-
Send Message
Posted Aug 3, 2015@quintoking
You can config if the players get XP for other players since ... long time ago.
Hmm... I understood it like this:
Every 1 Hearth more, the player does 10% more damage with a sword.
I´m not sure if i implement this because this plugin is named "RPGHealth" but i´m thinkin about it next time.
-
View User Profile
-
Send Message
Posted Aug 2, 2015Since the 1.8.8 update the plugin no longer works is there any plans to update this plugin soon?
-
View User Profile
-
Send Message
Posted Aug 2, 2015this plugin no longer works on 1.8.8, is there an update coming soon?
-
View User Profile
-
Send Message
Posted Aug 1, 2015@bennsoncatMC
We should get to config if they get xp from players and / or mobs to give them more health and do more damage! :)
-
View User Profile
-
Send Message
Posted Jun 15, 2015@Adamantyte
Not yet.
Maybe i can add it. Should the players do more damage on mobs or mobs on players? Have you an example for the config?
-
View User Profile
-
Send Message
Posted Jun 15, 2015IS there a damage modifier we can use?
-
View User Profile
-
Send Message
Posted Jun 15, 2015@TiTech1
I believe that mysticmobs is supported because this plugin doesn`t add reale new mob. It only customize existing mobs. Sorry if i am wrong. I can`t test it. I`m not at home yet. Try it at your own!
-
View User Profile
-
Send Message
Posted Jun 15, 2015Can this support mysticmobs?
-
View User Profile
-
Send Message
Posted Jun 13, 2015@Ethon6
Please use the latest version (1.1.2).
If this version not works:
-restart your server (not reload)
-update craftbukkit/spigot to a supportet version (1.8.3 .6 .7)
-try to update java (1.8.0 is already out)
-
View User Profile
-
Send Message
Posted Jun 12, 2015I have a bug.
12.06 08:25:14 [Server] INFO ... 14 more 12.06 08:25:14 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:295) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_76] 12.06 08:25:14 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_76] 12.06 08:25:14 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [?:1.7.0_76] 12.06 08:25:14 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_76] 12.06 08:25:14 [Server] INFO at me.Bleuzen.RPGHealthPlus.Main.onJoin(Main.java:308) [?:?] 12.06 08:25:14 [Server] INFO at me.Bleuzen.RPGHealthPlus.Main.updatehp(Main.java:392) [?:?] 12.06 08:25:14 [Server] INFO at org.bukkit.craftbukkit.v1_8_R2.entity.CraftPlayer.setMaxHealth(CraftPlayer.java:1221) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at org.bukkit.craftbukkit.v1_8_R2.entity.CraftLivingEntity.setMaxHealth(CraftLivingEntity.java:98) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at org.apache.commons.lang.Validate.isTrue(Validate.java:136) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO Caused by: java.lang.IllegalArgumentException: Max health must be greater than 0 12.06 08:25:14 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_76] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:534) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:626) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:336) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:742) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.ServerConnection.c(SourceFile:168) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.NetworkManager.a(NetworkManager.java:222) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.LoginListener.c(LoginListener.java:53) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.LoginListener.b(LoginListener.java:115) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.PlayerList.a(PlayerList.java:142) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at net.minecraft.server.v1_8_R2.PlayerList.onPlayerJoin(PlayerList.java:282) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:297) [craftbukkit35.jar:git-Bukkit-63e28b1] 12.06 08:25:14 [Server] INFO org.bukkit.event.EventException 12.06 08:25:14 [Server] ERROR Could not pass event PlayerJoinEvent to RPGHealthPlus v1.1.0
Plz see down to up!
-
View User Profile
-
Send Message
Posted May 24, 2015This is amazing. Please keep up the good work :)