BalanceChangeEvent before every economy balance write. You can listen to this event to react to transactions, log them, or cancel them entirely.
BalanceChangeEvent
Register a standard Bukkit@EventHandler in any plugin that depends on JPPrison:
Available Methods
TransactionCause
EveryBalanceChangeEvent carries a TransactionCause that tells you exactly why the balance is changing. Use it to selectively react to or block specific sources.
Cancelling Transactions
Callingevent.setCancelled(true) prevents the balance change entirely. The player receives no currency for that transaction and no error is shown to them by default.