コード例 #1
0
 @Override
 public boolean isEnabled() {
   return economy != null && economy.isEnabled() && WorldEconomyVault.isEnabled();
 }
コード例 #2
0
 @Override
 public String currencyNamePlural() {
   return WorldEconomyVault.currencyNamePlural();
 }
コード例 #3
0
 @Override
 public String currencyNameSingular() {
   return WorldEconomyVault.currencyNameSingular();
 }
コード例 #4
0
 @Override
 public int fractionalDigits() {
   return WorldEconomyVault.fractionalDigits();
 }
コード例 #5
0
 @Override
 public String format(double amount) {
   return WorldEconomyVault.format(amount);
 }
コード例 #6
0
 @Override
 public EconomyResponse depositPlayer(OfflinePlayer offlinePlayer, double amount) {
   return WorldEconomyVault.depositPlayer(offlinePlayer, amount);
 }
コード例 #7
0
 @Override
 public EconomyResponse withdrawPlayer(OfflinePlayer offlinePlayer, double amount) {
   return WorldEconomyVault.withdrawPlayer(offlinePlayer, amount);
 }
コード例 #8
0
 @Override
 public boolean has(OfflinePlayer offlinePlayer, double amount) {
   return WorldEconomyVault.has(offlinePlayer, amount);
 }
コード例 #9
0
 @Override
 public double getBalance(OfflinePlayer offlinePlayer) {
   return WorldEconomyVault.getBalance(offlinePlayer);
 }
コード例 #10
0
 @Override
 public boolean hasAccount(OfflinePlayer offlinePlayer) {
   return WorldEconomyVault.hasAccount(offlinePlayer);
 }