Class TownyTransactionEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.economy.TownyTransactionEvent
public class TownyTransactionEvent
extends org.bukkit.event.Event
An event thrown when any
Transaction
has occured because of Towny.
This includes players, towns, nations and special accounts internal to Towny.-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionTownyTransactionEvent
(Transaction transaction) An event thrown when anyTransaction
has occured because of Towny. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TownyTransactionEvent
An event thrown when anyTransaction
has occured because of Towny. This includes players, towns, nations and special accounts internal to Towny.- Parameters:
transaction
-Transaction
which has occured.
-
-
Method Details
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getTransaction
- Returns:
Transaction
which has occured.
-