public class WauzTeleporter
extends java.lang.Object
Constructor and Description |
---|
WauzTeleporter() |
Modifier and Type | Method and Description |
---|---|
static void |
commandTeleport(org.bukkit.event.player.PlayerTeleportEvent event)
Teleports the player per command.
|
static void |
enterInstanceTeleportManual(org.bukkit.event.player.PlayerInteractEvent event)
Teleports the player to an instance.
|
static boolean |
enterInstanceTeleportSystem(org.bukkit.entity.Player player,
java.lang.String instanceName)
Teleports the player to a new normal instance.
|
static boolean |
enterInstanceTeleportSystemDev(org.bukkit.entity.Player player,
java.lang.String instanceName)
Teleports the player to a development instance (actually any world).
|
static void |
eventTeleport(org.bukkit.entity.Player player,
org.bukkit.Location location)
Teleports the player to an event.
|
static void |
exitInstanceTeleportManual(org.bukkit.entity.Player player)
Teleports the player to out of an instance.
|
static void |
hearthstoneTeleport(org.bukkit.entity.Player player)
Teleports the player to their home.
|
static void |
hubTeleportManual(org.bukkit.entity.Player player)
Teleports the player to the hub.
|
static void |
playerTeleportManual(org.bukkit.entity.Player player,
org.bukkit.entity.Player target)
Teleports the player to another player.
|
static void |
spawnTeleportManual(org.bukkit.entity.Player player)
Teleports the player to the spawn.
|
static void |
waypointTeleport(org.bukkit.entity.Player player,
java.lang.String waypointKey)
Teleports the player to a waypoint.
|
public static void hubTeleportManual(org.bukkit.entity.Player player)
player
- The player to teleport.public static void spawnTeleportManual(org.bukkit.entity.Player player)
player
- The player to teleport.public static void enterInstanceTeleportManual(org.bukkit.event.player.PlayerInteractEvent event)
event
- The player event.public static void exitInstanceTeleportManual(org.bukkit.entity.Player player)
player
- The player to teleport.public static boolean enterInstanceTeleportSystemDev(org.bukkit.entity.Player player, java.lang.String instanceName)
player
- The player to teleport.instanceName
- The world name to teleport to.public static boolean enterInstanceTeleportSystem(org.bukkit.entity.Player player, java.lang.String instanceName)
player
- The player to teleport.instanceName
- The world name to teleport to.public static void playerTeleportManual(org.bukkit.entity.Player player, org.bukkit.entity.Player target)
player
- The player to teleport.target
- The target player.public static void commandTeleport(org.bukkit.event.player.PlayerTeleportEvent event)
event
- The teleport event.public static void hearthstoneTeleport(org.bukkit.entity.Player player)
player
- The player to teleport.public static void waypointTeleport(org.bukkit.entity.Player player, java.lang.String waypointKey)
player
- The player to teleport.waypointKey
- The key of the waypoint.public static void eventTeleport(org.bukkit.entity.Player player, org.bukkit.Location location)
player
- The player to teleport.location
- The event location.