teleport @a 0 70 0
@s = self · @p = nearest player · @a = all players · @e = all entities
-Advanced · 3 blocks
Press once to teleport every player to 0 70 0, switch them to Adventure mode, and clear all effects.
What you need
Expected result
Every player returns to the lobby in Adventure mode with no status effects left over.
Placement direction
Configure one block at a time
The copy button copies only Command Input. Choose every other value in the Command Block screen.
Attach the button to the first Impulse Block and verify that the lobby coordinates are safe.
teleport @a 0 70 0
@s = self · @p = nearest player · @a = all players · @e = all entities
-Place a Chain Block where the first arrow points and set it to Always Active.
gamemode adventure @a
@s = self · @p = nearest player · @a = all players · @e = all entities
-Place the final Chain Block in the same arrow direction and set it to Always Active.
effect clear @a
@s = self · @p = nearest player · @a = all players · @e = all entities
-If it does not work