OmniGame logoOmniGame

/tp Command

Teleports one or more entities (players, mobs, items, etc.) to a specified location or to another entity. /tp is an alias for /teleport. Can generate previously unloaded chunks at the destination.

Syntax
teleport <destination> | teleport <targets> <destination> | teleport <location> | teleport <targets> <location> [<rotation>] | teleport <targets> <location> facing <facingLocation> | teleport <targets> <location> facing entity <facingEntity> [<facingAnchor>]
Permission: OP level 2Edition: Both

Examples

/tp @p 100 64 -200/tp PlayerName 0 80 0 90 0/tp @a @s/tp @p ~ ~10 ~ facing entity @e[type=minecraft:creeper,limit=1,sort=nearest]

Notes

Java Edition supports the 'facing entity' and 'facing location' variants. Coordinates are clamped to X/Z in [-30,000,000, 30,000,000) and Y in [-20,000,000, 20,000,000). Relative coordinates (~) and local coordinates (^) are supported. Bedrock Edition has a separate syntax and does not support all Java variants.

More commands