On my server we set up a pvp arena with a few command blocks to make everything equal but a few of the players have more health than others by default due to mods. Is there a way to have a potion effect that sets the health to a certain amount? I would prefe it so if the effect lear command happens their health goes back instead of being permanently what it is.
As an additional note the values for <your amount> would be 1 level for every 2 hearts (so if you set it to 4 the affected player would receive 8 extra hearts).
On my server we set up a pvp arena with a few command blocks to make everything equal but a few of the players have more health than others by default due to mods. Is there a way to have a potion effect that sets the health to a certain amount? I would prefe it so if the effect lear command happens their health goes back instead of being permanently what it is.
Thank you!
/effect give @a[tag=...] health_boost 999999 <your amount> true
Something like this?
As an additional note the values for <your amount> would be 1 level for every 2 hearts (so if you set it to 4 the affected player would receive 8 extra hearts).