From 732ef31f2e408a1507f38b5728a0df73c083a4fb Mon Sep 17 00:00:00 2001 From: Pepich Date: Wed, 15 Nov 2017 18:54:15 +0100 Subject: [PATCH] Deleted unnecessary stuff, converted to maven project --- pom.xml | 19 +++++++++++++++++++ src/com/redstoner/faucet/Faucet.java | 1 - src/com/redstoner/modules/Module.java | 8 -------- 3 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..65724e7 --- /dev/null +++ b/pom.xml @@ -0,0 +1,19 @@ + + 4.0.0 + Faucet + Faucet + 0.0.1-SNAPSHOT + + src + + + maven-compiler-plugin + 3.6.1 + + + + + + + + \ No newline at end of file diff --git a/src/com/redstoner/faucet/Faucet.java b/src/com/redstoner/faucet/Faucet.java index d276fe9..1ca37ef 100644 --- a/src/com/redstoner/faucet/Faucet.java +++ b/src/com/redstoner/faucet/Faucet.java @@ -33,7 +33,6 @@ public class Faucet extends JavaPlugin { plugin = this; ChatAPI.initialize(this); - // Configger.init(); MysqlHandler.init(); } diff --git a/src/com/redstoner/modules/Module.java b/src/com/redstoner/modules/Module.java index 17d3dce..2a0dcb0 100644 --- a/src/com/redstoner/modules/Module.java +++ b/src/com/redstoner/modules/Module.java @@ -32,14 +32,6 @@ public interface Module public default void onDisable() {} - /** Gets called on registration of the module, when this option is selected for command registration - * - * @return The String used for the CommandManager to register the commands. */ - public default String getCommandString() - { - return null; - } - /** This method gets run the very first time a module gets loaded. You can use this to set up file structures or background data. */ public default void firstLoad() {}