diff --git a/src/main/java/com/massivecraft/factions/P.java b/src/main/java/com/massivecraft/factions/P.java index a5020e92..c63ee207 100644 --- a/src/main/java/com/massivecraft/factions/P.java +++ b/src/main/java/com/massivecraft/factions/P.java @@ -176,6 +176,16 @@ public void onEnable() { // since some other plugins execute commands directly through this command interface, provide it this.getCommand(this.refCommand).setExecutor(this); + if (P.p.getDescription().getFullName().contains("BETA")) { + divider(); + System.out.println("You are using a BETA version of the plugin!"); + System.out.println("This comes with risks of small bugs in newer features!"); + System.out.println("For support head to: https://github.com/ProSavage/SavageFactions/issues"); + divider(); + } + + + setupPlaceholderAPI(); postEnable(); @@ -243,6 +253,12 @@ public GsonBuilder getGsonBuilder() { .registerTypeAdapterFactory(EnumTypeAdapter.ENUM_FACTORY); } + private void divider() { + System.out.println(" .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-"); + System.out.println(" / / \\ \\ / / \\ \\ / / \\ \\ / / \\ \\ / / \\ \\ / / \\ \\ / / \\ \\ / / \\"); + System.out.println("`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-'"); + } + @Override public void onDisable() { // only save data if plugin actually completely loaded successfully