Advanced · 3 blocks

Reset all players to the lobby

Press once to teleport every player to 0 70 0, switch them to Adventure mode, and clear all effects.

Choose in-game screen
Java Edition Bedrock Edition
Bedrock Edition (stable)

What you need

Before placing the blocks

  • 3 Command Blocks
  • 1 button
  • Prepare a safe lobby at 0 70 0
  • Align all three block arrows into one chain

Expected result

Test after setup

Every player returns to the lobby in Adventure mode with no status effects left over.

Placement direction

Make every block arrow point in the same direction

1 Impulse 2 Chain 3 Chain

Configure one block at a time

Open the game and match these values

The copy button copies only Command Input. Choose every other value in the Command Block screen.

1

Block 1 — teleport everyone to the lobby

Attach the button to the first Impulse Block and verify that the lobby coordinates are safe.

Command Block
Block 1 — teleport everyone to the lobby
Impulse
Unconditional
Needs Redstone
0
teleport @a 0 70 0
Previous Output
-
Block Type:
Impulse
Condition:
Unconditional
Redstone:
Needs Redstone
2

Block 2 — switch everyone to Adventure

Place a Chain Block where the first arrow points and set it to Always Active.

Command Block
Block 2 — switch everyone to Adventure
Chain
Unconditional
Always Active
0
gamemode adventure @a
Previous Output
-
Block Type:
Chain
Condition:
Unconditional
Redstone:
Always Active
3

Block 3 — clear every effect

Place the final Chain Block in the same arrow direction and set it to Always Active.

Command Block
Block 3 — clear every effect
Chain
Unconditional
Always Active
0
effect @a clear
Previous Output
-
Block Type:
Chain
Condition:
Unconditional
Redstone:
Always Active

If it does not work

Check these four things first

  1. Cheats are enabled and you have Operator permission
  2. Needs Redstone or Always Active matches the example
  3. Chain Block arrows face the same direction and follow the previous block
  4. Read Previous Output to find the command that failed
Read the Command Block basics