Is there a way for a command block to give all players infinite potion effects even after they died ?
If then, is there a way to give infinite potion effect to all mobs, animals, and players in the current world?
Put This command in a repeating command block set to 'Always Active' (Command based on your Minecraft version)
effect @e <effect> 1000000 <Level +1>
effect give @e <effect> 1000000 <level +1>
What <level +1> means is if say you wanted a level 2 effect (ex. Speed 2) you would replace <level +1> with 1
But I lost the effects when I died. Is there a way to keep those effects even after death ?