Class PlayerVoteEvent

java.lang.Object
org.bukkit.event.Event
com.bencodez.votingplugin.events.PlayerVoteEvent

public class PlayerVoteEvent extends org.bukkit.event.Event
The Class PlayerVoteEvent.
  • Constructor Details

    • PlayerVoteEvent

      public PlayerVoteEvent(VoteSite voteSite, String voteUsername, String serviceSite, boolean realVote)
  • Method Details

    • getHandlerList

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

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • isAddTotals

      public boolean isAddTotals()
    • setAddTotals

      public void setAddTotals(boolean addTotals)
    • isBungee

      public boolean isBungee()
    • setBungee

      public void setBungee(boolean bungee)
    • getBungeeTextTotals

      public BungeeMessageData getBungeeTextTotals()
    • setBungeeTextTotals

      public void setBungeeTextTotals(BungeeMessageData bungeeTextTotals)
    • isCancelled

      public boolean isCancelled()
    • setCancelled

      public void setCancelled(boolean cancelled)
    • isForceBungee

      public boolean isForceBungee()
    • setForceBungee

      public void setForceBungee(boolean forceBungee)
    • getPlayer

      public String getPlayer()
    • setPlayer

      public void setPlayer(String player)
    • isRealVote

      public boolean isRealVote()
    • setRealVote

      public void setRealVote(boolean realVote)
    • getServiceSite

      public String getServiceSite()
    • setServiceSite

      public void setServiceSite(String serviceSite)
    • getTime

      public long getTime()
    • setTime

      public void setTime(long time)
    • getVoteSite

      public VoteSite getVoteSite()
    • setVoteSite

      public void setVoteSite(VoteSite voteSite)
    • getVotingPluginUser

      public VotingPluginUser getVotingPluginUser()
    • setVotingPluginUser

      public void setVotingPluginUser(VotingPluginUser votingPluginUser)
    • isWasOnline

      public boolean isWasOnline()
    • setWasOnline

      public void setWasOnline(boolean wasOnline)
    • isBroadcast

      public boolean isBroadcast()
    • setBroadcast

      public void setBroadcast(boolean broadcast)
    • getVoteNumber

      public int getVoteNumber()
    • setVoteNumber

      public void setVoteNumber(int voteNumber)