diff --git a/api/src/main/java/de/epiceric/shopchest/api/config/Config.java b/api/src/main/java/de/epiceric/shopchest/api/config/Config.java index f083797..b99953e 100644 --- a/api/src/main/java/de/epiceric/shopchest/api/config/Config.java +++ b/api/src/main/java/de/epiceric/shopchest/api/config/Config.java @@ -21,6 +21,7 @@ public class Config { public static final Property CORE_SHOP_INFO_ITEM = new Property<>(Material.class, "core", "shop_info_item", Material.STICK); public static final Property SHOP_CREATION_PRICE = new Property<>(Double.class, "shop_creation", "price", 5d); + public static final Property SHOP_CREATION_REFUND_PRICE = new Property<>(Boolean.class, "shop_creation", "refund_price", false); public static final Property SHOP_CREATION_ALLOW_DECIMAL_PRICES = new Property<>(Boolean.class, "shop_creation", "allow_decimal_prices", true); public static final Property SHOP_CREATION_ALLOW_BROKEN_ITEMS = new Property<>(Boolean.class, "shop_creation", "allow_broken_items", false); public static final Property SHOP_CREATION_BLACKLIST = new Property<>(MaterialList.class, "shop_creation", "blacklist", new MaterialList()); @@ -30,7 +31,6 @@ public class Config { public static final Property FEATURES_CONFIRM_SHOPPING = new Property<>(Boolean.class, "features", "confirm_shopping", false); public static final Property FEATURES_CREATIVE_ITEM_SELECTION = new Property<>(Boolean.class, "features", "creative_item_selection", true); - public static final Property FEATURES_REFUND_SHOP_CREATION = new Property<>(Boolean.class, "features", "refund_shop_creation", false); public static final Property FEATURES_VENDOR_MESSAGES = new Property<>(Boolean.class, "features", "vendor_messages", true); public static final Property FEATURES_VENDOR_MONEY_PROTECTION = new Property<>(Boolean.class, "features", "vendor_money_protection", true); public static final Property FEATURES_AUTO_ADJUST_ITEM_AMOUNT = new Property<>(Boolean.class, "features", "auto_adjust_item_amount", false); diff --git a/core/src/main/resources/config.properties b/core/src/main/resources/config.properties index 16fc913..a5f6589 100644 --- a/core/src/main/resources/config.properties +++ b/core/src/main/resources/config.properties @@ -16,6 +16,7 @@ core.default_shop_limit=5 core.shop_info_item=stick shop_creation.price=5 +shop_creation.refund_price=false shop_creation.allow_decimal_prices=true shop_creation.allow_broken_items=false shop_creation.blacklist=smooth_sandstone,coarse_dirt @@ -24,7 +25,6 @@ shop_creation.maximum_prices=dirt=3000000,oak_planks=1500000 features.confirm_shopping=false features.creative_item_selection=true -features.refund_shop_creation=false features.vendor_messages=true features.vendor_money_protection=true features.auto_adjust_item_amount=false