Bonus Player Hearts

Discussion in 'Plugin Requests' started by junebirds, Jan 14, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    junebirds

    Minecraft version: 1.15 / 1.15.1

    Suggested name: Bonus Hearts

    What I want: A plugin that can set, add, and remove maximum health from players through commands to a minimum and maximum of 10-80 (equivalent to 5-40 hearts). If feeling generous a config file for minimum and maximum variable option INSTEAD of hard-coded ones, and a chat message that tells you "Bonus Hearts: Your maximum health has changed!"

    Ideas for commands: arguments: set/add/remove <player><variable>
    examples:
    /bonushearts add Junebirds 1
    /bonushearts remove Junebirds 10
    /bonushearts set Junebirds 40

    Ideas for permissions: bonushearts.perm would give the player access to all commands.

    When I'd like it by:
    any reasonable time please!

    /edited for clarity
     
    Last edited: Jan 14, 2020
  2. Offline

    Pr0totype2

    Why would you need a config if it's all command-based?
    Missed the message part

    A simple search got me this, this (with config), this, this and this.
     
    Last edited: Jan 14, 2020
  3. Offline

    junebirds

    Thank you so much for the help! Unfortunately I actually have looked into all of them and none of them provide a +/-<variable> feature, and most are super depreciated. The main goal i'm trying to achieve is losing or gaining health from in-game events!
     
  4. Offline

    Pr0totype2

    Do you need their max HP to be saved when they relog and / or when the server restarts?
     
  5. Offline

    junebirds

    yes that's actually really important, since I want to encourage players to work hard to earn hearts, or lose some maximum health on deaths for example, but I'll directly support those through /bonushearts add {player} 1 or something through the console! Thanks!
     
  6. Offline

    RandomUnknown

    Not sure if this is what you're looking for. But My plugin HealthPermissions uses permissions to set the max health. It also chooses the highest permission. So if a player has multiple or inherit lower ones the highest will be chosen. I could adapt the plugin to suit your use case if it does not already.
     
  7. Offline

    junebirds

    Thank you for your interest! I love the idea but the issue is the game knowing the player's current health cap and like for example at health 40, it wouldnt know to reward 41, or to take away 40 to leave 39 would it?

    I do love the idea of the inheritance though, I intend on rewarding health increments as an on-kill effect from monsters rarely through some kind of script or as a random reward as well so its ideal if commands could somehow follow a /add 1 or /remove 1 format in some way!
     
Thread Status:
Not open for further replies.

Share This Page