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.
@johnharthwick
Thanks and sure, i'll come by to ask what items you want to get added.
@MrCreeperSpy
Try download the latest rpghealth version.
@bc96123
That's a small bug that's currently there. I'm trying to fix it it. It happens when a horse gets killed.
@MicChupa
I think you need a different 1.6.2 dev. Build. I'm not sure whichone though..
Hey Desle! Great Plugin :D Appreciate your work, hope you keep up the updates. Also, it'd be pretty cool if you could add configurable items that'd give a configurable amount of health... e.g. right click on emerald -> gives 10 health, etc... Although that may mess up the exp system and all :/ Well, could you add my server to the list? Server: JMCS jmcs.minecrafted.net:25674
I get an internal error when using /gethp command.
May i know what error is this? 2013-07-24 13:41:05 [SEVERE] Could not pass event EntityDeathEvent to RPGHealth v0.401 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:327) at net.minecraft.server.v1_5_R3.EntityLiving.dropDeathLoot(EntityLiving.java:945) at net.minecraft.server.v1_5_R3.EntityLiving.die(EntityLiving.java:893) at net.minecraft.server.v1_5_R3.EntityLiving.damageEntity(EntityLiving.java:750) at net.minecraft.server.v1_5_R3.EntityMonster.damageEntity(EntityMonster.java:39) at net.minecraft.server.v1_5_R3.EntityHuman.attack(EntityHuman.java:874) at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:1107) at net.minecraft.server.v1_5_R3.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:115) at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NoClassDefFoundError: org/bukkit/entity/Horse at me.Desle.MoreHealth.Main.onEntityDeath(Main.java:1039) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 20 more
@Desle
Hey, i'm having an issue properly installing RPGHealth to my server. When I start my server up, it gives me the notification "Could not load plugins/RPGHealth.jar in folder plugins". And then a few lines down it says "Unsupported class version error". I am currently running the newest development build of CraftBukkit, and i installed the latest version of RPGHealth. Is there something i'm getting wrong in the installment process? Or is the plugin not built for the earliest version of CraftBukkit?
@YepImRobbie
Thanks for deciding for me if it's in it's alpha state or not, I guess. Never knew others were able to do that. Anyways, if the server owner configures the plugin the right way before using it, everything will work just fine.
I don't intend to discourage any server owner, but this plugin is still in it's alpha stages and has caused a mass amount of annoyance for me in particular as it permanently kept the player's heart amount setting upon removal. If you're of a small community, then perfect it won't be too hard to fix after, but ones holding larger communities, this will be an extreme pain to fix.
Though the plugins concept is good, which is of course why I installed it in the first place; doesn't meet up to its expectations. I am confident that over time this plugin will blossom into one which is fully configurable and bug free, but in the mean time is not.
@Desle
Okay, apology accepted. Where do I disable levelling? If I have to do it individually for each player..
@jrdnlsk
Use DakadoHealth for now, i'll make this soon.
@Mushroomkngwasmo
There is, check the configuration file ;)
@YepImRobbie
Right.. sorry. You'd need to reinstall it again, disable leveling and set the default HP back to 10. Once everyone has 10 HP again, you can remove the plugin.
Is there a maximum HP level we can set?
I don't believe this, I've de-installed the plugin yet users are still on 5 hearts, permanently. How do I fix this?
can you have it to where you can set the hp of specific groups? Example: Group1 20 hp (normal) Group2 25 hp (member) Group 3 40 hp (donator)
@Yoyuyi999
I removed it because what's the point of having a server in this list that's not even joinable? You need to be whitelisted.
@Desle
Ik, I was deleted from the server list, but my server isn't out yet. When it is is it possible to add again?
@MrCreeperSpy
Then you should really get a dedicated server host.