Package com.bencodez.votingplugin.events
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlayerVoteEvent
(VoteSite voteSite, String voteUsername, String serviceSite, boolean realVote) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
Gets the handler list.org.bukkit.event.HandlerList
long
getTime()
int
boolean
boolean
boolean
isBungee()
boolean
boolean
boolean
boolean
void
setAddTotals
(boolean addTotals) void
setBroadcast
(boolean broadcast) void
setBungee
(boolean bungee) void
setBungeeTextTotals
(BungeeMessageData bungeeTextTotals) void
setCancelled
(boolean cancelled) void
setForceBungee
(boolean forceBungee) void
void
setRealVote
(boolean realVote) void
setServiceSite
(String serviceSite) void
setTime
(long time) void
setVoteNumber
(int voteNumber) void
setVoteSite
(VoteSite voteSite) void
setVotingPluginUser
(VotingPluginUser votingPluginUser) void
setWasOnline
(boolean wasOnline) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerVoteEvent
-
-
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 classorg.bukkit.event.Event
-
isAddTotals
public boolean isAddTotals() -
setAddTotals
public void setAddTotals(boolean addTotals) -
isBungee
public boolean isBungee() -
setBungee
public void setBungee(boolean bungee) -
getBungeeTextTotals
-
setBungeeTextTotals
-
isCancelled
public boolean isCancelled() -
setCancelled
public void setCancelled(boolean cancelled) -
isForceBungee
public boolean isForceBungee() -
setForceBungee
public void setForceBungee(boolean forceBungee) -
getPlayer
-
setPlayer
-
isRealVote
public boolean isRealVote() -
setRealVote
public void setRealVote(boolean realVote) -
getServiceSite
-
setServiceSite
-
getTime
public long getTime() -
setTime
public void setTime(long time) -
getVoteSite
-
setVoteSite
-
getVotingPluginUser
-
setVotingPluginUser
-
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)
-