diff --git a/out/artifacts/PluginInstaller_jar/PluginInstaller.jar b/out/artifacts/PluginInstaller_jar/PluginInstaller.jar index 5ba71aa..4e5f9d6 100644 Binary files a/out/artifacts/PluginInstaller_jar/PluginInstaller.jar and b/out/artifacts/PluginInstaller_jar/PluginInstaller.jar differ diff --git a/src/main/java/tech/nully/PluginInstaller/Main.java b/src/main/java/tech/nully/PluginInstaller/Main.java index 5f7c97e..52801fa 100644 --- a/src/main/java/tech/nully/PluginInstaller/Main.java +++ b/src/main/java/tech/nully/PluginInstaller/Main.java @@ -18,15 +18,13 @@ public class Main extends JavaPlugin { try { Installer.UpdatePlugin(); System.out.println(ChatColor.AQUA + "PluginInstaller has been udpated"); - getServer().getPluginManager().disablePlugin(this); - getServer().getPluginManager().enablePlugin(this); } catch (IOException e) {} getCommand("install").setExecutor(new InstallCommand()); getCommand("plist").setExecutor(new plistCommand()); getServer().getConsoleSender().sendMessage("--------------------------------------------"); getServer().getConsoleSender().sendMessage("--------------------------------------------"); getServer().getConsoleSender().sendMessage( - ChatColor.GREEN + "[PluginInstaller]" + ChatColor.AQUA + " PluginInstaller V1.0.6 is now Enabled! :D"); + ChatColor.GREEN + "[PluginInstaller]" + ChatColor.AQUA + " PluginInstaller V1.0.7 is now Enabled! :D"); getServer().getConsoleSender().sendMessage("To use PluginInstaller, run the command \"/install \" (\"install \" in console) to install a plugin"); getServer().getConsoleSender().sendMessage("To get a list of installable plugins, use the command \"/plist\" or \"plist\" in console"); getServer().getConsoleSender().sendMessage("You can request to add a new plugin to the database by going to https://github.com/darverdevs/PluginInstallerRepo/tree/main"); @@ -40,7 +38,7 @@ public class Main extends JavaPlugin { getServer().getConsoleSender().sendMessage("--------------------------------------------"); getServer().getConsoleSender().sendMessage("--------------------------------------------"); getServer().getConsoleSender().sendMessage( - ChatColor.GREEN + "[PluginInstaller]" + ChatColor.AQUA + " PluginInstaller V1.0.6 is now Disabled! D:"); + ChatColor.GREEN + "[PluginInstaller]" + ChatColor.AQUA + " PluginInstaller V1.0.7 is now Disabled! D:"); getServer().getConsoleSender().sendMessage("--------------------------------------------"); getServer().getConsoleSender().sendMessage("--------------------------------------------"); } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 11c946a..ad665ba 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: PluginInstaller -version: 1.0.0 +version: 1.0.7 main: tech.nully.PluginInstaller.Main prefix: [PluginInstaller] authors: [BongoCat] diff --git a/target/classes/tech/nully/PluginInstaller/Main.class b/target/classes/tech/nully/PluginInstaller/Main.class index 3d27dd2..1b9fde1 100644 Binary files a/target/classes/tech/nully/PluginInstaller/Main.class and b/target/classes/tech/nully/PluginInstaller/Main.class differ