diff --git a/src/com/massivecraft/factions/Conf.java b/src/com/massivecraft/factions/Conf.java index 24d87767..63ca1d90 100644 --- a/src/com/massivecraft/factions/Conf.java +++ b/src/com/massivecraft/factions/Conf.java @@ -174,6 +174,7 @@ public class Conf public static double econCostClaimFromFactionBonus = 30.0; public static double econClaimAdditionalMultiplier = 0.5; public static double econClaimRefundMultiplier = 0.7; + public static double econClaimUnconnectedFee = 0.0; public static double econCostCreate = 100.0; public static double econCostSethome = 30.0; public static double econCostJoin = 0.0; diff --git a/src/com/massivecraft/factions/FPlayer.java b/src/com/massivecraft/factions/FPlayer.java index 1589e9b2..d8a84367 100644 --- a/src/com/massivecraft/factions/FPlayer.java +++ b/src/com/massivecraft/factions/FPlayer.java @@ -625,8 +625,10 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator if (Econ.shouldBeUsed() && ! this.hasAdminMode()) { double cost = Econ.calculateClaimCost(ownedLand, currentFaction.isNormal()); - //String costString = Econ.moneyString(cost); - + + if (Conf.econClaimUnconnectedFee != 0.0 && forFaction.getLandRoundedInWorld(flocation.getWorldName()) > 0 && !Board.isConnectedLocation(flocation, currentFaction)) + cost += Conf.econClaimUnconnectedFee; + if(Conf.bankEnabled && Conf.bankFactionPaysLandCosts && this.hasFaction()) { Faction faction = this.getFaction();