TheNextLvlTheNextLvl
Commands

Teleport Commands

How to use world teleport and spawn commands

GitHub Edit on GitHub

Teleport Commands

Teleport commands move entities between worlds and manage spawn points.

/world teleport

Teleports entities to a world.

Usage:

/world teleport <world>
/world teleport <world> <entities>
/world teleport <world> <entities> <position>

Permission: worlds.command.teleport

Without <entities>, the sender is teleported.
Without <position>, entities are teleported to the target world's spawn.
With <position>, entities are teleported to that position in the target world.

Player entry can be restricted with per-world entry permissions:

worlds.enter.<world-key>

Example:

worlds.enter.example:survival

Examples

/world teleport example:survival
/world teleport example:creative PlayerName
/world teleport example:creative PlayerName 0 100 0

/world spawn

Teleports yourself to the spawn point of your current world.

Usage: /world spawn

Permission: worlds.command.spawn

/world setspawn

Sets the spawn point of your current world.

Usage:

/world setspawn
/world setspawn <position>
/world setspawn <position> <rotation>
/setworldspawn
/setworldspawn <position>
/setworldspawn <position> <rotation>

Worlds permission: worlds.command.setspawn

The command checks minecraft.command.setworldspawn.
worlds.command.setspawn exists as a Worlds permission node, and grants or includes minecraft.command.setworldspawn.
Server owners can grant either the Worlds node if their permission system expands children, or the Minecraft permission directly.

Examples

/world setspawn
/world setspawn 0 100 0
/world setspawn 0 100 0 45 0
/setworldspawn 0 100 0

Last updated on

On this page