Class PostTeamWithdrawEvent
java.lang.Object
org.bukkit.event.Event
com.booksaw.betterTeams.customEvents.TeamEvent
com.booksaw.betterTeams.customEvents.TeamPlayerEvent
com.booksaw.betterTeams.customEvents.post.PostTeamWithdrawEvent
- All Implemented Interfaces:
PostTeamMoneyEvent,org.bukkit.event.Cancellable
An event which is called after a player has withdrawn money from their
Team's balance.
Contains information about the amount withdrawn and the player who made the withdrawal.
This event cannot be cancelled since it occurs after the withdrawal.
To modify or cancel the withdrawal, use TeamWithdrawEvent.
- Author:
- svaningelgem
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Field Summary
Fields inherited from class com.booksaw.betterTeams.customEvents.TeamPlayerEvent
teamPlayer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublestatic org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListMethods inherited from class com.booksaw.betterTeams.customEvents.TeamPlayerEvent
getPlayer, getTeamPlayerMethods inherited from class com.booksaw.betterTeams.customEvents.TeamEvent
getTeam, isCancelled, setCancelledMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PostTeamWithdrawEvent
-
-
Method Details
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getAmount
public double getAmount()- Specified by:
getAmountin interfacePostTeamMoneyEvent
-