Comment on page
Teleporting
Staff++ introduces new teleport commands. These very basic commands can be used to teleport yourself or other players.
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:
############################################################
# +------------------------------------------------------+ #
# | Locations | #
# +------------------------------------------------------+ #
############################################################
# Used to predefine certain locations in the world which can be used in other commands
# Type in the location identifier and location using format: x;y;z
# ex. config
# locations:
# spawn: 14;45;62;world
# ex. /freeze myplayer -Tspawn
# This will freeze the player and teleport him to spawn location.
locations:
You can define multiple locations underneath the
locations
section. Example:locations:
spawn: 14;45;62;world
jail: 58;789;70;world_nether
The
teleportToLocation
command can also be used as an argument -T
to enhance other commands./teleportToLocation thatplayer spawn
/teleportToPlayer thatplayer
/teleportHere thatplayer
This only works if the player has been teleported at least ones before. Previous locations are lost when the server restarts.
/teleportBack thatplayer
Last modified 2yr ago