Permissions Health
"PermissionsHealth - change the way you play"
About
PermissionsHealth optimized!
Ever wanted to make a RPG server and have each class have it's own HP, like a Tank that has 40 health or a Archer with 15 health? Well now you can!
PvP Fights too short? 20 health just not cutting it? Well change that!
PermissionsHealth lets you change all that just add the Permissions node to the group/classes/races/factions do I need say more?
Oh almost forgot, PermissionsHealth not only lets you change the Health but set it to whatever you want in the config - that's right, you want 1000 Health? Well DO IT!
Features 2.1
- Custom Health for Groups/Classes/Factions/Races that you have in your Permissions
- Lightweight
- Easy to use
- Custom permission nodes
- Ability to add nodes in-game
- Now able to change Health of node's in-game
- HealthRegainScale (read config)
Example
In this photo I used HealthDisplay to show the example of health change.
VIDEO
Thanks to Reoss for showcasing PermissionsHealth on YouTube zockkingLP =)
If you have a video you like to submit just PM me or leave it in the comments. If it showcases the plugin or shows how to fully use it I would love to add it =)
Configuration
PermissionsHealth has had a whole new makeover, please check up on new config page.
Commands
Command | permission | description |
---|---|---|
/phr | phadmin.reload | reloads the config |
/ph reload | phadmin.reload | reloads the config |
/phh | phadmin.heal | used to to fully heal you |
/phh <player> | phadmin.heal | used to to fully heal a player |
/pheal | phadmin.heal | used to to fully heal you |
/pheal <player> | phadmin.heal | used to to fully heal a player |
/ph heal | phadmin.heal | used to to fully heal you |
/ph heal <player> | phadmin.heal | used to to fully heal a player |
/ph hp | phadmin.showhp | used to view your current health |
/ph hp <player> | phadmin.showhp | used to view target's current health |
/php | phadmin.showhp | used to view your current health |
/php <player> | phadmin.showhp | used to view target's current health |
/ph add <node_name > <healthvalue> | phadmin.add | Add's a new Node to the config |
/ph update <node_name> <healthvalue> | phadmin.update | Updates the Node's Health in config |
[NOTE: ophealth & defaulthealth must be changed from config no command for them yet same with HealthRegainScale
Permissions
Permissions are unlimited but need to start with "permissionshealth.", eg:
permissionshealth.mynewpermission
permissionshealth.hello_kitty
permissionshealth.best_class_ever
Any dot in the permission name is replaced with an underscore. When you're in-game and type /ph add level.1 30 - it will turn out like this:
permissionshealth.level_1
Permissions Plugins Note:
When dealing with inheritance check here permissions inheritance.
Recommended Plugins
Lore Attributes | ||
Health-Heads | ||
Health-Bar | ||
HealthDisplay | 1000 health displayed as 500 hearts meaning 2 health = 1 heart. | |
TimedPex | Automatically ranks users to another PermissionsEx group after a set period of time. This can be useful for servers that have a hierarchy by gameplay time, or to automatically change players from 'default' or guest ranks to 'member' for being active on a server. | |
ServerSigns | Lets you buy permissions, groups, ranks, classes & races with in-game money. You can add a Permission Health node for them, increasing or reducing max-health depending on your preference. |
Do you have (or know of) a plugin that you think works great with Permission Health and would like to see it up here? Leave a comment below and give me the link to check it out =)
Permission Plugins
zpermissions (Untested)
yapp (Tested)
permissionsranks (Untested)
grouppermslite (Untested)
permissionsex (Tested)
permbukkit (Untested)
totalpermissions (Untested)
bpermissions (Tested)
droxperms (Untested)
xperms (Untested)
If you are using one of thse permission plugins and can confirm it works let me know =D
PermissionHealth should work with all these but still like to add it.
Optional Plugins
HealShow | |
Pvp-Health |
Any plugins that have to deal with health being displayed in chat can result in a lot of spam or slow your server down. Test them out and if they work for you that's great.
Current Build
- Craftbukkit 1.5.1-R0.3 #2760
- Bukkit 1.5.1-R0.3 #1756
- Java 6
Installation instructions
- Download PermissionsHealth.jar
- Drag and drop it in to your /plugins
- Start the server once to generate a config.yml file
- Setup you config file change health how you want it.
- Open permissions plugin you are using and add the node to the groups you want them to.
- You're ready to go!
Removal instructions
Before you just remove PermissionsHealth:
- make sure everyone quits the server this ensures
- there Health is set to 20 when they logout
- after that remove PermissionsHealth
- When players join server they will be in temporary god mode
- to get them out just hit them with a heal or throw a splash health potion at them
Other Plugin Conflict
- PermissionsHealth may have conflict with plugins that display ASCII HP-bars. (Tested) if it's a chat display of health they may cause spam to you and your users. in the chatlogs
- PermissionsHealth may have conflict with plugins that set your max health. (Tested) Other Plugins that allow you to set your health will no longer work due to events that are places to maintain health from staying or bring abused. Events are: PlayerJoinEvent & InventoryCloseEvent that set that health to the configure amount (InventoryCloseEvent was implemented so health would be updated if Player Gained a New permission Node or GuestHealth was changed from ingame.), now PlayerKickEvent & PlayerQuitEvent set the player to 20 health the reason this is in place so if plugin is removed the player does not keep the health he obtained from the plugin.
- Just talked to garbagemule about fixing health for Mob Arena and in his next update it should now fully heal you when joining MobArena =)
Bugs?
/ph reload gives Ah internal error occurred while attempting to perform this command This only happens when you have a higher amount of Hp and then lower it in the config and type reload, but don't worry even thought it gives you that error we added a small work around so when you get the error rest assured the command worked
Servers Running PermissionsHealth
Do you have a server that is running PermissionsHealth? if so give me a address and i add you on here =) (Note:I can only add servers that are running online mode.)
Support Banner
Does your plugin support Permissions Health? or you want to show others you use permissions Health then heres a small banner =D
http://oi40.tinypic.com/2vtb4vr.jpg
ZariusT , we will wait for your latest build. Don't give up .
please fix this quick . This Plugin is Awesome I need this plugin for my server. But When They die it resets to 20 please fix it :|
@Faldonboy @Linyrae
In regards to the attributes and hearts displayed issues - once Bukkit adds some more API options for this I'll see what I can do.
@aybarsius
I'll look into this issue.
After The Players ReSpawn Their Health Reset to 20 . How can I fix this.
@Faldonboy
Whoops, I misinterpreted your post. I guess what you meant was that this plugin has to become compatible with the newly-implemented health attribute, instead of trying to override it all the time. I interpreted it as this plugin needing to become compatible with other health-related plugins.
@CommodoreAlpha
the max_health attribute added in 1.6 DOES add the health instead of setting it but this plugin is causing something to go wrong with it, health added by an attribute is shown normally(and stacks fine with health from permissions-health) but if your health is higher than what is set in permissions-health and you open your inventory(or do anything that updates your health) it will do the damage animation and set your health to whatever your max health from permissions-health is.
@Faldonboy
This is likely because most health plugins try to set the max HP level rather than add to the max HP level, which is kind of poorly designed in my opinion (unless there's no other way around that method). I can understand why PermissionsHealth is setting the max HP of players, because its job is to change the base amount. I can't understand why "ability-type" plugins would try to set it too (rather than reflect off the current amount and add onto it) because that change is temporary and is not focused on changing a player's "base" max hp, but rather, giving it a boost.
If anything (and in my opinion), it should be other health-related plugins working to accommodate this plugin, not the other way around. There can be a lot of plugins with health-boost abilities, but there should only be one (main) plugin to handle the player's base health, so it would make sense for all to hook into one, rather than one to work with all.
This is all assuming that this plugin cannot change the way it "adds" health (I think it actually just "sets" it instead). If it can change its methods to become more agnostic toward other plugins, then that's great; less work for everyone in the long run.
@Linyrae
Instead of having an on-off, black-and-white kind of solution, a better (but more complicated) idea would be to have a configurable "amount of hearts shown" per permission, along with the actual max hp of that permission. For example, I could set for one permission that 20 hearts will be shown, but the person actually has 100 hp, and etc.
@Linyrae
Yes, I can confirm. I'm going to play, and I see that the strip of hearts "loaded" (after all, supposed to be full). Then as I am dying, I have only 10 hearts - but I have more hp than the bar shows hearts! This is pretty damn confusing. The latest Bukkit, the latest plugin.
With 1.6 out you can now have more the 10 hearts, any chance you could make a way to disable that because it gets really annoying if you have anything over 500 HP.
This plugin is still working perfectly for me in 1.6.1 but I do have one annoyance. Items that are added by other plugins using the health attribute are canceled out by this plugin and the health from this takes over but sometimes the health bar will flash in and out trying to show the health that was added by the attribute system. I guess this is kind of a request too, can you change the way this adds health and make it compatible with plugins that add health via attributes?
@ZariusT
Awesome! Thank you for maintaining this plugin.
@poncjusz
@poncjusz
Please provide more details - every bug report should preferably note what version of the plugin and what version of CraftBukkit you are running.
I can't replicate the issue (worked fine for me with PermissionsHealth 0.2.01 & CraftBukkit 1.5.2-R1.0-1-gf46bd58-b2793jnks)
In this case I suspect it has to do with the version of CraftBukkit - perhaps test it with a different build of CraftBukkit and let me know if it has the same issue (and what builds you tested it with).
@keytastic
Not yet, health regain is a global setting at the moment. I could look at adding that ability though.
I was looking at the config and I'm having trouble understanding it. Would this plugin be able to disable normal health regeneration on a per-world basis?
@N3SLO
1.6 is only just out and still only dev versions... give me some time :p. Most plugins should still work fine but unfortunately Mojang changed they way health is stored so permissions health needs some work. Yes, I will be updating it soon.
I am running a spigot server and PermissionsHealth has been working just fine.. now with 1.6 it shows only 1 heart filled in the bar.. and you cannot get past that. /php says I have 20 health (which is the default amount in config).. with max 500. But I cannot heal past 20.
Any chance this plugin is getting an update or is it dead?
Plugin has a serious bug! After logging a player has only one strip of hearts (even as it has more than 20hp) and they just regenerate! And after his death, although he had more bars, now has one bar. What a mess: (This is very confusing.
fix soon, need this :p
@lanceryy
Thanks for the report, will look into it.
After Spigot#911 version.
PermissionsHealth can't work on health Health-Scaling.
IT WILL ONLY SHOW HALF OF HEART ...WHEN YOU HIT by other
May i know how can fix it?