News
Game
Guides
Downloads
Versions
/spreadplayers
COMMANDS WORLD & RULES CHEATS · LEVEL 2 Added in 1.14 or earlier

/spreadplayers command in Minecraft

The /spreadplayers command teleports players or other entities to random spots on the surface, around a center and with a minimum gap between them. It is the standard start of a battle royale, a UHC or a hide and seek game, and it can keep teams together.

Syntax

/spreadplayers <center> <spreadDistance> <maxRange> (<respectTeams>|under)
ArgumentExpectsWhat it does
centerPosition (x z)X Z center of the area, e.g. 0 0, or ~ ~ for your own position.
spreadDistanceNumberat least 0Minimum distance in blocks between two targets, or between two teams.
maxRangeNumberat least 1Maximum distance from the center in blocks, at least 1. Keep it well above spreadDistance.
respectTeamstrue / falsetrue keeps members of the same team together; false spreads every target on its own.
targetsEntity selectorone or severalEntities to spread: @a for all players, @a[team=red] for one team, or @e[type=minecraft:cow] for mobs.
maxHeightWhole numberHighest Y used for landing, after under. Needed in the Nether to stay below the bedrock roof.
All 2 forms
  • /spreadplayers <center> <spreadDistance> <maxRange> <respectTeams> <targets>
  • /spreadplayers <center> <spreadDistance> <maxRange> under <maxHeight> <respectTeams> <targets>

Examples

Scatter all players around 0 0

/spreadplayers 0 0 50 500 false @a

Every player lands at least 50 blocks from the others, up to 500 blocks from the center.

Java 26.3

Keep teams together

/spreadplayers ~ ~ 10 100 true @a

Each team lands as a group around your position, teams at least 10 blocks apart.

Java 26.3

Spread in the Nether below the roof

/spreadplayers 0 0 20 200 under 100 false @a

Run in the Nether: every landing spot stays below Y 100.

Java 26.3
Build your command

Fill in the fields, then copy the command.

Command generator

How the spread works

Each target lands on the highest block at a random X and Z inside the area. The game tries to respect the minimum distance. If the area is too small for that, it stops with "Could not spread ... entity/entities" and suggests the largest spread distance that would fit, so lower that value or raise the range.

With respectTeams set to true, each team from /team counts as one point and its members land together.

Nether and caves

Without under, the highest block in the Nether is the Bedrock roof, so players end up on top of it. Add under 100 to look for ground below Y 100 instead. The same option helps in a map with a ceiling.

Tips

  • Set the arena with /worldborder first, then spread the players inside it.
  • It works on mobs too: @e[type=minecraft:cow] scatters a herd.
  • The confirmation gives the average distance between targets, useful to tune the values.
  • Run it from a Command Block or through /execute to start a round automatically.

✓ Checked in Java Edition 26.3 · updated 2 November 2026

/spreadplayers: FAQ

Why are players spread on top of the Nether roof?

In the Nether the highest block is the bedrock roof. Use the under option with a maximum height, for example under 100.

Can /spreadplayers keep teammates together?

Yes. Set respectTeams to true and every team lands as a group, at least spreadDistance away from the other teams.

How do I use /spreadplayers?

Type it in the chat with cheats on: /spreadplayers <center> <spreadDistance> <maxRange> (<respectTeams>|under).

Who can use /spreadplayers?

Cheats on, or operator level 2.

Related commands