diff --git a/.gitignore b/.gitignore index ba968fd..4cadab1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ ### Java template -target/classes/io/github/archemedes/knockoutplus/corpse/CorpseRegistry.class /.idea +/*.iml /libs # Mobile Tools for Java (J2ME) diff --git a/pom.xml b/pom.xml index 9f64c55..37f4892 100644 --- a/pom.xml +++ b/pom.xml @@ -2,91 +2,98 @@ -4.0.0 -com.gmail.st3venau.plugins -ArmorStandTools -4.4.6 -ArmorStandTools + 4.0.0 + com.gmail.st3venau.plugins + ArmorStandTools + 4.4.6 + ArmorStandTools - - - - spigot-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - - - - sk89q-repo - https://maven.sk89q.com/repo/ - - - - intellectualsites releases - https://mvn.intellectualsites.com/content/repositories/releases/ - - - intellectualsites snapshots - https://mvn.intellectualsites.com/content/repositories/snapshots/ - - - sonatype-oss-snapshots - https://oss.sonatype.org/content/repositories/snapshots/ - - + + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + + enginehub-repo + https://maven.enginehub.org/repo/ + + + + papermc + https://repo.papermc.io/repository/maven-public/ + + + sonatype-oss-snapshots + https://oss.sonatype.org/content/repositories/snapshots/ + + - - - - org.spigotmc - spigot-api - 1.18-R0.1-SNAPSHOT - provided - - - - com.sk89q.worldguard - worldguard-bukkit - 7.0.7-SNAPSHOT - provided - - - - com.sk89q.worldedit - worldedit-core - 7.3.0-SNAPSHOT - provided - - - - com.plotsquared - PlotSquared-Core - 6.1.3 - - + + + + com.intellectualsites.bom + bom-newest + 1.47 + import + pom + + + - - clean package install - src/main/java - ${project.name}-${project.version} - - - src/main/resources - true - - **/*.yml - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - + + + + org.spigotmc + spigot-api + 1.21-R0.1-SNAPSHOT + provided + + + + com.sk89q.worldguard + worldguard-bukkit + 7.0.10 + provided + + + + com.sk89q.worldedit + worldedit-core + 7.3.5 + provided + + + + com.intellectualsites.plotsquared + plotsquared-core + provided + + + + + UTF-8 + + + + ${project.name}-${project.version} + + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + 17 + + + + + + src/main/resources + true + + + diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/AST.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/AST.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/AST.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/AST.java diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/ArmorStandCmd.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/ArmorStandCmd.java similarity index 97% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/ArmorStandCmd.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/ArmorStandCmd.java index 0744031..b1e69f3 100644 --- a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/ArmorStandCmd.java +++ b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/ArmorStandCmd.java @@ -6,7 +6,6 @@ import org.bukkit.Bukkit; import org.bukkit.command.CommandException; import org.bukkit.entity.ArmorStand; import org.bukkit.entity.Player; -import org.jetbrains.annotations.NotNull; import java.io.Serializable; @@ -103,7 +102,7 @@ public record ArmorStandCmd(String command, CommandType type, Integer priority, } @Override - public int compareTo(@NotNull ArmorStandCmd o) { + public int compareTo(ArmorStandCmd o) { return Integer.compare(priority, o.priority); } } diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/ArmorStandCmdManager.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/ArmorStandCmdManager.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/ArmorStandCmdManager.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/ArmorStandCmdManager.java diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/ArmorStandGUI.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/ArmorStandGUI.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/ArmorStandGUI.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/ArmorStandGUI.java diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/ArmorStandTool.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/ArmorStandTool.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/ArmorStandTool.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/ArmorStandTool.java diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/CommandType.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/CommandType.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/CommandType.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/CommandType.java diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/Commands.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/Commands.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/Commands.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/Commands.java diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/Config.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/Config.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/Config.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/Config.java diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/MainListener.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/MainListener.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/MainListener.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/MainListener.java diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/PlotSquaredHook.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/PlotSquaredHook.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/PlotSquaredHook.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/PlotSquaredHook.java diff --git a/src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/Utils.java b/src/main/java/com/gmail/st3venau/plugins/armorstandtools/Utils.java similarity index 100% rename from src/main/java/com/gmail/St3venAU/plugins/ArmorStandTools/Utils.java rename to src/main/java/com/gmail/st3venau/plugins/armorstandtools/Utils.java