Class PlayerWithdrawEvent


public class PlayerWithdrawEvent extends PlayerEconomyEvent
Called after a Player withdraws from the Global Bank
  • Constructor Details

    • PlayerWithdrawEvent

      public PlayerWithdrawEvent(Player who, double amount, @Nullable @Nullable Economy econ, long timestamp)
      Constructs a new PlayerWithdrawEvent
      Parameters:
      who - Player involved
      amount - Amount withdrawn
      econ - Economy involved
      timestamp - Timestamp of the withdraw
  • Method Details

    • getTimestamp

      @NotNull public @org.jetbrains.annotations.NotNull long getTimestamp()
      Fetches the system milliseconds timestamp of the withdraw
      Returns:
      System Milliseconds