public interface EconomyProvider
Modifier and Type | Interface and Description |
---|---|
static class |
EconomyProvider.EconomyResult |
Modifier and Type | Method and Description |
---|---|
EconomyProvider.EconomyResult |
depositMoney(SuperiorPlayer superiorPlayer,
double amount)
Deposit money into a player's bank.
|
java.math.BigDecimal |
getBalance(SuperiorPlayer superiorPlayer)
Get the amount of money a specific user has in his bank.
|
EconomyProvider.EconomyResult |
withdrawMoney(SuperiorPlayer superiorPlayer,
double amount)
Withdraw money from a player's bank.
|
java.math.BigDecimal getBalance(SuperiorPlayer superiorPlayer)
superiorPlayer
- The player to check.EconomyProvider.EconomyResult depositMoney(SuperiorPlayer superiorPlayer, double amount)
superiorPlayer
- The player to deposit money to.amount
- The amount to deposit.EconomyProvider.EconomyResult withdrawMoney(SuperiorPlayer superiorPlayer, double amount)
superiorPlayer
- The player to withdraw money from.amount
- The amount to withdraw.