Class GameEndEvent
java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.gameplay.GameEndEvent
public class GameEndEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a list of winners.getArena()
Get the arenastatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
Get a list with people who played and didn't win.Get the winner teamGet a list of winners including eliminated teammatesMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
Method Details
-
getWinners
Get a list of winners including eliminated teammates -
getTeamWinner
Get the winner team -
getLosers
Get a list with people who played and didn't win. This includes people who leaved the game etc. -
getArena
Get the arena -
getAliveWinners
Get a list of winners. Teammates killed by final kill excluded. -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-