All Implemented Interfaces:
Cancellable

public class PlayerPayEvent extends PlayerChangeBalanceEvent
Called when a Player pays another player
  • Constructor Details

    • PlayerPayEvent

      public PlayerPayEvent(Player target, Player payer, Economy econ, double paid, double previousBal, double newBal)
      Represents an Event when a Player pays another Player
      Parameters:
      target - Player being paid
      payer - Player paying
      econ - Economy involved
      paid - Amount paid
      previousBal - Previous Balance before transaction
      newBal - Balance After transaction (previousBal + paid = newBal is NOT being checked)
  • Method Details