Interface ITeleport

All Known Subinterfaces:
ITeleport
All Known Implementing Classes:
Teleport

public interface ITeleport
Deprecated.
This API is not asynchronous and is no longer maintained. Use IAsyncTeleport.
  • Method Details

    • now

      @Deprecated void now(Location loc, boolean cooldown, PlayerTeleportEvent.TeleportCause cause) throws Exception
      Deprecated.
      Used to skip teleportPlayer delay when teleporting someone to a location or player.
      Parameters:
      loc - - Where should the player end up
      cooldown - - If cooldown should be enforced
      cause - - The reported teleportPlayer cause
      Throws:
      Exception
    • now

      @Deprecated void now(Player entity, boolean cooldown, PlayerTeleportEvent.TeleportCause cause) throws Exception
      Deprecated.
      Used to skip teleportPlayer delay when teleporting someone to a location or player.
      Parameters:
      entity - - Where should the player end up
      cooldown - - If cooldown should be enforced
      cause - - The reported teleportPlayer cause
      Throws:
      Exception
    • teleport

      @Deprecated void teleport(Location loc, Trade chargeFor) throws Exception
      Deprecated.
      Teleport a player to a specific location
      Parameters:
      loc - - Where should the player end up
      chargeFor - - What the user will be charged if teleportPlayer is successful
      Throws:
      Exception
    • teleport

      @Deprecated void teleport(Location loc, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception
      Deprecated.
      Teleport a player to a specific location
      Parameters:
      loc - - Where should the player end up
      chargeFor - - What the user will be charged if teleportPlayer is successful
      cause - - The reported teleportPlayer cause
      Throws:
      Exception
    • teleport

      @Deprecated void teleport(Player entity, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception
      Deprecated.
      Teleport a player to a specific player
      Parameters:
      entity - - Where should the player end up
      chargeFor - - What the user will be charged if teleportPlayer is successful
      cause - - The reported teleportPlayer cause
      Throws:
      Exception
    • teleportPlayer

      @Deprecated void teleportPlayer(IUser otherUser, Location loc, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception
      Deprecated.
      Teleport a player to a specific location
      Parameters:
      otherUser - - Which user will be teleported
      loc - - Where should the player end up
      chargeFor - - What the user will be charged if teleportPlayer is successful
      cause - - The reported teleportPlayer cause
      Throws:
      Exception
    • teleportPlayer

      @Deprecated void teleportPlayer(IUser otherUser, Player entity, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception
      Deprecated.
      Teleport a player to a specific player
      Parameters:
      otherUser - - Which user will be teleported
      entity - - Where should the player end up
      chargeFor - - What the user will be charged if teleportPlayer is successful
      cause - - The reported teleportPlayer cause
      Throws:
      Exception
    • respawn

      @Deprecated void respawn(Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception
      Deprecated.
      Teleport wrapper used to handle tp fallback on /jail and /home
      Parameters:
      chargeFor - - What the user will be charged if teleportPlayer is successful
      cause - - The reported teleportPlayer cause
      Throws:
      Exception
    • warp

      @Deprecated void warp(IUser otherUser, String warp, Trade chargeFor, PlayerTeleportEvent.TeleportCause cause) throws Exception
      Deprecated.
      Teleport wrapper used to handle /warp teleports
      Parameters:
      otherUser - - Which user will be teleported
      warp - - The name of the warp the user will be teleported too.
      chargeFor - - What the user will be charged if teleportPlayer is successful
      cause - - The reported teleportPlayer cause
      Throws:
      Exception
    • back

      @Deprecated void back(Trade chargeFor) throws Exception
      Deprecated.
      Teleport wrapper used to handle /back teleports
      Parameters:
      chargeFor - - What the user will be charged if teleportPlayer is successful
      Throws:
      Exception
    • back

      @Deprecated void back(IUser teleporter, Trade chargeFor) throws Exception
      Deprecated.
      Teleport wrapper used to handle /back teleports that are executed by a different player with this instance of teleport as a target.
      Parameters:
      teleporter - - The user performing the /back command. This value may be null to indicate console.
      chargeFor - - What the teleporter will be charged if teleportPlayer is successful
      Throws:
      Exception
    • back

      @Deprecated void back() throws Exception
      Deprecated.
      Teleport wrapper used to handle throwing user home after a jail sentence
      Throws:
      Exception