Dakado Health



Have you ever wanted to add to your VIP group something special or just wanted to have server with levels and their bonuses ? Or just simply wanted more fun ? Now it is possible, with this plugin you will be able to set max player's health from 1 to 999999. This plugin was originally made for my RPG server called WoWCraft with level and HP-system and for GameTeam.cz community.

Features:
- More hearts!
- Set max player's health.
- Add max player's health.
- Decreasing max player's health.
- Check player's max health.
- Healing player to his maximum health.
- Healing other players.
- Configurable default health of players.
- Configurable messages (By default are in English).
- Automatic update of configured player's health.
- Checking actual/ max HP.
- You can enable faster health regeneration.
- *Let your players buy hearts!.*New*
- Multiworld Support, your HP will stay over all worls!
- Regeneration options, define how fast will hearts be regenerated!*New*
- Option to completely disable regeneration.*New*
- *Permissions health! Player with permission will receive certain amount of HP*New*
.png)
Health Permissions:
Health permissions have been changed! Now you need to configure them in the in config, this change is caused by heavy code from the old system. Just look at the configuration section.
Configuration:
(Click, that a link).
Commands:
(Old command system works too, but try to use the new one).
/dhp help:
description: Displays the help menu.
/dhp buy <amount>:
description: Player buys HP for the specified cost in config.
/dhp increase <player> <amount>: (In v2.7 console command only!)
description: Adds player's max health.
/dhp add <player> <amount>: (In v2.7 replacement of "hpincrease" command)
description: Adds player's max health.
/dhp set <player> <amount>:
description: Sets max player's health.
/dhp decrease <player> <amount>:
description: Decreases player's max health.
/hp:
description: Check your actual/ max health.
/hp <player>:
description: Check actual/ max health of other players.
/dhp heal (player):
description: Heals player.
/dhp reset (player):
description: Resets player's health to default.
/dhp reload
description: Reloads config.
Permissions:
hp.helphp.buy
hp.increase
hp.decrease
hp.check
hp.hp
hp.hp.others hp.reset
hp.set
hp.heal.others - Healing other players.
Tutorials:
(outdated) (Click, thats a link).Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the informations about plugin and server version are collected and sent to mcstats.org.If you wish to disable this feature, you can do so by opt-ing out, which you can do in the config file under /plugins/PluginMetrics/
TO-DO List:
HP Toogle. Per world HP.
Feature requests, issues and questions:
If you have any questions about my plugins post it in comments or shot me a PM here on Bukkit. Please remember that I am coding this public plugins in my free time for you guys. I have nothing from it and I am not payed to code this plugins, so be patient and grateful, thanks. Also if I helped you or you like my work please donate it will give me motivation :)Donations:
If this plugin helps you please feel free to donate and keep this project updated. I am coding public plugins in my free time for you guys!

