Class TransactionEvent

java.lang.Object
org.bukkit.event.Event
net.essentialsx.api.v2.events.TransactionEvent

public class TransactionEvent extends Event
Fired when a transaction (e.g. /pay) is successfully handled.
  • Constructor Details

  • Method Details

    • getRequester

      public CommandSource getRequester()
      Returns:
      the user who initiated the transaction
    • getTarget

      public IUser getTarget()
      Returns:
      the user who received the money
    • getAmount

      public BigDecimal getAmount()
      Returns:
      the amount of money transacted
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()