| Package | Description |
|---|---|
| net.milkbowl.vault.economy |
| Modifier and Type | Method and Description |
|---|---|
EconomyResponse |
Economy.bankBalance(String name)
Returns the amount the bank has
|
EconomyResponse |
Economy.bankDeposit(String name,
double amount)
Deposit an amount into a bank account - DO NOT USE NEGATIVE AMOUNTS
|
EconomyResponse |
Economy.bankHas(String name,
double amount)
Returns true or false whether the bank has the amount specified - DO NOT USE NEGATIVE AMOUNTS
|
EconomyResponse |
Economy.bankWithdraw(String name,
double amount)
Withdraw an amount from a bank account - DO NOT USE NEGATIVE AMOUNTS
|
EconomyResponse |
Economy.createBank(String name,
String player)
Creates a bank account with the specified name and the player as the owner
|
EconomyResponse |
Economy.deleteBank(String name)
Deletes a bank account with the specified name.
|
EconomyResponse |
Economy.depositPlayer(String playerName,
double amount)
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
|
EconomyResponse |
Economy.depositPlayer(String playerName,
String worldName,
double amount)
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
|
EconomyResponse |
Economy.isBankMember(String name,
String playerName)
Check if the player is a member of the bank account
|
EconomyResponse |
Economy.isBankOwner(String name,
String playerName)
Check if a player is the owner of a bank account
|
EconomyResponse |
Economy.withdrawPlayer(String playerName,
double amount)
Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS
|
EconomyResponse |
Economy.withdrawPlayer(String playerName,
String worldName,
double amount)
Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
|
Milkbowl, 2014