Class Currency

java.lang.Object
me.sv3ks.hypercurrencies.currencies.Currency

public class Currency extends Object
  • Constructor Details

    • Currency

      public Currency(String name)
  • Method Details

    • delete

      public void delete()
    • addBalance

      public boolean addBalance(UUID player, double amount)
    • removeBalance

      public boolean removeBalance(UUID player, double amount)
    • setBalance

      public boolean setBalance(UUID player, double amount)
    • setProvider

      public void setProvider(CurrencyProvider provider)
    • setStartingBal

      public void setStartingBal(double amount)
    • setMaxBal

      public void setMaxBal(double amount)
    • setMinBal

      public void setMinBal(double amount)
    • setPayState

      public void setPayState(boolean state)
    • setPayMin

      public void setPayMin(double amount)
    • togglePay

      public void togglePay(UUID uuid)
    • getBalance

      public double getBalance(UUID player)
    • getName

      public String getName()
    • getProvider

      public CurrencyProvider getProvider()
    • getStartingBal

      public double getStartingBal()
    • getMinBal

      public double getMinBal()
    • getMaxBal

      public double getMaxBal()
    • getPayState

      public boolean getPayState()
    • getPayMin

      public double getPayMin()
    • getPayToggleState

      public boolean getPayToggleState(UUID uuid)
    • hasBalance

      @Deprecated public boolean hasBalance(UUID player)
      Deprecated.
    • getBalance

      @Deprecated public static double getBalance(String name, UUID player)
      Deprecated.
    • addBalance

      @Deprecated public static boolean addBalance(String name, UUID player, double amount)
      Deprecated.
    • removeBalance

      @Deprecated public static boolean removeBalance(String name, UUID player, double amount)
      Deprecated.
    • setBalance

      @Deprecated public static boolean setBalance(String name, UUID player, double amount)
      Deprecated.
    • createCurrency

      @Deprecated public static void createCurrency(String name)
      Deprecated.
    • deleteCurrency

      @Deprecated public static void deleteCurrency(String name)
      Deprecated.
    • saveCurrencies

      @Deprecated public static void saveCurrencies()
      Deprecated.
    • hasBalance

      @Deprecated public static boolean hasBalance(String name, UUID player)
      Deprecated.
    • currencyExists

      public static boolean currencyExists(String name)