From ccff7c3a116a61361f3cb422e83941904630dfb5 Mon Sep 17 00:00:00 2001 From: Adrianed04 Date: Sat, 19 Jun 2021 21:48:33 -0500 Subject: [PATCH] Update to Paper 1.17, Java 16, and compilation changes --- pom.xml | 10 +++++----- proxy/pom.xml | 2 +- .../authmevelocity/proxy/AuthMeVelocityPlugin.java | 1 - proxy/src/main/resources/velocity-plugin.json | 10 ++++++++++ spigot/pom.xml | 10 +++++----- spigot/src/main/resources/plugin.yml | 2 +- 6 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 proxy/src/main/resources/velocity-plugin.json diff --git a/pom.xml b/pom.xml index c91722b..e00e6e7 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.glyart.authmevelocity parent pom - 1.0.0 + 1.0.1 spigot @@ -15,8 +15,8 @@ - 8 - 8 + 16 + 16 @@ -26,8 +26,8 @@ org.apache.maven.plugins maven-compiler-plugin - 8 - 8 + 16 + 16 diff --git a/proxy/pom.xml b/proxy/pom.xml index e8f3cd3..357a6de 100644 --- a/proxy/pom.xml +++ b/proxy/pom.xml @@ -5,7 +5,7 @@ parent com.glyart.authmevelocity - 1.0.0 + 1.0.1 4.0.0 diff --git a/proxy/src/main/java/com/glyart/authmevelocity/proxy/AuthMeVelocityPlugin.java b/proxy/src/main/java/com/glyart/authmevelocity/proxy/AuthMeVelocityPlugin.java index 280a3d4..1844d43 100644 --- a/proxy/src/main/java/com/glyart/authmevelocity/proxy/AuthMeVelocityPlugin.java +++ b/proxy/src/main/java/com/glyart/authmevelocity/proxy/AuthMeVelocityPlugin.java @@ -20,7 +20,6 @@ import java.util.Collections; import java.util.List; import java.util.UUID; -@Plugin(id = "authmevelocity", name = "AuthMeVelocity", version = "1.0.0", url = "https://github.com/Glyart/AuthMeVelocity", description = "This plugin adds the support for AuthMeReloaded to Velocity.", authors = {"xQuickGlare"}) @Getter public class AuthMeVelocityPlugin { diff --git a/proxy/src/main/resources/velocity-plugin.json b/proxy/src/main/resources/velocity-plugin.json new file mode 100644 index 0000000..ba4c236 --- /dev/null +++ b/proxy/src/main/resources/velocity-plugin.json @@ -0,0 +1,10 @@ +{ + "id":"authmevelocity", + "name":"AuthMeVelocity", + "version":"${project.version}", + "url":"https://github.com/4drian3d/AuthMeVelocity", + "description":"This plugin adds the support for AuthMeReloaded to Velocity." + "authors":"xQuickGlare", + "dependencies":[], + "main":"com.glyart.authmevelocity.proxy.AuthMeVelocityPlugin" +} \ No newline at end of file diff --git a/spigot/pom.xml b/spigot/pom.xml index ec0f920..ccdd013 100644 --- a/spigot/pom.xml +++ b/spigot/pom.xml @@ -5,15 +5,15 @@ parent com.glyart.authmevelocity - 1.0.0 + 1.0.1 4.0.0 spigot - 8 - 8 + 16 + 16 @@ -30,9 +30,9 @@ - com.destroystokyo.paper + io.papermc.paper paper-api - 1.16.5-R0.1-SNAPSHOT + 1.17-R0.1-SNAPSHOT provided diff --git a/spigot/src/main/resources/plugin.yml b/spigot/src/main/resources/plugin.yml index a6a828f..9941d43 100644 --- a/spigot/src/main/resources/plugin.yml +++ b/spigot/src/main/resources/plugin.yml @@ -3,4 +3,4 @@ author: xQuickGlare version: ${project.version} main: com.glyart.authmevelocity.spigot.AuthMeVelocityPlugin depend: [AuthMe] -api-version: 1.13 \ No newline at end of file +api-version: 1.16 \ No newline at end of file