Class TeamWithdrawEvent
java.lang.Object
org.bukkit.event.Event
com.booksaw.betterTeams.customEvents.TeamEvent
com.booksaw.betterTeams.customEvents.TeamPlayerEvent
com.booksaw.betterTeams.customEvents.TeamWithdrawEvent
- All Implemented Interfaces:
TeamMoneyEvent
,org.bukkit.event.Cancellable
An event which is called when a player withdraws money from their
Team
's balance-
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 TypeMethodDescriptiondouble
static org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
void
setAmount
(double amount) Methods inherited from class com.booksaw.betterTeams.customEvents.TeamPlayerEvent
getPlayer, getTeamPlayer
Methods inherited from class com.booksaw.betterTeams.customEvents.TeamEvent
getTeam, isCancelled, setCancelled
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
Methods inherited from interface com.booksaw.betterTeams.customEvents.TeamMoneyEvent
isCancelled, setCancelled
-
Constructor Details
-
TeamWithdrawEvent
-
-
Method Details
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getAmount
public double getAmount()- Specified by:
getAmount
in interfaceTeamMoneyEvent
-
setAmount
public void setAmount(double amount) - Specified by:
setAmount
in interfaceTeamMoneyEvent
-