Beispiel #1
0
 public boolean accountExists(String name) {
   return plugin.getFeDatabase().accountExists(name.toLowerCase());
 }
Beispiel #2
0
 public void removeAccount(String name) {
   plugin.getFeDatabase().removeAccount(name.toLowerCase());
 }
Beispiel #3
0
 public Account getAccount(String name) {
   return plugin.getFeDatabase().getAccount(name.toLowerCase());
 }
Beispiel #4
0
 public String getCurrencyMinorSingle() {
   return plugin.getConfig().getString("currency.minor.single");
 }
Beispiel #5
0
 public String getCurrencyMinorMultiple() {
   return plugin.getConfig().getString("currency.minor.multiple");
 }
Beispiel #6
0
 public boolean isCurrencyNegative() {
   return plugin.getConfig().getBoolean("currency.negative");
 }
Beispiel #7
0
 public boolean isMinorCurrencyEnabled() {
   return plugin.getConfig().getBoolean("currency.minor.enabled");
 }
Beispiel #8
0
 public double getMaxHoldings() {
   return plugin.getConfig().getDouble("maxholdings");
 }
Beispiel #9
0
 public String getCurrencyPrefix() {
   return plugin.getConfig().getString("currency.prefix");
 }
Beispiel #10
0
 public double getDefaultHoldings() {
   return plugin.getConfig().getDouble("holdings");
 }
Beispiel #11
0
 public List<Account> getAccounts() {
   return plugin.getFeDatabase().getAccounts();
 }
Beispiel #12
0
 public List<Account> getTopAccounts(int size) {
   return plugin.getFeDatabase().getTopAccounts(size);
 }
Beispiel #13
0
 public List<Account> getTopAccounts() {
   return plugin.getFeDatabase().getTopAccounts(plugin.getConfig().getInt("topsize"));
 }
Beispiel #14
0
 public void clean() {
   plugin.getFeDatabase().clean();
 }