Class PlayerMissTaxEvent
java.lang.Object
org.bukkit.event.Event
us.teaminceptus.novaconomy.api.events.player.PlayerMissTaxEvent
Called when a Player does not have enough to pay their automatic tax
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionPlayerMissTaxEvent(OfflinePlayer p, double needed, Economy econ) Constructs a new PlayerMissTaxEvent -
Method Summary
Modifier and TypeMethodDescriptiondoubleFetches the amount that would have been taken if the Player had enough@NotNull EconomyFetches the Economy involved in this eventstatic HandlerListFetches the Event handlers@NotNull OfflinePlayerFetches the OfflinePlayer involved in this eventMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerMissTaxEvent
Constructs a new PlayerMissTaxEvent- Parameters:
p- OfflinePlayer involvedneeded- Amount needed to be takenecon- Economy related to the amount
-
-
Method Details
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getAmountTaken
public double getAmountTaken()Fetches the amount that would have been taken if the Player had enough- Returns:
- Amount needed
-
getEconomy
Fetches the Economy involved in this event- Returns:
- Economy involved
-
getPlayer
Fetches the OfflinePlayer involved in this event- Returns:
- OfflinePlayer involved
-
getHandlerList
Fetches the Event handlers- Returns:
- Event handlers
-