Class VoteEvent

java.lang.Object
org.bukkit.event.Event
dk.minepay.server.bukkit.events.VoteEvent

public class VoteEvent extends org.bukkit.event.Event
Event that is triggered when a vote is made.
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    VoteEvent(Vote vote, org.bukkit.OfflinePlayer player)
    Constructor for VoteEvent.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Gets the handler list for the event.
    org.bukkit.event.HandlerList
    Gets the handler list for the event.

    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

    • VoteEvent

      public VoteEvent(Vote vote, org.bukkit.OfflinePlayer player)
      Constructor for VoteEvent.
      Parameters:
      vote - the vote that was made
      player - the player that made the vote
  • Method Details

    • getHandlers

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

      public static org.bukkit.event.HandlerList getHandlerList()
      Gets the handler list for the event.
      Returns:
      the handler list for the event