Add shopCreationCost
This commit is contained in:
@@ -28,12 +28,14 @@ public class Config extends AbstractConfiguration {
|
||||
public static boolean usePermissionShopLimit = false;
|
||||
public static String shopCreationWord = "[SHOP]";
|
||||
public static double shopCreationBalance = 2500; // minimum amount of balance to create a shop, this is to cover the cost to manage shops and upkeep
|
||||
public static double shopCreationCost = 250; // minimum amount of balance to create a shop, this is to cover the cost to manage shops and upkeep
|
||||
private static void shopSettings() {
|
||||
String path = "shop-settings.";
|
||||
shopLimit = config.getInt(path + "default-shop-limit", shopLimit);
|
||||
usePermissionShopLimit = config.getBoolean(path + "use-permission-based-shop-limit", usePermissionShopLimit);
|
||||
shopCreationWord = config.getString(path + "creation-word", shopCreationWord);
|
||||
shopCreationBalance = config.getDouble(path + "creation-balance", shopCreationBalance);
|
||||
shopCreationCost = config.getDouble(path + "creation-cost", shopCreationCost);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user