recompile

This commit is contained in:
Fangoboyo 2022-06-08 13:07:47 -07:00
parent 206aaebe5c
commit ccba90707f
11 changed files with 41 additions and 1 deletions

View File

@ -7,6 +7,7 @@
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" /> <outputRelativeToContentRoot value="true" />
<module name="Installer" /> <module name="Installer" />
<module name="EaglerPluginInstaller" />
</profile> </profile>
</annotationProcessing> </annotationProcessing>
<bytecodeTargetLevel> <bytecodeTargetLevel>

View File

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="EaglerPluginInstaller">
<CLASSES>
<root url="jar://$PROJECT_DIR$/out/artifacts/EaglerPluginInstaller_jar/EaglerPluginInstaller.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -17,7 +17,9 @@ public class Main extends JavaPlugin {
instance = this; instance = this;
try { try {
Installer.InstallUpdater(); 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("install").setExecutor(new InstallCommand());
getCommand("plist").setExecutor(new plistCommand()); getCommand("plist").setExecutor(new plistCommand());
getServer().getConsoleSender().sendMessage("--------------------------------------------"); getServer().getConsoleSender().sendMessage("--------------------------------------------");

Binary file not shown.

15
target/classes/plugin.yml Normal file
View File

@ -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: /<command> <plugin>
description: Installs the latest compatible version of the requested plugin
plist:
usage: /<command>
description: Gives you a list of available plugins with PluginInstaller

View File

@ -0,0 +1,5 @@
#Generated by Maven
#Wed Jun 08 13:04:28 PDT 2022
groupId=tech.nully
artifactId=EaglerPluginInstaller
version=1.0.0

View File

@ -0,0 +1,4 @@
tech\nully\PluginInstaller\InstallCommand.class
tech\nully\PluginInstaller\plistCommand.class
tech\nully\PluginInstaller\Installer.class
tech\nully\PluginInstaller\Main.class

View File

@ -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