HealthControl2
Got an error? Heres how to post it
Copy paste the entire server log that was errored into a ticket
HealthControl - The HealthControlling Plugin:
Version: v2.6.4
HealthControl was built for survival servers that wanted to change a players health based on needed instances and have less demanding plugins than those like Essentials.
Features:
Heals Players and yourself
See Players Health
Commands:
(Anything in Italics means it is not yet implemented because of the update)
/hc2 heal
/hc2 heal <playername>
/hc2 seehealth <playername>
/hc2 setloginhealth <1-20>
/hc2 getloginhealth
/hc2 setplayerhealth <player>
Changelog:
Version 2.6.4
Updated to 1.6.4
Many plans for the plugin :D
Version 1.3.1
CB 4 Updated
removed /overheal
Version 1.3
Added /overheal command
Version 1.2.1
Fixed Error
Version 1.2
Added many new features
Version 1.1.8
Fixed a few fails in code
Version 1.1.7
Added food healing and better /seehealth display
Version 1.1.6
Added config and ability to set default health
thanks to http://dev.bukkit.org/profiles/Masonnasty/ for the idea
Version 1.0
Added the ability for the player to heal others
Version 0.7
Bug Fixes for internal error
Version 0.6
Added the ability for the player to heal self
Version 0.5
Fixed Major Bug
Added a Poll please choose what you want me to add!
did you change the value in the config?
Absolutely will not work :'( I've been working on a class server and this is the last thing I need for balance, and just the base health... It just doesn't change it, no errors at all.
What did you want me to make the api let other devs use?
Ill do the api soon as i am preoccupied atm
Upating the description
You can tell it to do some clever math so it would heal you for the relative amount, simulating higher health ;)
In reply to my other stuff:
The API is all I need, I was going to add the spout health to the mmoMinecraft plugin - Although I'm looking for a plugin that sets HP above 20 to hook into, as thats the only need for a seperate heatlh bar :P
As for levels, all you need is the permission node. That plugin lets you set an event, state how much XP is given on that event and then how much XP is needed to level. When you go up a level you'd get or lose a permission node - so I could configure it to just give higher permission nodes at certain levels -all you need to do is add the permissions.
nope other than a mod
Sooooo you can't have health past 10 hearts (20 hp) ever ? you can't add in where theres a higher limit?
Two suggestions:
1. Permission-based health, players with permission node healthcontrol.health.50 would get 50hp, whereas if they had healthcontrol.health.27 they'd have 27 HP. No permission node would default to the default set by the plugin.
I can do this but it will not exceed 20 health which is 10 hearts
2. A REEAAAAALLY simple API which means other devs can just hook it and get the health. I would love to make a mmoInfo addon that displays the health in a nice health bar for spoutcraft users :)
Cant do spout stuff but will do the API
This plugin is already gonna be really useful to us as we want 10x health and damage on the server, but especially that permissions thing to give each race unique amounts of health would be brilliant :P
On a more advanced scale, the permissions system there could be used along something like LevelRestriction to mean by doing something, you can slowly raise your HP cap - I'd be happy to share a config for that if you implimented it :)
Pm me the config and or source to plug into it
@Flenix1
Sorry about not mentioning the cap at 0-20 if i were to modify the cap health it would crash or require a mod
Wow, i just noticed that "Health must be between 0-20".
When i asked for controllable global health, i meant for it to exceed 10 hearts haah i just wana have 15 hearts to make the "Monster Apocalypse" plugin more fun since people wont die as easy.
yeahhh i got this error as soon as i logged on with the health set to 30 for 15 Hearts.
19:08:14 [INFO] Done (6.529s)! For help, type "help" or "?"
19:08:20 [INFO] MasonNasty [/5.94.197.228:51939] logged in with entity id 302 at
([Nastycraft] 65.26497488422261, 44.0, 198.7044441800327)
19:08:20 [SEVERE] Could not pass event PlayerJoinEvent to HealthControl
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:303)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:459)
at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
Manager.java:132
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:129)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:6
1)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.IllegalArgumentException Health must be between 0 and 20
at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLiving
Entity.java:55
at me.JamieSinn.Bukkit.HealthControl$1.playerJoin(HealthControl.java:35)
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.ja
va:301)
... 9 more
19:08:20 [INFO] [Spout] Successfully authenticated MasonNasty's Spoutcraft clien
t. Running client version: 1427
Two suggestions:
1. Permission-based health, players with permission node healthcontrol.health.50 would get 50hp, whereas if they had healthcontrol.health.27 they'd have 27 HP. No permission node would default to the default set by the plugin.
2. A REEAAAAALLY simple API which means other devs can just hook it and get the health. I would love to make a mmoInfo addon that displays the health in a nice health bar for spoutcraft users :)
This plugin is already gonna be really useful to us as we want 10x health and damage on the server, but especially that permissions thing to give each race unique amounts of health would be brilliant :P
On a more advanced scale, the permissions system there could be used along something like LevelRestriction to mean by doing something, you can slowly raise your HP cap - I'd be happy to share a config for that if you implimented it :)
EDIT: Just logged in with it and found you can't set it above 20...? That might be worth mentioning in the OP...
added
SURE thanks for replying
sooooo yeahh can you add a feature to control the default health of minecraft and maybe a config
Please comment on any bugs