Downloads are waiting for approval. I’ve deleted outdated ones, since i’ve completely rewritten the code of this plugin.
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.
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 for RPGHealth V1.0_01 Command | Permission -------------------------------- /gethp rpghealth.gethp //gethp <Player> //Gets the amount of hearts of the targeted player. /sethp rpghealth.sethp //sethp <Player> <Number> //Sets the HP of the targeted player to the number you defined. /addhp rpghealth.addhp //addhp <Player> <Number> // Adds defined number of HP to the targeted player. /hp rpghealth.hp //hp //This will show you your progress to your next HP level.
Default is OP
This is an explaination of how the configuration file works.
//Configuration file for RPGHealth V1.0_01 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-is-hp-multiplied-by: 20 //This will set the needed-xp. mobs-xp: //This is a list where you can define howmuch XP each mob drops. BAT: 1.5 //The XP of a bat is set to 1.5. BLAZE: 6.5 //And so on.. CAVE_SPIDER: 3.5 CHICKEN: 1 COW: 1 CREEPER: 3 ENDER_DRAGON: 350 ENDERMAN: 7.5 GHAST: 7 GIANT: 140 HORSE: 3.5 IRON_GOLEM: 13 MAGMA_CUBE: 5 MUSHROOM_COW: 1.5 OCELOT: 2 PIG: 1 PIG_ZOMBIE: 6 PLAYER: 0 SHEEP: 1 SILVERFISH: 3.5 SKELETON: 3 SLIME: 0.5 SNOWMAN: 0.5 SPIDER: 3 SQUID: 1 VILLAGER: 3 WITCH: 6 WITHER: 150 WOLF: 3 ZOMBIE: 2 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 name of the player. 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.
Since this version has been rewritten completely, it has some bugs i’d appreciate it if people that find glitches, bugs or errors report them to me, so i can fix them as soon as possible in the next version of RPGHealth.