MP Health Power 1.1.0

Modify your users hp based on permission groups or individually

  1. lelesape
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    • 1.15
    hp heather.png
    Modify your users hp based on permission groups or individually. Great for RPG servers!
    This plugin is for those seeking for a plugin that can modify users max health but couldnt find one that suit their needs yet, just like me!

    features.png
    • Groups based max HP (ie: user: 10HP, admins: 20HP)
    • Individually based HP
    • HP set (player) command for setting a players max health independently of their group
    • HP add (player) command for adding hp to a players max health independently of their group
    • Check and correct a players HP to the HP specified in config on join, with ability to disable this feature
    • HP GUI for buying or selling HP
    commands and permissions.png

    Commands:

    -/HP -
    Opens the GUI (if enabled, otherwise shows help)
    -/HP help - Shows this list of commands
    -/HP version - Show the plugin's current version
    -/HP reload - Reloads the plugin's files
    -/HP set (player) (HP) - Sets a player's max health to the specified
    -/HP add (player) (HP) - Adds HP to a player's max health

    Permissions:

    -healthpower.version
    - Allows you to check the plugin's current version
    -healthpower.reload - Allows you to reload the plugin and its files
    -healthpower.set - Allows you to set a player's max health
    -healthpower.add - Allows you to add HP to a player's max health
    -healthpower.gui - Allows a player to open the GUI
    -healthpower.* - Gives access to every permission available

    config.png
    Code (YAML):

    config
    :
      prefix
    : '&f[&cHealthPower&f]'
      # Should the plugin tell the console the group of a player when they join?
      debug
    : false
      # Whether or not the plugin should check AND CORRECT a players HP based on HP.yml
      check HP on join
    : true
      check HP on reload
    : true
      # If the above options are true, and the player was not in the file, should the groups system be used instead?
      # Needs a permissions plugin
      use groups system
    : true
      GUI
    :
       # Should this feature be enabled?
        enabled
    : true
        # The title you want for the GUI
        title
    : '&c&lBuy HP'
        # Size of the menu, MUST be a multiple of 9
        size
    : 27
        # Items go from 0 to the size you specified -1
        items
    :
          '12'
    :
            material
    : REDSTONE
            name
    : '&cRemove 1 heart'
            lore
    :
             - '&fClick on this item'
              - '&fto remove 1 heart from your HP'
              - '&fPrice
    : &e%price%'
              - '&fAffordable
    : %affordable%'
            type
    : add
            amount
    : -2.0
            price
    : -500.0
          '13'
    :
            material
    : DIAMOND
            name
    : '&fSet hp to 6 hearts'
            lore
    :
             - '&fClick on this item'
              - '&fto set your hp to 6'
              - '&fPrice
    : &e%price%'
              - '&fAffordable
    : %affordable%'
            type
    : set
            amount
    : 6.0
            price
    : 0.0
          '14'
    :
            material
    : EMERALD
            name
    : '&aAdd 1 heart'
            lore
    :
             - '&fClick on this item'
              - '&fto add 1 heart to your hp'
              - '&fPrice
    : &e%price%'
              - '&fAffordable
    : %affordable%'
            type
    : add
            amount
    : 2.0
            price
    : 500.0
          '8'
    :
            material
    : book
            name
    : '&6%name%''s info'
            lore
    :
              - '&fbalance
    : &a%balance%'
              - '&fHP
    : &c%HP%'
            type
    : info
            amount
    : 0.0
            price
    : 0.0
        # the format needed:
        # items:
        #  material: the type of item
        #  name: the name the item will have
        #  lore: lines of lore to add to the item
        #  type: the hp modify type
        #  (add = add hearts, set = set hearts, info = player info only. Will not modify HP, any other options = add)
        #  amount: the amount of hearte to add or set to
        #  price: the amount of money to be taken from the player (can be negative numbers)
      messages
    :
        list of commands
    : '&6List of commands'
        no permission
    : '&cNo permission'
        use
    : '&cUse: &f/%command% %what% (player) (HP)'
        not online
    : '&cThat player is not online'
        must be a number
    : '&cHP must be a double number (ie: 1.0)'
        unknown command
    : '&cUnknown Command, try &e/%command% help'
        set HP
    : '&9%player% &fjust set your HP to &c%HP%'
        add HP
    : '&9%player% &fjust added you &c%HP% HP'
        you set HP
    : '&fYou just set the HP of &6%player% &fto &c%HP% HP'
        you add HP
    : '&fYou just added &6%player% &c%HP% HP'
        gui set HP
    : '&fYour HP is now &c%HP%'
        gui add HP
    : '&c%HP% HP &fhave been &aadded &fto your total health'
        gui remove HP
    : '&c%HP% HP &fhave been &cremoved &ffrom your total health'
        yourself
    : 'yourself'
        hp automatic set
    : '&aYour &cHP &ahas been set to &c%HP%'
        opening gui
    : '&fOpening buy hp menu!'
        error opening gui
    : '&cThere was an error while trying to open de buy hp menu, talk to an admin or check console'
        no money
    : '&cYou do not have enough money. You need &f%price%&c, and you have &f%balance%'
        not enough hp
    : '&cYou do not have &f%hp% &cspare hp'
        'yes'
    : '&ayes'
        'no'
    : '&cNo'
     

    Code (YAML):
    HP:
     # Setting or adding HP to a player overrides the group option
      players
    : []
      groups
    :
        owner
    : 20
        admin
    : 18
        user
    : 6
    reviews.png

    If you review my plugin let me know so i can put your video here
    to-do.png
    • Add a "health buy" GUI for users to buy more HP, with ability to disable it completely (DONE✅)
    • Modify max hunger (Requested by swerck)
    • Accepting suggestions via DMs and discord server
    support.png
    discord logo.png


    terms of use.png
    By using this plugin you agree to the following terms:
    • You cannot sell this plugin
    • You cannot claim this plugin as yours
    • I can modify this terms at any time without any kind of notification
    If you find any bugs please let me know, also make sure to rate this plugin, thank you!

Recent Updates

  1. GUI update
  2. Update!

Recent Reviews

  1. swerck
    swerck
    5/5,
    Version: 1.0.0
    Works fine thank u every much ! Can u do an Plugin this Hunger?

    Thanks thanks thanks
    1. lelesape
      Author's Response
      Hey! Thank you for your review! of course, I will take a look into that