diff --git a/.idea/.gitignore b/.idea/.gitignore
deleted file mode 100644
index 13566b8..0000000
--- a/.idea/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml
-# Editor-based HTTP Client requests
-/httpRequests/
-# Datasource local storage ignored files
-/dataSources/
-/dataSources.local.xml
diff --git a/.idea/artifacts/PluginInstaller_jar.xml b/.idea/artifacts/PluginInstaller_jar.xml
deleted file mode 100644
index deb4c07..0000000
--- a/.idea/artifacts/PluginInstaller_jar.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $PROJECT_DIR$/out/artifacts/PluginInstaller_jar
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
deleted file mode 100644
index ee785cf..0000000
--- a/.idea/compiler.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/discord.xml b/.idea/discord.xml
deleted file mode 100644
index 30bab2a..0000000
--- a/.idea/discord.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
deleted file mode 100644
index aa00ffa..0000000
--- a/.idea/encodings.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
deleted file mode 100644
index fe537f9..0000000
--- a/.idea/jarRepositories.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index 18fe036..0000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 94a25f7..0000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/PluginInstaller.iml b/PluginInstaller.iml
deleted file mode 100644
index 4ec1b0e..0000000
--- a/PluginInstaller.iml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
- BUKKIT
-
-
-
-
-
\ No newline at end of file
diff --git a/out/artifacts/PluginInstaller_jar/PluginInstaller.jar b/PluginInstaller.jar
similarity index 100%
rename from out/artifacts/PluginInstaller_jar/PluginInstaller.jar
rename to PluginInstaller.jar
diff --git a/pom.xml b/pom.xml
deleted file mode 100644
index 4cd0078..0000000
--- a/pom.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
- 4.0.0
-
- tech.nully
- PrimCore
- 1.0.0
- jar
-
- PrimCore
-
- A custom coded plugin for primcraft written in Kotlin
- nully.tech
-
- 1.8
- UTF-8
- 1.8
- 1.8
-
-
-
-
- PrimCoreRepos-repos
- https://github.com/darverdevs/EaglerMavenRepo/raw/main
-
-
-
-
-
- com.github.EaglerMaven
- craftbukkit
- 1.5.2-R1.0
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/tech/nully/PluginInstaller/InstallCommand.java b/src/main/java/tech/nully/PluginInstaller/InstallCommand.java
deleted file mode 100644
index 2ae96da..0000000
--- a/src/main/java/tech/nully/PluginInstaller/InstallCommand.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package tech.nully.PluginInstaller;
-
-import org.bukkit.ChatColor;
-import org.bukkit.command.Command;
-import org.bukkit.command.CommandExecutor;
-import org.bukkit.command.CommandSender;
-import org.bukkit.command.ConsoleCommandSender;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URI;
-import java.util.Locale;
-
-public class InstallCommand implements CommandExecutor {
-
- @Override
- public boolean onCommand(CommandSender snder, Command cmd, String label, String[] args) {
- // Name checker
- if (cmd.getName().equalsIgnoreCase("installpl")) {
- snder.sendMessage("Check 1 passed");
- if (snder.isOp() || snder instanceof ConsoleCommandSender) {
- snder.sendMessage("Check 2 passed");
- Installer ins = new Installer();
- if (args.length != 1) return false;
- snder.sendMessage("Check 3 passed");
- String Install_Jar = args[0].toLowerCase();
-
- // Checks if the list of plugin links contains what the user wants to install
- if (Main.getJavaURLs().containsKey(Install_Jar)) {
- snder.sendMessage("Check 4 passed");
- // Creates an input stream based on the corresponding URL from the players first argument
- try (InputStream in = URI.create(Main.getJavaURLs().get(Install_Jar)).toURL().openStream()) {
- snder.sendMessage("Check 5 passed");
- // Installs the plugin
- ins.InstallPlugin(in, Install_Jar.toLowerCase(), snder);
- snder.sendMessage("You have successfully installed the " + ChatColor.GREEN + Install_Jar.toUpperCase() + ChatColor.WHITE + " plugin!");
- return true;
- } catch (IOException e) {
- }
- }
- }
- }
- return false;
- }
-}
diff --git a/src/main/java/tech/nully/PluginInstaller/Installer.java b/src/main/java/tech/nully/PluginInstaller/Installer.java
deleted file mode 100644
index 9449b63..0000000
--- a/src/main/java/tech/nully/PluginInstaller/Installer.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package tech.nully.PluginInstaller;
-
-import org.bukkit.Bukkit;
-import org.bukkit.command.CommandSender;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.nio.file.Files;
-import java.nio.file.StandardCopyOption;
-import java.util.HashMap;
-
-public class Installer {
- private HashMap JARURLs = new HashMap<>();
-
- public static HashMap SetupInstaller() {
- Installer ins = new Installer();
- ins.JARURLs.put("dynmap", "https://github.com/darverdevs/PluginInstallerRepo/raw/main/dynmap-1.9.1.jar");;
- ins.JARURLs.put("factions", "https://github.com/darverdevs/PluginInstallerRepo/raw/main/Factions.jar");
- ins.JARURLs.put("permissionsex", "https://github.com/darverdevs/PluginInstallerRepo/raw/main/PermissionSex.jar");
- ins.JARURLs.put("protocollib", "https://github.com/darverdevs/PluginInstallerRepo/raw/main/ProtocolLib.jar");
- ins.JARURLs.put("vault", "https://github.com/darverdevs/PluginInstallerRepo/raw/main/Vault.jar");
- ins.JARURLs.put("mcore", "https://github.com/darverdevs/PluginInstallerRepo/raw/main/mcore.jar");
- return ins.JARURLs;
- }
-
- public void InstallPlugin(InputStream in, String pluginName, CommandSender s) throws IOException {
- File f = new File(Main.getInstance().getDataFolder().getParent() + "/" + pluginName + ".jar");
- s.sendMessage("Check 1x passed");
- Files.copy(in, f.toPath(), StandardCopyOption.REPLACE_EXISTING);
- System.out.println(f.toPath().toString());
- s.sendMessage("Check 2x passed");
- }
-}
diff --git a/src/main/java/tech/nully/PluginInstaller/Main.java b/src/main/java/tech/nully/PluginInstaller/Main.java
deleted file mode 100644
index 35f0a57..0000000
--- a/src/main/java/tech/nully/PluginInstaller/Main.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package tech.nully.PluginInstaller;
-
-import org.bukkit.ChatColor;
-import org.bukkit.plugin.Plugin;
-import org.bukkit.plugin.java.JavaPlugin;
-
-import java.util.HashMap;
-
-public class Main extends JavaPlugin {
- private static Plugin instance = null;
- public static Plugin getInstance() {
- return instance;
- }
- private static HashMap javaURLs = null;
- public static HashMap getJavaURLs() {
- return javaURLs;
- }
- @Override
- public void onEnable() {
- instance = this;
- getCommand("installpl").setExecutor(new InstallCommand());
- javaURLs = Installer.SetupInstaller();
- getServer().getConsoleSender().sendMessage("--------------------------------------------");
- getServer().getConsoleSender().sendMessage("--------------------------------------------");
- getServer().getConsoleSender().sendMessage(
- ChatColor.GREEN + "[PluginInstaller]" + ChatColor.AQUA + " PluginInstaller V1.0.0 is now Enabled! :D");
- getServer().getConsoleSender().sendMessage("--------------------------------------------");
- getServer().getConsoleSender().sendMessage("--------------------------------------------");
- }
-
- @Override
- public void onDisable() {
- getServer().getConsoleSender().sendMessage("--------------------------------------------");
- getServer().getConsoleSender().sendMessage("--------------------------------------------");
- getServer().getConsoleSender().sendMessage(
- ChatColor.GREEN + "[PluginInstaller]" + ChatColor.AQUA + " PluginInstaller V1.0.0 is now Disabled! D:");
- getServer().getConsoleSender().sendMessage("--------------------------------------------");
- getServer().getConsoleSender().sendMessage("--------------------------------------------");
- }
-}
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
deleted file mode 100644
index eee3df5..0000000
--- a/src/main/resources/plugin.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-name: PluginInstaller
-version: 1.0.0
-main: tech.nully.PluginInstaller.Main
-prefix: [PluginInstaller]
-authors: [BongoCat]
-description: A plugin that is capable of installing the latest compatible version of plugins with eaglercraft
-website: nully.tech
-commands:
- installpl:
- usage: /
- description: Installs the latest compatible version of the requested plugin
diff --git a/target/classes/plugin.yml b/target/classes/plugin.yml
deleted file mode 100644
index eee3df5..0000000
--- a/target/classes/plugin.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-name: PluginInstaller
-version: 1.0.0
-main: tech.nully.PluginInstaller.Main
-prefix: [PluginInstaller]
-authors: [BongoCat]
-description: A plugin that is capable of installing the latest compatible version of plugins with eaglercraft
-website: nully.tech
-commands:
- installpl:
- usage: /
- description: Installs the latest compatible version of the requested plugin
diff --git a/target/classes/tech/nully/PluginInstaller/InstallCommand.class b/target/classes/tech/nully/PluginInstaller/InstallCommand.class
deleted file mode 100644
index feac3a0..0000000
Binary files a/target/classes/tech/nully/PluginInstaller/InstallCommand.class and /dev/null differ
diff --git a/target/classes/tech/nully/PluginInstaller/Installer.class b/target/classes/tech/nully/PluginInstaller/Installer.class
deleted file mode 100644
index 41aec8c..0000000
Binary files a/target/classes/tech/nully/PluginInstaller/Installer.class and /dev/null differ
diff --git a/target/classes/tech/nully/PluginInstaller/Main.class b/target/classes/tech/nully/PluginInstaller/Main.class
deleted file mode 100644
index 3b617c3..0000000
Binary files a/target/classes/tech/nully/PluginInstaller/Main.class and /dev/null differ