/spreadplayers Command

Teleports entities to random locations.

Permission Level Game Directors
Requires Cheats? Yes

Usage

Spread players

/spreadplayers <x: rotation> <z: rotation> <spreadDistance: float> <maxRange: float> <victim: target>

Spawn players at a particular x and z rotation with a defined distance, max range, and players.

Arguments

  • maxRange: float The furthest distance that players can spawn from each other. Default: 0.0.
  • spreadDistance: float The distance between players when they spawn. Default: 0.0.
  • victim: target A player name string or target selector to identify the player.
  • x: rotation The initial x position of the player.
  • z: rotation The initial z position of the player.