Staff++
Search…
Teleporting
Staff++ introduces new teleport commands. These very basic commands can be used to teleport yourself or other players.

Locations

You can specify predefined locations inside the configuration file. This allows you to teleport yourself or other players to this location. Make sure the following section is present in your configuration file:
1
############################################################
2
# +------------------------------------------------------+ #
3
# | Locations | #
4
# +------------------------------------------------------+ #
5
############################################################
6
# Used to predefine certain locations in the world which can be used in other commands
7
# Type in the location identifier and location using format: x;y;z
8
# ex. config
9
# locations:
10
# spawn: 14;45;62;world
11
# ex. /freeze myplayer -Tspawn
12
# This will freeze the player and teleport him to spawn location.
13
locations:
Copied!
You can define multiple locations underneath the locations section. Example:
1
locations:
2
spawn: 14;45;62;world
3
jail: 58;789;70;world_nether
Copied!

Commands:

Teleport a player to a location:

The teleportToLocation command can also be used as an argument -T to enhance other commands.
1
/teleportToLocation thatplayer spawn
Copied!

Teleport yourself to a player:

1
/teleportToPlayer thatplayer
Copied!

Teleport a player to your location:

1
/teleportHere thatplayer
Copied!

Teleport a player back to his original location:

This only works if the player has been teleported at least ones before. Previous locations are lost when the server restarts.
1
/teleportBack thatplayer
Copied!
Last modified 8mo ago