Package com.bencodez.votingplugin.events
Class PlayerReceivePointsEvent
java.lang.Object
org.bukkit.event.Event
com.bencodez.votingplugin.events.PlayerReceivePointsEvent
public class PlayerReceivePointsEvent
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
Gets the handler list.org.bukkit.event.HandlerList
int
boolean
void
setCancelled
(boolean cancelled) void
setPlayer
(VotingPluginUser player) void
setPoints
(int points) void
setServiceSite
(String serviceSite) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerReceivePointsEvent
-
-
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
-
isCancelled
public boolean isCancelled() -
setCancelled
public void setCancelled(boolean cancelled) -
getPlayer
-
setPlayer
-
getPoints
public int getPoints() -
setPoints
public void setPoints(int points) -
getServiceSite
-
setServiceSite
-