Minecraft: How to Randomly Teleport Players Using Commands?

minecract random teleport feature
Share:

It’s no secret that Minecraft features an incredibly vast overworld, with many regions and biomes that can be tricky to get around. Minecraft commands can be used for a range of things in-game, including teleporting players to specific locations, but many still wonder how to randomly teleport players using commands in Minecraft.

  • Article Breakdown:
  • Minecraft players can be teleported using variations of the “/tp” command, while random teleportations can be performed using variations of the “/spreadplayers” command.
  • These commands work for all platforms apart from Xbox 360, PlayStation 3, and Wii U, although commands may differ between versions or supporting platforms.

Teleporting players in Minecraft

Commands are an incredible way to change up your Minecraft gameplay experience, but they do require some restrictions to be lifted before they can be used. Players will need to have cheats enabled in their Minecraft world before they can input various commands.

Typically, Minecraft players would get the option to allow cheats or not when creating their Minecraft world, specifically through the ON or OFF option under New World Generation. But if you haven’t gotten cheats to be enabled in your Minecraft world yet, follow the steps below:

  1. Open up the Game Menu.
  2. Navigate to “Open to LAN”.
  3. You should find a tab that reads “Allow Cheats.”
  4. You will need to change this setting to “ON.”
  5. Then, click on “Start LAN World”.

Once you have cheats enabled in your Minecraft world, you’ll be able to start going ahead with the commands. There is an assortment of command variations that you can choose from in-game, depending on what sort of teleportation you’re looking for.

For teleporting players, there are different commands and syntaxes for different Minecraft versions. Below are all of the classic teleportation commands for Minecraft on different platforms:

Minecraft Java Edition (PC/Mac)

Teleportation Type/tp Command
Teleport your character
to a set of coordinates
/tp <location>
Teleport your character
to the location of another target
/tp <destination>
Teleport a target to the
location of another target
/tp <targets> <destination>
Teleport a target to a set
of coordinates, facing
another set of coordinates
/tp <targets> <location> facing <facingLocation>
Teleport a target to a set
of coordinates, rotating the
direction the target will face
/tp <targets> <location> [<yRot> <xRot>]
Teleport to a set of coordinates/tp [target player] <x> <y> <z> [<y-rot> <x-rot>]
Teleport to another player/tp [target player] <destination player>

Console & others

These /tp commands would apply to the Pocket Edition (PE), Xbox One, PlayStation 4, Nintendo Switch, Windows 10 Edition, and Education Edition.

Teleportation Type/tp Command
Teleport your character
to a set of coordinates
/tp <x> <y> <z> [yRot] [xRot]
Teleport your character to the
location of another target
/tp <destination>
Teleport your character
to a set of coordinates,
facing another set of coordinates
/tp <x> <y> <z> facing <lookAtPositon>
Teleport your character to a
set of coordinates facing
a target entity
/tp <victim> <x> <y> <z> facing <lookAtEntity>
Teleport a target to a set
of coordinates, facing
another set of coordinates
/tp <victim> <x> <y> <z> facing <lookAtPositon>
Teleport a target to a set of coordinates/tp <victim> <x> <y> <z> [yRot] [xRot]
Teleport a target to another targettp/ <victim> <destination>

To make some sense of all of these command inputs while you teleport around the overworld, below is an overview of what each command input translates to in-game:

“location”
“x y z”
This indicates the coordinate to teleport to.
“destination”
“destination player”
This indicates the name of a player (or a target selector) to teleport to.
“targets”This indicates the name of a player (or a target selector) to teleport.
“target player”This is optional and indicates the name of a player (or a target selector) to teleport. If no target player is specified, then the player running the command will be teleported instead.
“facingLocation”This indicates the x y z coordinate that the entity will face after being teleported.
“yRot”
“y-rot”
This is optional and indicates the y-rotation that the entity is facing after teleportation in degrees.
“xRot”
“x-rot”
This is optional and indicates the x-rotation that the entity will face after being teleported, specifically in degrees. Positive values look downward, while negative values look upward.

RELATED:

Here’s How To Whisper in Minecraft (Java & Bedrock Edition)

How to randomly teleport players using commands

Using commands to teleport players and targets to specific locations can be really handy throughout the game. But what about when you’d want to teleport players randomly?

minecraft spreadplayers

In these cases, you would need to use the same principles and values in terms of the commands but would need to switch out “/tp” for “/spreadplayers” instead. The /spreadplayers command will automatically teleport players randomly within a given radius.

Below are all of the classic /spreadplayers commands for Minecraft on different platforms:

Minecraft Java Edition (PC/Mac)

The following command will work on versions 1.13, 1.14, 1.15, 1.16, 1.17, and 1.18:

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

The following command will work on versions 1.8, 1.9, 1.10, 1.11, and 1.12:

/spreadplayers <x> <z> <spreadDistance> <maxRange> <respectTeams> <player>

Console & others

This /spreadplayers command would apply to the Pocket Edition (PE), Xbox One, PlayStation 4, Nintendo Switch, Windows 10 Edition, and Education Edition. In this case, players would need to input the following command to spread players in a region:

/spreadplayers <x> <y> <spreadDistance <maxRange> <victim>

Below is an overview of what each value or command input translates to in-game:

“center”
“x”
“z”
East/West and North/South coordinates of the region’s center that players can be teleported.
“spreadDistance”The minimum number of blocks between each player after teleportation.
“maxRange”The maximum number of blocks from the region’s center after teleportation.
“respectTeams”Either “true” or “false”. True means that members of the same team will be teleported to the same location, while false means that all players will be teleported to different locations.
“targets”
“player”
name of the player (or target selectors) that you wish to teleport.

If you are unsure about the commands, you can start off by using objects (targets) instead of players, such as armor stands. These can be marked with wool to indicate whether the commands are working as well.

minecraft command teleport

Certain platforms do not support the use of the teleportation commands at all, namely Xbox 360, PlayStation 3, and Wii U. Others do support the command but primarily on specific versions, as seen below:

Minecraft PlatformTeleport Command Supported (Version)
Java Edition (PC/Mac)Yes
Pocket Edition (PE)Yes (0.16.0)
Xbox OneYes (1.2)
PlayStation 4Yes (1.14.0)
Nintendo SwitchYes (1.5.0)
Windows 10 EditionYes (0.16.0)
Education EditionYes

For a quick overview of the process, possible variations, as well as some extra commands, check out the video below by Jragon:

Having the ability to teleport players to specific and random locations can revolutionize the gameplay experience, especially in Minecraft multiplayer mode. Make sure to double-check that your chosen Minecraft version and platform support the /tp and /spreadplayers commands before going ahead.

RELATED:

You Can’t Pick up Spawners in Minecraft, but Here Is the Alternative

Have something to add? Let us know in the comments below!

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments