/spreadplayers

Cheats / op 2Java 26.3

Teleports entities to random spots in an area. Its basic form is /spreadplayers <center> <spreadDistance> <maxRange> <respectTeams> <targets>; it has 2 syntax forms and 6 arguments. Permission: Cheats / op 2.

Who can use it
Cheats / op 2
Syntax forms
2
Arguments
6

/spreadplayers syntax

Game data

Every form the game accepts. Words in <angle brackets> are arguments you fill in; everything else is typed as is.

/spreadplayers <center> <spreadDistance> <maxRange> <respectTeams> <targets>
/spreadplayers <center> <spreadDistance> <maxRange> under <maxHeight> <respectTeams> <targets>

/spreadplayers examples

Ready-to-paste examples (cheats on). @s is you, @p the nearest player, @a everyone, @e every entity.

/spreadplayers 0 0 200 1000 false @a
Scatters every player at least 200 blocks apart within 1,000 blocks of 0, 0, on safe ground.

/spreadplayers arguments

What each argument expects, with the limits the game enforces.

/spreadplayers arguments
ArgumentExpectsLimits
<center>Two coordinates—
<spreadDistance>Numberat least 0
<maxRange>Numberat least 1
<respectTeams>true or false—
<targets>Target selector or player name (@s, @p, @a, @e, @r)one or more
<maxHeight>Whole number—

Other commands

Data: Minecraft Java Edition 26.3 game files. How we source this

Teleports entities to random spots in an area. It has 2 syntax forms and can be run by: Cheats / op 2.

See Also

🔍

Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.

Report an Issue

/spreadplayers FAQ (Java 26.3)

What does /spreadplayers do in Minecraft?

Teleports entities to random spots in an area.

What is the syntax of /spreadplayers?

The basic form is /spreadplayers <center> <spreadDistance> <maxRange> <respectTeams> <targets>. All forms are listed above.

What is an example of /spreadplayers?

/spreadplayers 0 0 200 1000 false @a — Scatters every player at least 200 blocks apart within 1,000 blocks of 0, 0, on safe ground.

Do you need cheats for /spreadplayers?

Yes: Cheats / op 2. In singleplayer turn on Allow Cheats (or open to LAN with cheats).