Class VaultIntegration.VaultEngine
java.lang.Object
co.crystaldev.alpinecore.framework.integration.AlpineIntegrationEngine
co.crystaldev.alpinecore.integration.VaultIntegration.VaultEngine
- All Implemented Interfaces:
org.bukkit.event.Listener
- Enclosing class:
- VaultIntegration
-
Field Summary
Fields inherited from class co.crystaldev.alpinecore.framework.integration.AlpineIntegrationEngine
plugin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull net.milkbowl.vault.economy.EconomyResponse
bankDepositFunds
(@NotNull String name, double amount) boolean
bankDepositFundsSimple
(@NotNull String name, double amount) @NotNull net.milkbowl.vault.economy.EconomyResponse
bankHasFunds
(@NotNull String name, double amount) boolean
bankHasFundsSimple
(@NotNull String name, double amount) @NotNull net.milkbowl.vault.economy.EconomyResponse
bankWithdrawFunds
(@NotNull String name, double amount) boolean
bankWithdrawFundsSimple
(@NotNull String name, double amount) @NotNull net.milkbowl.vault.economy.EconomyResponse
checkBankBalance
(@NotNull String name) double
checkBankBalanceSimple
(@NotNull String name) boolean
createAccount
(org.bukkit.OfflinePlayer player) boolean
createAccountInWorld
(org.bukkit.OfflinePlayer player, String world) @NotNull net.milkbowl.vault.economy.EconomyResponse
createBank
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String name) boolean
createBankSimple
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String name) @NotNull net.milkbowl.vault.economy.EconomyResponse
deleteBank
(@NotNull String name) boolean
deleteBankSimple
(@NotNull String name) @NotNull net.milkbowl.vault.economy.EconomyResponse
depositFunds
(@NotNull org.bukkit.OfflinePlayer player, double amount) @NotNull net.milkbowl.vault.economy.EconomyResponse
depositFundsInWorld
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String world, double amount) boolean
depositFundsInWorldSimple
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String world, double amount) boolean
depositFundsSimple
(@NotNull org.bukkit.OfflinePlayer player, double amount) boolean
@Nullable String
formatAmount
(double amount) double
getBalance
(@NotNull org.bukkit.OfflinePlayer player) double
getBalanceInWorld
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String world) getBanks()
@Nullable String
@Nullable String
@Nullable net.milkbowl.vault.economy.Economy
int
@Nullable String
boolean
hasAccount
(@NotNull org.bukkit.OfflinePlayer player) boolean
hasAccountInWorld
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String world) boolean
hasFunds
(@NotNull org.bukkit.OfflinePlayer player, double amount) boolean
hasFundsInWorld
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String world, double amount) boolean
isBankMember
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String name) boolean
isBankOwner
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String name) boolean
@NotNull net.milkbowl.vault.economy.EconomyResponse
withdrawFunds
(@NotNull org.bukkit.OfflinePlayer player, double amount) @NotNull net.milkbowl.vault.economy.EconomyResponse
withdrawFundsInWorld
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String world, double amount) boolean
withdrawFundsInWorldSimple
(@NotNull org.bukkit.OfflinePlayer player, @NotNull String world, double amount) boolean
withdrawFundsSimple
(@NotNull org.bukkit.OfflinePlayer player, double amount)
-
Constructor Details
-
VaultEngine
-
-
Method Details
-
getEconomy
@Nullable public @Nullable net.milkbowl.vault.economy.Economy getEconomy() -
getEconomyName
-
getCurrencyNameSingular
-
getCurrencyNamePlural
-
isEconomyEnabled
public boolean isEconomyEnabled() -
doesEconomySupportBanks
public boolean doesEconomySupportBanks() -
getEconomyFractionalDigits
public int getEconomyFractionalDigits() -
formatAmount
-
hasAccount
public boolean hasAccount(@NotNull @NotNull org.bukkit.OfflinePlayer player) -
hasAccountInWorld
public boolean hasAccountInWorld(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String world) -
getBalance
public double getBalance(@NotNull @NotNull org.bukkit.OfflinePlayer player) -
getBalanceInWorld
public double getBalanceInWorld(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String world) -
hasFunds
public boolean hasFunds(@NotNull @NotNull org.bukkit.OfflinePlayer player, double amount) -
hasFundsInWorld
public boolean hasFundsInWorld(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String world, double amount) -
withdrawFunds
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse withdrawFunds(@NotNull @NotNull org.bukkit.OfflinePlayer player, double amount) -
withdrawFundsSimple
public boolean withdrawFundsSimple(@NotNull @NotNull org.bukkit.OfflinePlayer player, double amount) -
withdrawFundsInWorld
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse withdrawFundsInWorld(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String world, double amount) -
withdrawFundsInWorldSimple
public boolean withdrawFundsInWorldSimple(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String world, double amount) -
depositFunds
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse depositFunds(@NotNull @NotNull org.bukkit.OfflinePlayer player, double amount) -
depositFundsSimple
public boolean depositFundsSimple(@NotNull @NotNull org.bukkit.OfflinePlayer player, double amount) -
depositFundsInWorld
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse depositFundsInWorld(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String world, double amount) -
depositFundsInWorldSimple
public boolean depositFundsInWorldSimple(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String world, double amount) -
createBank
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse createBank(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String name) -
createBankSimple
public boolean createBankSimple(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String name) -
deleteBank
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse deleteBank(@NotNull @NotNull String name) -
deleteBankSimple
-
checkBankBalance
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse checkBankBalance(@NotNull @NotNull String name) -
checkBankBalanceSimple
-
bankHasFunds
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse bankHasFunds(@NotNull @NotNull String name, double amount) -
bankHasFundsSimple
-
bankWithdrawFunds
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse bankWithdrawFunds(@NotNull @NotNull String name, double amount) -
bankWithdrawFundsSimple
-
bankDepositFunds
@NotNull public @NotNull net.milkbowl.vault.economy.EconomyResponse bankDepositFunds(@NotNull @NotNull String name, double amount) -
bankDepositFundsSimple
-
isBankOwner
public boolean isBankOwner(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String name) -
isBankMember
public boolean isBankMember(@NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull String name) -
getBanks
-
createAccount
public boolean createAccount(org.bukkit.OfflinePlayer player) -
createAccountInWorld
-