public interface EconomyHandler
Modifier and Type | Method and Description |
---|---|
void |
giveBalance(org.bukkit.entity.Player player,
double amount)
Give some amount to player's balance
|
boolean |
hasBalance(org.bukkit.entity.Player player,
double balance)
Check is player has balance
|
void |
takeBalance(org.bukkit.entity.Player player,
double amount)
Withdraw some amount from player's balance
|
boolean hasBalance(org.bukkit.entity.Player player, double balance)
player
- Player to checkbalance
- Required balancevoid takeBalance(org.bukkit.entity.Player player, double amount)
player
- Required playeramount
- Required amountvoid giveBalance(org.bukkit.entity.Player player, double amount)
player
- Required playeramount
- Required amount