diff --git a/src/main/java/fr/xephi/authme/AuthMe.java b/src/main/java/fr/xephi/authme/AuthMe.java index b2e2267e..3ca66e4f 100644 --- a/src/main/java/fr/xephi/authme/AuthMe.java +++ b/src/main/java/fr/xephi/authme/AuthMe.java @@ -190,22 +190,12 @@ public class AuthMe extends JavaPlugin { // Set up Metrics OnStartupTasks.sendMetrics(this, settings); if (settings.getProperty(SecuritySettings.SHOW_STARTUP_BANNER)) { - String loadColorConfig = settings.getProperty(SecuritySettings.STARTUP_BANNER_COLOR); - if (loadColorConfig.startsWith("§") && !loadColorConfig.endsWith("§") && (loadColorConfig.length() % 2 == 0)) { - logger.info("\n" + loadColorConfig + " ___ __ __ __ ___ \n" + - loadColorConfig + " / | __ __/ /_/ /_ / |/ /__ \n" + - loadColorConfig + " / /| |/ / / / __/ __ \\/ /|_/ / _ \\\n" + - loadColorConfig + " / ___ / /_/ / /_/ / / / / / / __/\n" + - loadColorConfig + "/_/ |_\\__,_/\\__/_/ /_/_/ /_/\\___/ \n" + - loadColorConfig + " "); - } else { - logger.info("\n" + " ___ __ __ __ ___ \n" + - " / | __ __/ /_/ /_ / |/ /__ \n" + - " / /| |/ / / / __/ __ \\/ /|_/ / _ \\\n" + - " / ___ / /_/ / /_/ / / / / / / __/\n" + - "/_/ |_\\__,_/\\__/_/ /_/_/ /_/\\___/ \n" + - " "); - } + logger.info("\n" + " ___ __ __ __ ___ \n" + + " / | __ __/ /_/ /_ / |/ /__ \n" + + " / /| |/ / / / __/ __ \\/ /|_/ / _ \\\n" + + " / ___ / /_/ / /_/ / / / / / / __/\n" + + "/_/ |_\\__,_/\\__/_/ /_/_/ /_/\\___/ \n" + + " "); } // Successful message //detect server brand with classloader diff --git a/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java b/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java index 937712fa..be65f20b 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java @@ -100,10 +100,6 @@ public final class SecuritySettings implements SettingsHolder { public static final Property SHOW_STARTUP_BANNER = newProperty("Plugin.banners.showBanners", true); - @Comment("Change the banner colors here (Default: §r)") - public static final Property STARTUP_BANNER_COLOR = - newProperty("Plugin.banners.bannerColor", "§r"); - @Comment("Max allowed tries before a captcha is required") public static final Property MAX_LOGIN_TRIES_BEFORE_CAPTCHA = newProperty("Security.captcha.maxLoginTry", 8);