diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6802a00 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +* text=auto + +*.sh text eol=lf +*.java text eol=crlf +*.{yml,yaml,md,xml} text eol=crlf diff --git a/pom.xml b/pom.xml index 9e84f80..a36eca1 100644 --- a/pom.xml +++ b/pom.xml @@ -1,108 +1,107 @@ - 4.0.0 - io.github.townyadvanced - TownyProvinces - 2.2.0 - townyprovinces + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + io.github.townyadvanced + TownyProvinces + 2.2.1 + townyprovinces - - 1.16 - 1.15 - UTF-8 - 0.100.2.0 - + + 17 + 1.21 + UTF-8 + 0.100.4.0 + 3.6 + - - - jitpack.io - https://jitpack.io - - - spigot-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - - - glaremasters repo - https://repo.glaremasters.me/repository/towny/ - - - dynmap-repo - https://repo.mikeprimm.com/ - - - Modrinth - https://api.modrinth.com/maven - - + + + jitpack.io + https://jitpack.io + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + glaremasters repo + https://repo.glaremasters.me/repository/towny/ + + + dynmap-repo + https://repo.mikeprimm.com/ + + + Modrinth + https://api.modrinth.com/maven + + - + + + org.spigotmc + spigot-api + 1.20.4-R0.1-SNAPSHOT + provided + + + com.palmergames.bukkit.towny + towny + ${towny.version} + provided + + + us.dynmap + dynmap-api + ${dynmapapi.version} + provided + + + us.dynmap + DynmapCoreAPI + ${dynmapapi.version} + provided + + + maven.modrinth + pl3xmap + 1.20.4-492 + provided + + + com.github.BlueMap-Minecraft + BlueMapAPI + 2.7.0 + provided + + + xyz.jpenilla + squaremap-api + 1.3.2 + provided + + - - org.spigotmc - spigot-api - 1.16.5-R0.1-SNAPSHOT - provided - - - com.palmergames.bukkit.towny - towny - 0.100.2.0 - provided - - - - us.dynmap - dynmap-api - 3.0-SNAPSHOT - provided - - - maven.modrinth - pl3xmap - 1.20.4-476 - provided - - - com.github.BlueMap-Minecraft - BlueMapAPI - v2.5.1 - provided - - - xyz.jpenilla - squaremap-api - 1.1.12 - provided - - + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + ${java.version} + ${java.version} + + + - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 - - 1.8 - 1.8 - - - - - - src/main/resources - true - - - + + + src/main/resources + true + + + diff --git a/src/main/java/io/github/townyadvanced/townyprovinces/TownyProvinces.java b/src/main/java/io/github/townyadvanced/townyprovinces/TownyProvinces.java index 9a67729..67972de 100644 --- a/src/main/java/io/github/townyadvanced/townyprovinces/TownyProvinces.java +++ b/src/main/java/io/github/townyadvanced/townyprovinces/TownyProvinces.java @@ -42,7 +42,7 @@ public class TownyProvinces extends JavaPlugin { public static final Object PRICE_RECALCULATION_JOB_LOCK = new Object(); public static final Object MAP_DISPLAY_JOB_LOCK = new Object(); private static TownyProvinces plugin; - private static final Version requiredTownyVersion = Version.fromString("0.100.2.0"); + private static final Version requiredTownyVersion = Version.fromString("0.100.4.0"); private final TaskScheduler scheduler; public TownyProvinces() {