Class Econ

java.lang.Object
dev.kitteh.factions.integration.Econ

public class Econ extends Object
  • Constructor Details

    • Econ

      public Econ()
  • Method Details

    • setup

      public static void setup()
    • shouldBeUsed

      public static boolean shouldBeUsed()
    • shouldBeUsedWithBanks

      @AvailableSince("4.3.0") public static boolean shouldBeUsedWithBanks()
    • isSetup

      public static boolean isSetup()
    • getEcon

      public static net.milkbowl.vault.economy.Economy getEcon()
    • modifyUniverseMoney

      public static void modifyUniverseMoney(double delta)
    • sendBalanceInfo

      public static void sendBalanceInfo(FPlayer to, Participator about)
    • sendBalanceInfo

      public static void sendBalanceInfo(org.bukkit.command.CommandSender to, Faction about)
    • canIControlYou

      public static boolean canIControlYou(Participator i, Participator you)
    • transferMoney

      public static boolean transferMoney(Participator invoker, Participator from, Participator to, double amount)
    • transferMoney

      public static boolean transferMoney(Participator invoker, Participator from, Participator to, double amount, boolean notify)
    • sendTransferInfo

      public static void sendTransferInfo(Participator invoker, Participator from, Participator to, double amount)
    • hasAtLeast

      public static boolean hasAtLeast(Participator ep, double delta, String toDoThis)
    • modifyMoney

      public static boolean modifyMoney(Participator participator, double delta)
    • modifyMoney

      public static boolean modifyMoney(Participator ep, double delta, @Nullable String toDoThis, @Nullable String forDoingThis)
    • moneyString

      public static String moneyString(double amount)
    • calculateClaimCost

      public static double calculateClaimCost(int ownedLand, boolean takingFromAnotherFaction)
    • calculateClaimRefund

      public static double calculateClaimRefund(int ownedLand)
    • calculateTotalLandValue

      public static double calculateTotalLandValue(int ownedLand)
    • calculateTotalLandRefund

      public static double calculateTotalLandRefund(int ownedLand)
    • getBalance

      public static double getBalance(Participator ep)
    • has

      public static boolean has(Participator ep, double amount)
    • getFriendlyBalance

      public static String getFriendlyBalance(FPlayer player)
    • setBalance

      public static boolean setBalance(Participator ep, double amount)
    • modifyBalance

      public static boolean modifyBalance(Participator ep, double amount)
    • deposit

      public static boolean deposit(Participator ep, double amount)
    • withdraw

      public static boolean withdraw(Participator ep, double amount)
    • checkStatus

      public static org.bukkit.OfflinePlayer checkStatus(org.bukkit.OfflinePlayer op)