Intermediate · 1 block

Random arena spawn button

Bedrock-only use case: press a button to scatter every player randomly around center 0 0 before a minigame starts.

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

What you need

Before placing the blocks

  • 1 Command Block
  • 1 button
  • Verify that the area around 0 0 is safe and does not place players outside the arena

Expected result

Test after setup

Every player moves to a random position within 80 blocks, with a requested minimum spacing of 12 blocks.

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

Start block — scatter the players

Attach a button to the Impulse Block and test the destination area in a backup world before using it with players.

Command Block
Start block — scatter the players
Impulse
Unconditional
Needs Redstone
0
spreadplayers 0 0 12 80 @a
Previous Output
-
Block Type:
Impulse
Condition:
Unconditional
Redstone:
Needs Redstone

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