diff --git a/README.md b/README.md index 4b3507e8..b08654c3 100644 --- a/README.md +++ b/README.md @@ -79,5 +79,5 @@ Put your stats id from the BungeeCord config into this file 6. Check your database settings in the config of FastLogin on BungeeCord 7. Set your proxy (BungeeCord) in offline mode by setting the value onlinemode in your config.yml to false 8. You should *always* firewall your Spigot server that it's only accessible through BungeeCord -https://www.spigotmc.org/wiki/bungeecord-installation/#post-installation -9. (BungeeCord doesn't support SQLite per default, so you should change the configuration to MySQL or MariaDB) + * https://www.spigotmc.org/wiki/bungeecord-installation/#post-installation + * BungeeCord doesn't support SQLite per default, so you should change the configuration to MySQL or MariaDB diff --git a/bukkit/pom.xml b/bukkit/pom.xml index a9c28597..21e1c1a7 100644 --- a/bukkit/pom.xml +++ b/bukkit/pom.xml @@ -15,6 +15,46 @@ FastLoginBukkit + + + + org.apache.maven.plugins + maven-shade-plugin + 3.1.0 + + false + false + + + com.zaxxer.hikari + changeskin.hikari + + + org.slf4j + changeskin.slf4j + + + net.md_5.bungee.config + changeskin.config + + + com.google.gson + changeskin.gson + + + + + + package + + shade + + + + + + + @@ -45,7 +85,7 @@ jitpack.io https://jitpack.io - + placeholderapi @@ -58,7 +98,6 @@ com.github.games647 fastlogin.core ${project.version} - provided diff --git a/bungee/pom.xml b/bungee/pom.xml index 56e37698..f2068884 100644 --- a/bungee/pom.xml +++ b/bungee/pom.xml @@ -16,6 +16,45 @@ FastLoginBungee + + + + org.apache.maven.plugins + maven-shade-plugin + 3.1.0 + + false + false + + + + net.md-5:bungeecord-config + com.google.code.gson:gson + + + + + com.zaxxer.hikari + changeskin.hikari + + + org.slf4j + changeskin.slf4j + + + + + + package + + shade + + + + + + + vik1395-repo @@ -33,7 +72,6 @@ ${project.groupId} fastlogin.core ${project.version} - provided diff --git a/core/pom.xml b/core/pom.xml index f68cc10c..1db25c66 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -28,7 +28,7 @@ com.zaxxer HikariCP - 2.7.6 + 2.7.7 @@ -50,6 +50,12 @@ net.md-5 bungeecord-config 1.12-SNAPSHOT + + + * + * + + diff --git a/core/src/main/java/com/github/games647/fastlogin/core/mojang/UUIDTypeAdapter.java b/core/src/main/java/com/github/games647/fastlogin/core/mojang/UUIDTypeAdapter.java index 4fa4f83e..ec12074f 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/mojang/UUIDTypeAdapter.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/mojang/UUIDTypeAdapter.java @@ -2,6 +2,7 @@ package com.github.games647.fastlogin.core.mojang; import com.github.games647.fastlogin.core.CommonUtil; import com.google.gson.TypeAdapter; +import com.google.gson.internal.bind.TypeAdapters; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; @@ -11,10 +12,10 @@ import java.util.UUID; public class UUIDTypeAdapter extends TypeAdapter { public void write(JsonWriter out, UUID value) throws IOException { - out.value(CommonUtil.toMojangId(value)); + TypeAdapters.STRING.write(out, CommonUtil.toMojangId(value)); } public UUID read(JsonReader in) throws IOException { - return CommonUtil.parseId(in.nextString()); + return CommonUtil.parseId(TypeAdapters.STRING.read(in)); } } diff --git a/pom.xml b/pom.xml index f90a5cb3..c8d05e7e 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,6 @@ core bukkit bungee - universal diff --git a/universal/pom.xml b/universal/pom.xml deleted file mode 100644 index 4000a38b..00000000 --- a/universal/pom.xml +++ /dev/null @@ -1,85 +0,0 @@ - - 4.0.0 - - - com.github.games647 - fastlogin - 1.11 - ../pom.xml - - - fastlogin-universal - jar - - FastLoginUniversal - - - package - ${project.parent.name} - - - - org.apache.maven.plugins - maven-shade-plugin - 3.1.0 - - false - false - - - ${project.groupId}:* - com.zaxxer:HikariCP - org.slf4j:slf4j-jdk14 - org.slf4j:slf4j-api - net.md-5:bungeecord-config - com.google.code.gson:gson - - - - - com.google.gson - fastlogin.gson - - - org.slf4j - fastlogin.slf4j - - - com.zaxxer.hikari - fastlogin.hikari - - - - - - package - - shade - - - - - - - - - - ${project.groupId} - fastlogin.core - ${project.version} - - - - ${project.groupId} - fastlogin.bukkit - ${project.version} - - - - ${project.groupId} - fastlogin.bungee - ${project.version} - - -