# /gtp - Teleport between worlds

Teleporting between worlds is also an important function.

The command may seem a little complicated due to the various permissions, but it is easier than you might think.

## The command in detail

`<span class="editor-theme-code">/gtp <name> [player name|@all]</span>`

### Parameters explained

1. **Name (required):** The name of the world to which the player should be teleported.
2. **Player name/@all (optional):**  
    
    1. **Player name:** The name of the player to be teleported.
    2. **@all:** Teleport all players except yourself to the desired world.

### Permissions

#### <span style="white-space: pre-wrap;">Basic permission: </span>`<span class="editor-theme-code">gworld.commands.tp</span>`

<span style="white-space: pre-wrap;">The basic permission is </span>**ALWAYS** required for the command to be used and automatically completed.

#### <span style="white-space: pre-wrap;">Teleport to all worlds: </span>`<span class="editor-theme-code">gworld.commands.tp.*</span>`

This permission is required if you want to be able to teleport to all worlds.

#### <span style="white-space: pre-wrap;">Teleport to specific worlds: </span>`<span class="editor-theme-code">gworld.commands.tp.< world-name></span>`

With this permission, a user may only teleport to the world specified within the permission.

#### <span style="white-space: pre-wrap;">Teleport other players: </span>`<span class="editor-theme-code">gworld.tp.other</span>`<span style="white-space: pre-wrap;"> </span>

<p class="callout warning">**Attention**: This permission differs from the others!</p>

With this permission, the user can teleport all players to other worlds by using the player name itself or @all.

---

## Examples

### 1. Teleport to a world

In this example, you want to teleport to the world “MyWorld”:

```bash
/gtp MyWorld
```

### 2. Teleport a player to a world

In this example, the user “MyUser” should be teleported to “MyWorld”:

```bash
/gtp MyWorld MyUser
```

### 3. Teleport all players to one world

In this example, all users are to be teleported to the world “MyWorld”:

```bash
/gtp MyWorld @all
```