Class InterestEvent

java.lang.Object
org.bukkit.event.Event
us.teaminceptus.novaconomy.api.events.InterestEvent
All Implemented Interfaces:
Cancellable

public class InterestEvent extends Event implements Cancellable
Called when Interest happens
  • Constructor Details

    • InterestEvent

      public InterestEvent(Map<NovaPlayer,Map<Economy,Double>> previousBalances, Map<NovaPlayer,Map<Economy,Double>> interestAmount)
      Constructs an InterestEvent.

      This Event will calculate getNewBalance(NovaPlayer) on its own
      Parameters:
      previousBalances - A Map of Players to the economies affected and their previous balances
      interestAmount - A Map of Players to the economies affected and the amount added
  • Method Details