Interface PlaybackManager


public interface PlaybackManager
  • Method Details

    • showTour

      TouringPlayer showTour(org.bukkit.entity.Player player, Route route)
      Starts playing the specified tour route for a player. If the player is already being shown another tour, that tour will be cancelled.
      Parameters:
      player - the player
      route - the route to show
      Returns:
      the new TouringPlayer
    • getTouringPlayer

      TouringPlayer getTouringPlayer(org.bukkit.entity.Player player)
      Gets the TouringPlayer object for the specified player. If the player isn't watching a tour, this returns null.
      Parameters:
      player - the player
      Returns:
      the TouringPlayer, or null
    • getTouringPlayers

      List<? extends TouringPlayer> getTouringPlayers(Route route)
      Gets all the TouringPlayer that are currently watching the specified tour route.
      Parameters:
      route - the route
      Returns:
      immutable list of TouringPlayers
    • getTouringPlayers

      List<? extends TouringPlayer> getTouringPlayers()
      Gets all the TouringPlayer that are currently watching a tour route.
      Returns:
      immutable list of TouringPlayers