Package com.earth2me.essentials
Class Teleport
java.lang.Object
com.earth2me.essentials.Teleport
Deprecated.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
back()
Deprecated.void
Deprecated.void
Deprecated.void
cooldown
(boolean check) Deprecated.protected void
now
(IUser teleportee, ITarget target, PlayerTeleportEvent.TeleportCause cause) Deprecated.void
now
(Player entity, boolean cooldown, PlayerTeleportEvent.TeleportCause cause) Deprecated.void
now
(Location loc, boolean cooldown, PlayerTeleportEvent.TeleportCause cause) Deprecated.void
respawn
(Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) Deprecated.void
setTpType
(Teleport.TeleportType tpType) Deprecated.void
teleport
(Player entity, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) Deprecated.void
Deprecated.void
teleport
(Location loc, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) Deprecated.void
teleportPlayer
(IUser teleportee, Player entity, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) Deprecated.void
teleportPlayer
(IUser teleportee, Location loc, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) Deprecated.void
warp
(IUser teleportee, String warp, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) Deprecated.
-
Constructor Details
-
Teleport
Deprecated.
-
-
Method Details
-
cooldown
Deprecated.- Throws:
Exception
-
now
@Deprecated public void now(Location loc, boolean cooldown, PlayerTeleportEvent.TeleportCause cause) throws Exception Deprecated.Description copied from interface:ITeleport
Used to skip teleportPlayer delay when teleporting someone to a location or player. -
now
@Deprecated public void now(Player entity, boolean cooldown, PlayerTeleportEvent.TeleportCause cause) throws Exception Deprecated.Description copied from interface:ITeleport
Used to skip teleportPlayer delay when teleporting someone to a location or player. -
now
@Deprecated protected void now(IUser teleportee, ITarget target, PlayerTeleportEvent.TeleportCause cause) throws Exception Deprecated.- Throws:
Exception
-
teleport
Deprecated.Description copied from interface:ITeleport
Teleport a player to a specific location -
teleport
@Deprecated public void teleport(Location loc, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception Deprecated.Description copied from interface:ITeleport
Teleport a player to a specific location -
teleport
@Deprecated public void teleport(Player entity, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception Deprecated.Description copied from interface:ITeleport
Teleport a player to a specific player -
teleportPlayer
@Deprecated public void teleportPlayer(IUser teleportee, Location loc, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception Deprecated.Description copied from interface:ITeleport
Teleport a player to a specific location- Specified by:
teleportPlayer
in interfaceITeleport
- Parameters:
teleportee
- - Which user will be teleportedloc
- - Where should the player end upchargeFor
- - What the user will be charged if teleportPlayer is successfulcause
- - The reported teleportPlayer cause- Throws:
Exception
-
teleportPlayer
@Deprecated public void teleportPlayer(IUser teleportee, Player entity, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception Deprecated.Description copied from interface:ITeleport
Teleport a player to a specific player- Specified by:
teleportPlayer
in interfaceITeleport
- Parameters:
teleportee
- - Which user will be teleportedentity
- - Where should the player end upchargeFor
- - What the user will be charged if teleportPlayer is successfulcause
- - The reported teleportPlayer cause- Throws:
Exception
-
respawn
@Deprecated public void respawn(Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception Deprecated.Description copied from interface:ITeleport
Teleport wrapper used to handle tp fallback on /jail and /home -
warp
@Deprecated public void warp(IUser teleportee, String warp, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception Deprecated.Description copied from interface:ITeleport
Teleport wrapper used to handle /warp teleports -
back
Deprecated.Description copied from interface:ITeleport
Teleport wrapper used to handle /back teleports -
back
Deprecated.Description copied from interface:ITeleport
Teleport wrapper used to handle /back teleports that are executed by a different player with this instance of teleport as a target. -
back
Deprecated.Description copied from interface:ITeleport
Teleport wrapper used to handle throwing user home after a jail sentence -
setTpType
Deprecated.
-
AsyncTeleport