Please add 1.8 support or make a source code!
Hi im getting an error when i use /dhp buy 1 = Internal error 28.10 20:47:25 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at vip.production.dakado.Health.DakadoHealth.onCommand(DakadoHealth.java:486) [?:?] 28.10 20:47:25 [Server] INFO Caused by: java.lang.NullPointerException 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:880) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1043) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:767) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [custom_server.jar:git-Spigot-1.7.9-R0.2-204-g534549b] 28.10 20:47:25 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'dhp' in plugin DakadoHealth v3.2.3 28.10 20:47:25 [Server] ERROR null
Whenever I use the commands /dhp add, /dhp increase, or /dhp decrease in order to modify a player's health, the health turns back to normal after restarting the Server. Is this because health permissions are overriding it?
Hi, I love this plugin, You can make it support MYSQL!
NOT WORKING on Bukkit 1.8.1
Hi. I just tried to use this plugin on the 1,8 Spigot build. I got this error.
[14:58:57] [Server thread/INFO]: [DakadoHealth] Enabling DakadoHealth v3.2.3 [14:58:57] [Server thread/INFO]: [DHP] Starting plugin! [14:58:57] [Server thread/INFO]: Version: git-Spigot-9a88a38-2ba7357 (MC: 1.8) [14:58:57] [Server thread/INFO]: ********* [14:58:57] [Server thread/INFO]: [DHP] Plugin disabled due to version missmatch! [14:58:57] [Server thread/INFO]: [DHP] Please update your server to 1.7.x or download new version of Dakado Health! [14:58:57] [Server thread/INFO]: ********* [14:58:57] [Server thread/INFO]: [DakadoHealth] Disabling DakadoHealth v3.2.3 [14:58:57] [Server thread/INFO]: [DHP] Loading configuration... [14:58:57] [Server thread/ERROR]: Error occurred while enabling DakadoHealth v3.2.3 (Is it up to date?) org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register DakadoHealth v3.2.3 while not enabled at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:524) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at vip.production.dakado.Health.DakadoHealth.onEnable(DakadoHealth.java:63) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:352) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:313) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:494) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-2ba7357] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_72]
Does this mean you do not support newer releases?
QUOTE: "@Formula350:
hi what plugin do you use in it's place ?"
I use PermissionsHealth now. I had some odd problems with it at first, where I had to use bPermissions to get it work, and then was having issues getting them to work alongside WorldGuard (v6, for the record) each other which is not surprising really. Ended up then disabling bPermissions and... health was now being applied via WorldGuard. So I dunno, maybe I configured something weirdly initially and that's why it wasn't working *shrug*
Regardless: PermissionsHealth and WorldGuard, for md_5's CB1.8-R0.1, and I haven't been having any problem with health since then.
I like DakadoHealth more, far more user-friendly, can easily add health in-game for starters. My only gripe about it is that if you're an Op you're stuck at the amount you have set for them in the config. Again, I might be doing something wrong lol But just doesn't appear as though the Permission-given HP overrides the "Op" set amount. Small price to pay I guess heh
@Formula350
hi what plugin do you use in it's place ?
@silentspectr
As an Op you receive the highest set permission, "hp.perm2" I think it's called, which is triggering however much health it's set at. :) You can remove those if you don't want to use them, but add more if you need to. I just hope he'll update to CB1.8R0.1, as I've had to use a different plugin in it's place. :\
Hi i'm using your plugin and it's really helpfull for my server i just have a little problem, my config file specifies that
Health: default: 20 newdefault: 20 operator: 20 Settings: installed: true joinheal: true alwaysdefault: true changeworldmsg: true
my problem is that when an operator logs in the server, his healthbar is at 20 hearts (2 lines) and i need to input a "/dhp reset" to have my 10 normal hearts, but with the same config for default and newdefault users, all the other non op player log with only 10 hearts (1 line). So it's not a big problem since only ops have this bug and we are only 3 but how can i fix this ?
i'm using version DHP version 3.2.3 on a cauldron 1.7.2 server
Thanks
@Roadhog360
Lmao, you have to actually configure it, retard. Give them the correct perms and heal anyone who is still at 1/2 a heart.
Thanks for messing up my server, I install this, and everyone has half a heart every time they log in, I uninstall the plugin and it doesn't stop no matter what. So basically your plugin implanted something on my server that's giving players 1/2 a heart weather it's installed or not.
@mokapang
I cannot fix bugs of other plugins, you may ask the developer of mythicmobs plugin, not me.
I find some bugs. If I use this plugin with 'mythicmobs' plugin, equiping armors or weapons which have health options(not enchantment but mythicmobs stuff), the health bar of player keep increase when the player use warp command or warpgate. There is no crush message on log. If you can fix this problem it'll be great.
@Cymcraft
Yes, what version of plugin you are using ?
I don't seem to be noticing a difference with Regeneration.
I'm attempting to slow down the speed at which health regenerates.
Regeneration: fastregeneration: false disableregeneration: false custom: true multiplier: 0.1
Is this right?
@ProjectA
What do you think by "Everytime i do it the player set health always overwrites the Group set health???" ? Sorry but I do not get what you wrote.
@TeuzBr
Yes I will, I was away thats it. But your problem is very simple to solve, your economy is not working properly or you are missing vault or something like that, please make sure you have vault and supported economy plugin installed and also economy option enabled in config.
HELP!
How do you make it so that players follow the group permission (set in group) health??
Everytime i do it the player set health always overwrites the Group set health???
Any way to fix this ???
You will not say anything about the error that I reported? Do something.
Error when trying to purchase health http://prntscr.com/3wm0s4