# How to Use Teleport Commands in Minecraft (/docs/minecraft/teleport-commands)



Teleport commands let you move players around your world instantly. Vanilla Minecraft has basic teleportation, while EssentialsX adds player-friendly commands.

Vanilla Teleport Commands [#vanilla-teleport-commands]

Use these in `Console` on the [XGamingServer panel](https://panel.xgamingserver.com) or in-game with OP permissions:

| Command                    | Description                             |
| -------------------------- | --------------------------------------- |
| `/tp [player] [x] [y] [z]` | Teleport a player to coordinates        |
| `/tp [player] [target]`    | Teleport a player to another player     |
| `/tp @a [x] [y] [z]`       | Teleport all players to coordinates     |
| `/tp @p [x] [y] [z]`       | Teleport nearest player                 |
| `/tp [player] ~ ~10 ~`     | Teleport 10 blocks up (relative coords) |

**Relative Coordinates:** Use `~` for relative positions. `~ ~10 ~` means "same X, 10 blocks up, same Z".

EssentialsX Teleport Commands [#essentialsx-teleport-commands]

If you have [EssentialsX](/docs/minecraft/setup-essentialsx) installed, players can use these (with permissions):

| Command             | Description                         |
| ------------------- | ----------------------------------- |
| `/tpa [player]`     | Request to teleport to a player     |
| `/tpahere [player]` | Request a player to teleport to you |
| `/tpaccept`         | Accept a teleport request           |
| `/tpdeny`           | Deny a teleport request             |
| `/back`             | Return to your last location        |
| `/spawn`            | Teleport to world spawn             |
| `/home [name]`      | Teleport to your home               |
| `/sethome [name]`   | Set a home at your location         |
| `/warp [name]`      | Teleport to a warp point            |

> 💡 **Tip:** EssentialsX adds cooldowns and delays to teleports to prevent abuse. Configure these in `plugins/Essentials/config.yml`.

> 📝 **Note:** Vanilla `/tp` is instant and requires OP. EssentialsX `/tpa` requires the other player's permission and has a delay.

See also: [Setup EssentialsX](/docs/minecraft/setup-essentialsx) | [Adding Admins](/docs/minecraft/op-permissions)

If you need help, join our [Discord](https://discord.xgamingserver.com/).
