Class UHCTeamWinEvent

java.lang.Object
org.bukkit.event.Event
net.fateuhc.plugin.api.events.UHCTeamWinEvent

public class UHCTeamWinEvent extends org.bukkit.event.Event
Called when a team wins the game Handles win and player data
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Get the handlers list.
    org.bukkit.event.HandlerList
    Get the handlers list.
    List<net.fateuhc.plugin.player.stats.Winner>
    Get the winners of the UHC game.
    List<org.bukkit.entity.Player>
    Get the winners of the UHC game as a player.

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UHCTeamWinEvent

      public UHCTeamWinEvent()
  • Method Details

    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Get the handlers list.
      Specified by:
      getHandlers in class org.bukkit.event.Event
      Returns:
      HandlerList
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Get the handlers list.
      Returns:
      HandlerList
    • getWinners

      public List<net.fateuhc.plugin.player.stats.Winner> getWinners()
      Get the winners of the UHC game.
      Returns:
      List of Winners
    • getWinnersAsPlayer

      public List<org.bukkit.entity.Player> getWinnersAsPlayer()
      Get the winners of the UHC game as a player.
      Returns:
      List of winners as Players.