Show Minecraft natural regeneration for only one player?

Oy
- in Servers
3

I'm playing zsm with a couple of friends on a Minecraft server and only one person wants to play without natural regeneration. The question now is whether there's the option to deactivate this for only one player, and how this works. (The server runs with the 1.16.4 version)

St

Only with a plugin, but with commands only Eigl. Not, at most execute possibly.

Oy

Mhh okay then I'll find out more.

Cr

But that is a bit cumbersome.

Everyone who should regenerate normally needs the day naturalRegen (but you can easily change it yourself).

/ tag @p [tag =! NaturalRegen] naturalRegen

or

/ tag playername naturalRegen

You set the gamerule naturalRegeneration to false and then let the following command repeat continuously.

effect give @a [tag = naturalRegen, nbt =! {ActiveEffects: [{Id: 10b}]}, nbt = {foodLevel: 20}] minecraft: regeneration 5 0 true