Class UHCWinEvent

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

public class UHCWinEvent extends org.bukkit.event.Event
Called when a solo player 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
    org.bukkit.event.HandlerList
    Get the handlers list.
    net.fateuhc.plugin.player.stats.Winner
    Get the winner of the UHC Game.
    org.bukkit.entity.Player
    Get the winner 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

    • UHCWinEvent

      public UHCWinEvent()
  • Method Details

    • getHandlers

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

      public net.fateuhc.plugin.player.stats.Winner getWinner()
      Get the winner of the UHC Game.
      Returns:
      Winner
    • getWinnerAsPlayer

      public org.bukkit.entity.Player getWinnerAsPlayer()
      Get the winner of the UHC game as a player.
      Returns:
      Player of the game.