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 |
AbstractEconomy.createBank(String name,
org.bukkit.OfflinePlayer player) |
EconomyResponse |
Economy.createBank(String name,
org.bukkit.OfflinePlayer player)
Creates a bank account with the specified name and the player as the owner
|
EconomyResponse |
Economy.createBank(String name,
String player)
Deprecated.
As of VaultAPI 1.4 use {
Economy.createBank(String, OfflinePlayer) instead. |
EconomyResponse |
Economy.deleteBank(String name)
Deletes a bank account with the specified name.
|
EconomyResponse |
AbstractEconomy.depositPlayer(org.bukkit.OfflinePlayer player,
double amount) |
EconomyResponse |
Economy.depositPlayer(org.bukkit.OfflinePlayer player,
double amount)
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
|
EconomyResponse |
AbstractEconomy.depositPlayer(org.bukkit.OfflinePlayer player,
String worldName,
double amount) |
EconomyResponse |
Economy.depositPlayer(org.bukkit.OfflinePlayer player,
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.depositPlayer(String playerName,
double amount)
Deprecated.
As of VaultAPI 1.4 use
Economy.depositPlayer(OfflinePlayer, double) instead. |
EconomyResponse |
Economy.depositPlayer(String playerName,
String worldName,
double amount)
Deprecated.
As of VaultAPI 1.4 use
Economy.depositPlayer(OfflinePlayer, String, double) instead. |
EconomyResponse |
AbstractEconomy.isBankMember(String name,
org.bukkit.OfflinePlayer player) |
EconomyResponse |
Economy.isBankMember(String name,
org.bukkit.OfflinePlayer player)
Check if the player is a member of the bank account
|
EconomyResponse |
Economy.isBankMember(String name,
String playerName)
Deprecated.
As of VaultAPI 1.4 use {
Economy.isBankMember(String, OfflinePlayer) instead. |
EconomyResponse |
AbstractEconomy.isBankOwner(String name,
org.bukkit.OfflinePlayer player) |
EconomyResponse |
Economy.isBankOwner(String name,
org.bukkit.OfflinePlayer player)
Check if a player is the owner of a bank account
|
EconomyResponse |
Economy.isBankOwner(String name,
String playerName)
Deprecated.
As of VaultAPI 1.4 use {
Economy.isBankOwner(String, OfflinePlayer) instead. |
EconomyResponse |
AbstractEconomy.withdrawPlayer(org.bukkit.OfflinePlayer player,
double amount) |
EconomyResponse |
Economy.withdrawPlayer(org.bukkit.OfflinePlayer player,
double amount)
Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS
|
EconomyResponse |
AbstractEconomy.withdrawPlayer(org.bukkit.OfflinePlayer player,
String worldName,
double amount) |
EconomyResponse |
Economy.withdrawPlayer(org.bukkit.OfflinePlayer player,
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.
|
EconomyResponse |
Economy.withdrawPlayer(String playerName,
double amount)
Deprecated.
As of VaultAPI 1.4 use
Economy.withdrawPlayer(OfflinePlayer, double) instead. |
EconomyResponse |
Economy.withdrawPlayer(String playerName,
String worldName,
double amount)
Deprecated.
As of VaultAPI 1.4 use
Economy.withdrawPlayer(OfflinePlayer, String, double) instead. |
Milkbowl, 2014