Class EconomyManager

java.lang.Object
fr.fuzeblocks.homeplugin.economy.EconomyManager

public class EconomyManager extends Object
The type Economy manager.
  • Constructor Details

    • EconomyManager

      public EconomyManager()
  • Method Details

    • setup

      public static void setup(HomePlugin plugin)
      Sets .
      Parameters:
      plugin - the plugin
    • getCost

      public static double getCost(String key, double defaultValue)
      Gets cost.
      Parameters:
      key - the key
      defaultValue - the default value
      Returns:
      the cost
    • getHomeCreationCost

      public static double getHomeCreationCost()
      Gets home creation cost.
      Returns:
      the home creation cost
    • getHomeTeleportPrice

      public static double getHomeTeleportPrice()
      Gets home teleport price.
      Returns:
      the home teleport price
    • getTpaRequestPrice

      public static double getTpaRequestPrice()
      Gets tpa request price.
      Returns:
      the tpa request price
    • getRtpPrice

      public static double getRtpPrice()
      Gets rtp price.
      Returns:
      the rtp price
    • pay

      public static net.milkbowl.vault.economy.EconomyResponse.ResponseType pay(org.bukkit.entity.Player player, double amount)
      Pay economy response . response type.
      Parameters:
      player - the player
      amount - the amount
      Returns:
      the economy response . response type