From e09144b3fdb052fe58841306c0d1b50a6183e9a1 Mon Sep 17 00:00:00 2001 From: Eric Date: Sun, 21 Aug 2022 22:26:37 +0200 Subject: [PATCH] Remove config entries for external plugins --- .../epiceric/shopchest/api/config/Config.java | 23 ------------------- core/src/main/resources/config.properties | 23 ------------------- 2 files changed, 46 deletions(-) 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 82542ba..f083797 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 @@ -42,29 +42,6 @@ public class Config { public static final Property ECONOMY_LOG_CLEANUP = new Property<>(Boolean.class, "economy_log", "cleanup", true); public static final Property ECONOMY_LOG_CLEANUP_DAYS = new Property<>(Integer.class, "economy_log", "cleanup_days", 30); - public static final Property PLUGINS_ENABLE_AREASHOP = new Property<>(Boolean.class, "plugins.enable", "areashop", true); - public static final Property PLUGINS_ENABLE_ASKYBLOCK = new Property<>(Boolean.class, "plugins.enable", "askyblock", true); - public static final Property PLUGINS_ENABLE_BENTOBOX = new Property<>(Boolean.class, "plugins.enable", "bentobox", true); - public static final Property PLUGINS_ENABLE_AUTHME = new Property<>(Boolean.class, "plugins.enable", "authme", true); - public static final Property PLUGINS_ENABLE_GRIEFPREVENTION = new Property<>(Boolean.class, "plugins.enable", "griefprevention", true); - public static final Property PLUGINS_ENABLE_ISLANDWORLD = new Property<>(Boolean.class, "plugins.enable", "islandworld", true); - public static final Property PLUGINS_ENABLE_PLOTSQUARED = new Property<>(Boolean.class, "plugins.enable", "plotsquared", true); - public static final Property PLUGINS_ENABLE_USKYBLOCK = new Property<>(Boolean.class, "plugins.enable", "uskyblock", true); - public static final Property PLUGINS_ENABLE_WORLDGUARD = new Property<>(Boolean.class, "plugins.enable", "worldguard", true); - - public static final Property PLUGINS_AREASHOP_REMOVE_ON_DELETE = new Property<>(Boolean.class, "plugins.areashop", "remove_shops_on_delete", true); - public static final Property PLUGINS_AREASHOP_REMOVE_ON_UNRENT = new Property<>(Boolean.class, "plugins.areashop", "remove_shops_on_unrent", true); - public static final Property PLUGINS_AREASHOP_REMOVE_ON_RESELL = new Property<>(Boolean.class, "plugins.areashop", "remove_shops_on_resell", true); - public static final Property PLUGINS_AREASHOP_REMOVE_ON_SELL = new Property<>(Boolean.class, "plugins.areashop", "remove_shops_on_sell", true); - - public static final Property PLUGINS_TOWNY_PLOTS_FOR_RESIDENTS = new Property<>(StringList.class, "plugins.towny", "shop_plots_for_residents", new StringList("commercial")); - public static final Property PLUGINS_TOWNY_PLOTS_FOR_MAYOR = new Property<>(StringList.class, "plugins.towny", "shop_plots_for_mayor", new StringList("commercial")); - public static final Property PLUGINS_TOWNY_PLOTS_FOR_KING = new Property<>(StringList.class, "plugins.towny", "shop_plots_for_king", new StringList("commercial")); - - public static final Property PLUGINS_WORLDGUARD_ALLOW_CREATE_SHOP = new Property<>(Boolean.class, "plugins.worldguard", "default_allow_create_shop", false); - public static final Property PLUGINS_WORLDGUARD_ALLOW_USE_SHOP = new Property<>(Boolean.class, "plugins.worldguard", "default_allow_use_shop", true); - public static final Property PLUGINS_WORLDGUARD_ALLOW_USE_ADMIN_SHOP = new Property<>(Boolean.class, "plugins.worldguard", "default_allow_use_admin_shop", true); - public static final Property DATABASE_TYPE = new Property<>(DatabaseType.class, "database", "type", DatabaseType.SQLITE); public static final Property DATABASE_TABLE_PREFIX = new Property<>(String.class, "database", "table_prefix", "shopchest_"); public static final Property DATABASE_MYSQL_HOSTNAME = new Property<>(String.class, "database.mysql", "hostname", ""); diff --git a/core/src/main/resources/config.properties b/core/src/main/resources/config.properties index 55c8468..16fc913 100644 --- a/core/src/main/resources/config.properties +++ b/core/src/main/resources/config.properties @@ -36,29 +36,6 @@ economy_log.enable=true economy_log.cleanup=true economy_log.cleanup_days=30 -plugins.enable.areashop=true -plugins.enable.askyblock=true -plugins.enable.bentobox=true -plugins.enable.authme=true -plugins.enable.griefprevention=true -plugins.enable.islandworld=true -plugins.enable.plotsquared=true -plugins.enable.uskyblock=true -plugins.enable.worldguard=true - -plugins.worldguard.default_allow_create_shop=false -plugins.worldguard.default_allow_use_shop=true -plugins.worldguard.default_allow_use_admin_shop=true - -plugins.areashop.remove_shops_on_delete=true -plugins.areashop.remove_shops_on_unrent=true -plugins.areashop.remove_shops_on_resell=true -plugins.areashop.remove_shops_on_sell=true - -plugins.towny.shop_plots_for_residents=commercial -plugins.towny.shop_plots_for_mayor=commercial -plugins.towny.shop_plots_for_king=commercial - database.type=sqlite database.table_prefix=shopchest_