Package net.fateuhc.plugin.api.events
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerListGet the handlers list.org.bukkit.event.HandlerListGet 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
-
Constructor Details
-
UHCTeamWinEvent
public UHCTeamWinEvent()
-
-
Method Details
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()Get the handlers list.- Specified by:
getHandlersin classorg.bukkit.event.Event- Returns:
HandlerList
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()Get the handlers list.- Returns:
HandlerList
-
getWinners
Get the winners of the UHC game.- Returns:
ListofWinners
-
getWinnersAsPlayer
Get the winners of the UHC game as a player.- Returns:
Listof winners asPlayers.
-