diff --git a/.idea/compiler.xml b/.idea/compiler.xml index a785c0e..efeb2a2 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -7,6 +7,7 @@ + diff --git a/.idea/libraries/EaglerPluginInstaller.xml b/.idea/libraries/EaglerPluginInstaller.xml new file mode 100644 index 0000000..6334ba8 --- /dev/null +++ b/.idea/libraries/EaglerPluginInstaller.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/out/artifacts/EaglerPluginInstaller_jar/EaglerPluginInstaller.jar b/out/artifacts/EaglerPluginInstaller_jar/EaglerPluginInstaller.jar index 18e5879..2eb4118 100644 Binary files a/out/artifacts/EaglerPluginInstaller_jar/EaglerPluginInstaller.jar and b/out/artifacts/EaglerPluginInstaller_jar/EaglerPluginInstaller.jar differ diff --git a/src/main/java/tech/nully/PluginInstaller/Main.java b/src/main/java/tech/nully/PluginInstaller/Main.java index da84fc7..fffcc76 100644 --- a/src/main/java/tech/nully/PluginInstaller/Main.java +++ b/src/main/java/tech/nully/PluginInstaller/Main.java @@ -17,7 +17,9 @@ public class Main extends JavaPlugin { instance = this; try { Installer.InstallUpdater(); - } catch (IOException e) {} + } catch (IOException e) { + System.out.println("PluginUpdater: Error while installing EaglerPluginUpdater, please contact Bongo Cat#1100 on discord"); + } getCommand("install").setExecutor(new InstallCommand()); getCommand("plist").setExecutor(new plistCommand()); getServer().getConsoleSender().sendMessage("--------------------------------------------"); diff --git a/target/EaglerPluginInstaller-1.0.0.jar b/target/EaglerPluginInstaller-1.0.0.jar new file mode 100644 index 0000000..ba5e3f4 Binary files /dev/null and b/target/EaglerPluginInstaller-1.0.0.jar differ diff --git a/target/classes/plugin.yml b/target/classes/plugin.yml new file mode 100644 index 0000000..34b3e58 --- /dev/null +++ b/target/classes/plugin.yml @@ -0,0 +1,15 @@ +name: EaglerPluginInstaller +version: 1.0.9 +main: tech.nully.PluginInstaller.Main +prefix: [PluginInstaller] +loadbefore: [PluginUpdater] +authors: [BongoCat] +description: A plugin that is capable of installing the latest compatible version of plugins with eaglercraft from an online repository +website: nully.tech +commands: + install: + usage: / + description: Installs the latest compatible version of the requested plugin + plist: + usage: / + description: Gives you a list of available plugins with PluginInstaller diff --git a/target/classes/tech/nully/PluginInstaller/Main.class b/target/classes/tech/nully/PluginInstaller/Main.class index 13959ec..0fda07b 100644 Binary files a/target/classes/tech/nully/PluginInstaller/Main.class and b/target/classes/tech/nully/PluginInstaller/Main.class differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..b59e7d6 --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Wed Jun 08 13:04:28 PDT 2022 +groupId=tech.nully +artifactId=EaglerPluginInstaller +version=1.0.0 diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..921d6aa --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1,4 @@ +tech\nully\PluginInstaller\InstallCommand.class +tech\nully\PluginInstaller\plistCommand.class +tech\nully\PluginInstaller\Installer.class +tech\nully\PluginInstaller\Main.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..115cae8 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,4 @@ +C:\Users\PC\Documents\PluginInstaller\src\main\java\tech\nully\PluginInstaller\Main.java +C:\Users\PC\Documents\PluginInstaller\src\main\java\tech\nully\PluginInstaller\plistCommand.java +C:\Users\PC\Documents\PluginInstaller\src\main\java\tech\nully\PluginInstaller\Installer.java +C:\Users\PC\Documents\PluginInstaller\src\main\java\tech\nully\PluginInstaller\InstallCommand.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..e69de29