I am making a Minecraft map and I made a minigame. I have this automatic effect to give infinite regeneration. I want to exclude the people playing the game from regeneration.

The command I had is

effect give @a Minecraft:regeneration 10 255 true

1 Answer 1


Although it took a long time i finally figured it out. The exclamation mark (!) character is used for not. So, the command is:

effect @a[team=!team1] minecraft:regeneration 10 255 true

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .