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.
Create pleas next version for this plugin.
I like this plugin.
please D: i know you can D: please.. this plugin is very awesome........
I've decided to stop updating this plugin, since the coding is too complicated, i almost don't want to look at it, since it's so stupidly coded. That's because this was my first project, and i've learned alot since then. Sorry for this.
hey b*tch update this plugin please D:
41.38.27.211:25565
Could you use the gui of the xpbar for the hp leveling?
@attacker1983
You could do it individually with my plugin SetAmounts or wait for the update that will allow for all player's healths / maxhealths to be set.
hey i just uninstalled this from my server and people still have low/superhigh hp and they have died how do i fix this
/hp does not work even with the permissions set.
Using PermissionsBukkit
I think it would be AMAZING if you could make it so you can lvl your hunger gauge. You could lvl it by eating more food, for example, eating a god apple can give you 50-80 xp, while steak gives you 10-20 xp. It can follow the same format as the health lvling. And Im not sure if I messed up the plugin, or it's just a fault, but am I the only one having the problem with people spawning with only 2 hearts when ever they go to another world? It would be great if you could fix that soon, maybe after you get back from vacation :D I use it on my server, and people are getting a "little" annoyed by it. And I see you are accepting IPs for advertising your Plugin. Heres mine for my server: 98.220.36.186, the server name is StygianWars. We are trying to make it a FULL RPG server, and this plugin is a must with out a doubt. I love this plugin, my favorite game genre are RPGs, so this made Minecraft A LOT better for me, thanks for your work!
I'm just saying so you could fix it later.
I am on vacation, I can't do anything / fix bugs. Sorry. I'm home again in 2-3 weeks.
After teleporting to another world for example by /warp enchant player's health is set to 5 no matter what. It's really annoying and i had to add autoheal on warps :/ Could you fix it? Plugs: essentials,wg,we,multiverse,etc...
@AsiAticStaTiC
"@Dmck2b: Go
You can change levelling for players, set their hp, etc. All individually. And no sorry, there's no multiworld support.. I don't think i'm going to make it soon. (I will at some point though)"
@Desle
Would it be possible add multiworld permissions for this? Or possibly release the source code so we could do it ourselves if you can't :)?
Thanks!
@Desle
The /gethp command isn't working for me. I'm running the most recent Dev build of Craftbukkit, and I'm getting this error when the command is issued:
18:22:21 [WARNING] Unexpected exception while parsing console command "gethp" org.bukkit.command.CommandException: Unhandled exception executing command 'geth p' in plugin RPGHealth v0.401 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 9) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServe r.java:523) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(Craf tServer.java:512) at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java: 262) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:2 27) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:4 86) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java :419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5 82) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at me.Desle.MoreHealth.Main.onCommand(Main.java:73) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
Also, this is displayed in-game. http://i.imgur.com/dMNn5Yr.png
@Desle
Alrighty, I was hoping to only have it going in one of my worlds, thanks anyway :(
@Dmck2b
You can change levelling for players, set their hp, etc. All individually. And no sorry, there's no multiworld support.. I don't think i'm going to make it soon. (I will at some point though)
Looks great, any chance of multiworld support and permissions to enable/disable per player? Thanks ^^