PermissionHealth・Renewed! 3.0.1

PermissionHealth, recoded and updated!

  1. zThana
    Tested Minecraft Versions:
    • 1.15
    [​IMG]

    PermissionHealth lets you change all that just add the permissions node to the group, class, race or faction. Anything works!

    [​IMG]

    Ever wanted to make a RPG server and have each class have it's own HP, like a tank that has 40 health or an archer with 15 health? Well, now you can!

    [​IMG]

    Custom Health Settings for groups, classes, factions, races, you name it. Anything that supports permissions. Besides being easy to use, it's also lightweight, comes with custom permission nodes and even the ability to change everything in-game!

    [​IMG]
    Code (YAML):
    # Limitations:
    # The minimum amount of health is 3
    # The Maximum amount of health is 10000
    #
    # May you ignore the warnings above, the plugin might not function like it should.
    #
    # HealthRegainScale examples:
    # false: default (vanilla) Minecraft regain: 1 health per every 4 seconds for 20 health
    # true: every 20 health 1 regain is added so 40 health would regain 2 every 4 sec, and so on based on 20 health.
    # 20 health = 1
    # 40 health = 2
    # 500 health = 13
    # 9999 health = 240
    # This affects your natural regeneration rate, meaning that it only affects you if you're not hungry.
    healthRegainScale
    : false

    # Default amount of health
    defaultHealth
    : 20

    # Health applied to operators
    operatorHealth
    : 20

    # Add new permission nodes here - give player permissionhealth.<name> permission
    permissionhealth
    :
        example1
    : 20
        knight
    : 50
        racename
    : 80
        knight
    : 200 # everyone with the permissionhealth.knight permission would get 200 health points
    [​IMG]

    <> = mandatory arguments || [] = optional arguments​
    Code (Text):
    /ph - Main Command
    /ph help - Help command (this)
    /ph reload (/phr) - Reload the config
    /ph hp [player] - View a player's current and max health
    /ph heal [player] (/phh) - Heal a player (or yourself)
    /ph add <node> <health_value>
    /ph update <node> <health_value>
    Aliases: [phh, phr, pha, phu, php, pheal]

    Note: operatorHealth and defaultHealth must be changed from within the configuration file. There is no command for them yet. Same goes for healthRegainScale.

    [​IMG]

    Permissions are unlimited but need to start with "permissionheal.", e.g.:​
    Code (Text):
    permissionheal.example
    permissionheal.tank
    permissionheal.elf

    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 so:
    Code (Text):
    permissionhealth.level_1
    May you be using inheritance with permissionhealth, you must set the node to negative if you don't want to be in that group.​
    Code (YAML):
    groups:
    Tank
    :
        default
    : false
        permissions
    :
       - permissionhealth.test_1
        - phadmin.showhp
        inheritance
    :
       - ''
      Knight
    :
        default
    : false
        permissions
    :
       - -permissionhealth.test_1
        - permissionhealth.test_2
        inheritance
    :
       - Tank

    Removal Instructions
    Before removing the plugin, make sure nobody is online. This ensures that everybody's health is set to 20. You can then remove the plugin.
    NOTE: When players join the server, they'll be in god mode (temporary). To get them out, affect their health by healing them!

    Known Conflicts
    • PermissionHealth may have conflict with plugins that display ASCII HP-bars. If it's a chat display of health, they may cause spam to you and your users.​
    • PermissionHealth may conflict with plugins that set your max health. Other Plugins that allow you to set your health will no longer work due to events that are used to maintain health from staying or bring abused.*​
    *Events are that set that health to the configure amount are PlayerJoinEvent & InventoryCloseEvent (InventoryCloseEvent was implemented so health would be updated if a player gained a new permission node or guest health was changed ingame.). PlayerKickEvent & PlayerQuitEvent set the player's health to 20 health. This is so plugin is removed while the player is offline, the player does not keep the health they obtained from the plugin once they come back online.

Recent Updates

  1. Update v3.0.1
  2. Update v3.0
  3. Small hotfix

Recent Reviews

  1. Mavhill
    Mavhill
    5/5,
    Version: 2.0
    Always a very useful and well made plug. Any chance of an update? Would love to continue using this well into the future.
    1. zThana
      Author's Response
      I'm updating this soon. Thanks for your review!
  2. LOLOLOL
    LOLOLOL
    5/5,
    Version: 2.0
    Hey, Pr0totype2.

    It's me eZ_Facts. Great plugin, very configurable. Just what I was looking for. Thanks for making this awesome plugin will recommend to my friends to try this one day.
    1. zThana
      Author's Response
      Glad to hear! Thanks for reviewing the plugin
  3. andrei1058
    andrei1058
    5/5,
    Version: 1.0
    It's great. I'll use it on my server in the next update. A new feature for my donors. I'll add more hp to vips :D
    1. zThana
      Author's Response
      Glad to see how much you love it and that you'll use it for a nice perk <33
  4. avighnash
    avighnash
    5/5,
    Version: 1.0
    OMG this is the plugin I have been looking for!! This plugin is A-M-A-Z-I-N-G! I use it for my survival games server.. I LUV IT.
    1. zThana
      Author's Response
      Glad you like it so much! <33
  5. Leniency
    Leniency
    5/5,
    Version: 1.0
    OMG Finally. I was looking for a plugin which could allow me to set custom health to a player. Now with this plugin I can finally do it :D
    1. zThana
      Author's Response
      Thanks for the review! I'm glad you've found what you've been searching for ;3