diff --git a/README.md b/README.md index c6dbb137..5ae5c56f 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ So they don't need to enter passwords. This is also called auto login (auto-logi * Run Spigot and/or BungeeCord/Waterfall in offline mode (see server.properties or config.yml) * An auth plugin. Supported Plugins -####Bukkit/Spigot/PaperSPigot +####Bukkit/Spigot/PaperSpigot * [AuthMe](http://dev.bukkit.org/bukkit-plugins/authme-reloaded/) * [xAuth](http://dev.bukkit.org/bukkit-plugins/xauth/) @@ -61,7 +61,7 @@ https://www.spigotmc.org/resources/fastlogin.14153/history ###How to install -####Bukkit/Spigot/PaperSPigot +####Bukkit/Spigot/PaperSpigot 1. Download and install ProtocolLib 2. Download and install FastLogin @@ -157,11 +157,7 @@ and Mojang account. Then the command can be executed. So someone different canno by buying the username. ####Does the plugin have BungeeCord support? -Yes it has. Just activate ipForward in your BungeeCord config and place the plugin in the plugins folder of -Bukkit/Spigot and BungeeCord. Then you have fill your BungeeCord Id (from the Stats-Option in the BungeeCord config) -into the whitelist file of your Bukkit/Spigot server. For security reasons, don't post this Id on Forums. - -This plugin will automatically detect if BungeeCord is running and handle premium checks on BungeeCord. +Yes it has. See the how to install above. ####Could premium players have a premium UUID and Skin? Since 0.7 both features are implemented. You can check the config.yml in order to activate it. diff --git a/bukkit/pom.xml b/bukkit/pom.xml index 68236d8c..85fad53b 100644 --- a/bukkit/pom.xml +++ b/bukkit/pom.xml @@ -5,7 +5,7 @@ com.github.games647 fastlogin - 1.2 + 1.2.1 ../pom.xml diff --git a/bungee/pom.xml b/bungee/pom.xml index 9f195b8f..920e919a 100644 --- a/bungee/pom.xml +++ b/bungee/pom.xml @@ -5,7 +5,7 @@ com.github.games647 fastlogin - 1.2 + 1.2.1 ../pom.xml diff --git a/bungee/src/main/java/com/github/games647/fastlogin/bungee/PlayerConnectionListener.java b/bungee/src/main/java/com/github/games647/fastlogin/bungee/PlayerConnectionListener.java index 7c302cbf..e85bfea7 100644 --- a/bungee/src/main/java/com/github/games647/fastlogin/bungee/PlayerConnectionListener.java +++ b/bungee/src/main/java/com/github/games647/fastlogin/bungee/PlayerConnectionListener.java @@ -159,6 +159,9 @@ public class PlayerConnectionListener implements Listener { playerProfile.setPremium(true); //todo: set uuid plugin.getStorage().save(playerProfile); + TextComponent textComponent = new TextComponent("Added to the list of premium players"); + textComponent.setColor(ChatColor.DARK_GREEN); + forPlayer.sendMessage(textComponent); } }); } else if ("OFF".equals(subchannel)) { @@ -178,9 +181,8 @@ public class PlayerConnectionListener implements Listener { playerProfile.setPremium(false); playerProfile.setUuid(null); - //todo: set uuid plugin.getStorage().save(playerProfile); - TextComponent textComponent = new TextComponent("Added to the list of premium players"); + TextComponent textComponent = new TextComponent("Removed to the list of premium players"); textComponent.setColor(ChatColor.DARK_GREEN); forPlayer.sendMessage(textComponent); } @@ -194,9 +196,6 @@ public class PlayerConnectionListener implements Listener { //we override this in the loginevent // playerProfile.setUuid(forPlayer.getUniqueId()); plugin.getStorage().save(playerProfile); - TextComponent textComponent = new TextComponent("Removed to the list of premium players"); - textComponent.setColor(ChatColor.DARK_GREEN); - forPlayer.sendMessage(textComponent); } } } diff --git a/pom.xml b/pom.xml index 66f57daa..590de0d2 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ pom FastLogin - 1.2 + 1.2.1 2015 https://www.spigotmc.org/resources/fastlogin.14153/ diff --git a/universal/pom.xml b/universal/pom.xml index d9648faa..822f7118 100644 --- a/universal/pom.xml +++ b/universal/pom.xml @@ -5,7 +5,7 @@ com.github.games647 fastlogin - 1.2 + 1.2.1 ../pom.xml