Interface RtpRequest


public interface RtpRequest
A running RTP request. See RtpManager.getActiveRequest(Player).
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.entity.Player
    Gets the player.
    Gets the request id.
    long
    Gets when the request was made, in millis.
    org.bukkit.World
    Gets the world being teleported in.
    long
    Gets the warmup in seconds, 0 if none.
    boolean
    Checks if this request has a warmup.
  • Method Details

    • getRequestId

      UUID getRequestId()
      Gets the request id.
      Returns:
      the request id
    • getPlayer

      org.bukkit.entity.Player getPlayer()
      Gets the player.
      Returns:
      the player
    • getTargetWorld

      org.bukkit.World getTargetWorld()
      Gets the world being teleported in.
      Returns:
      the target world
    • getRequestTimestamp

      long getRequestTimestamp()
      Gets when the request was made, in millis.
      Returns:
      request time in millis
    • wasWarmupRequired

      boolean wasWarmupRequired()
      Checks if this request has a warmup.
      Returns:
      true if warmup required
    • getWarmupSeconds

      long getWarmupSeconds()
      Gets the warmup in seconds, 0 if none.
      Returns:
      warmup seconds