Spreadplayers Command Generator

Randomly spread players out around a center point — great for starting a PvP or UHC match

You can use numbers or ~ but not ^-style coordinates.

Must be at least 1 block greater than the minimum distance.

Use this when you want players to land in a cave or underground instead of on a mountaintop.

How to use the Spreadplayers generator

  1. Set the center point to the spot you want everyone to spread out around.
  2. Set the minimum distance so players don't land right next to each other.
  3. Set the maximum radius, then choose the target as @a or whichever group you want.
  4. Copy the command and run it in Minecraft.

The game will try to find a safe landing spot. If the radius is too small for the number of players, the command will fail — increase the radius or lower the minimum distance.

Bedrock has no height-limit option and no team option — the system drops both values with a warning.

Worked examples

The examples below come out of the same generator as the form above, so the commands and explanations always match what the tool produces. Copy one and adjust it from there

1. Scatter players away from each other

The minimum spacing must stay below the maximum range, or the game cannot find room for everyone

/spreadplayers 0 0 50 500 false @a

What it does Will randomly teleport all players to a position around X=0 Z=0 within a radius of 500 blocks, keeping each player at least 50 blocks apart.

2. Scatter without splitting up teams

With the respect-teams option on, teammates land near each other — what team games want

/spreadplayers 0 0 100 800 true @a

What it does Will randomly teleport all players to a position around X=0 Z=0 within a radius of 800 blocks, keeping each player at least 100 blocks apart Players on the same team will be teleported together.

3. Scatter within a tight area

A smaller range keeps everyone close enough to meet quickly — right for a small arena

/spreadplayers 0 0 10 60 false @a

What it does Will randomly teleport all players to a position around X=0 Z=0 within a radius of 60 blocks, keeping each player at least 10 blocks apart.

How this command differs by edition and version

This is the first example above, run through every edition and version this tool supports. Versions that produce the same result share a row

Java Edition 1.21.5 and up Java Edition 1.20.5 - 1.21.4 Java Edition 1.13 - 1.20.4 (legacy NBT)
/spreadplayers 0 0 50 500 false @a
Bedrock Edition (stable)
/spreadplayers 0 0 50 500 @a

Before you use these