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
@ritipinheiro
Oops - didn't notice there was no link to the source - added it to the top of the page.
@MCwolski
Will try and look into that when I can.
Can you post the src?
I like this plugin :3
just dont like the random damage :ยด/
I'm using PermissionsHealth 0.2.01 and latest HealthBar on MCPC+152.
I set default health is 30. OP's health is 40. But all of us won't increase when reach 20.
0.2.01 works fine in the past 151 version.
:(
@Psycho089
hope you where able to work it out if you have a questions please ask =)
'' I said nothing, this plugin is amazing and working well :)
I wasn't using the correct permissions nodes ""was doing permissionshealth.hp.1 and it was set to permissionshealth.permissionhealth.hp.1 in my config ' sorry for that!
@monstercat101
This problem is not due to Permissionshealth its a problem with NametagEdit & Healthbar they don't work together even if you remove PremissionsHealth you would still Crash with just NameTagEdit & HealthBar
PermissionsHealth + NameTagEdit = Works
PermissionsHealth + HealthBar = Works
PermissionsHealth + NameTagEdit + HealthBar = Crash
NameTagEdit + HealthBar = Crash
@noraver
I am so sorry that comment was meant for another bukkit page. Sorry for the spam
@monstercat101
Thanks for the heads up i tested the plugin out and everything works besides 1 thing that will make players lose connection and that's "text-mode: true" (Keep it False) having high health with this on seems to be a problem but this is a problem for Health-Bar to fix and not PermissionsHealth other then that there newest build that came out yesterday works fine with PermissionsHealth on #2775 1.5.2-R0.2 CraftBukkit
Hey there seems to be some conflicts with HealthBar http://dev.bukkit.org/server-mods/health-bar/ the display looks awesome till I hit the player, and then both players crash.
unfortunately the little tick maybe a by product of upping your health but it's bukkit that that would need to fix that there is no way premissionshealth can remove that little tick
think its a player damaging they dont like
@ritipinheiro
a player sad?
@noraver
but the players think its a player sad
@ritipinheiro
it's not hurting you, its because you eaten a golden apple and are full health because you are reging health and and opening and closing your inventory PH is checking your health as seen in the console
when i eat a golden apple give a random hurt but no damage?
@noraver
Ok, I will disable all my plugins and see what the problem is.
@monstercat101
OP is generally for owners only not many people give op to players seeing as it gives them access to almost anything and everything OPhealth is will over write any permissionhealth nodes placed on OP's so yes this was indented.
as for the health tick every 10-20 sec unless you give me more info to work with like what action did you use, did you open the inventory, did you change your health value, did you use a heal command, what bukkit version are you using, maybe what plugins you use could be conflict if you have a other plugin that messes with health
other then that i cant recreate the health ticking on my own server with the lasted build
Ok, so when i couldnt add permissions, it was to an op player, perms don't seem to affect op players, which I see must be intended.
@noraver
i happens every 10-20 seconds when im moving.