Fix changelog markdown syntax

This commit is contained in:
games647
2017-04-15 09:42:17 +02:00
parent 194c67cd6f
commit 881b2ec7bc
2 changed files with 33 additions and 35 deletions

View File

@ -1,4 +1,4 @@
######1.10 ### 1.10
* Automatically register accounts if they are not in the auth plugin database but in the FastLogin database * Automatically register accounts if they are not in the auth plugin database but in the FastLogin database
* Update BungeeAuth dependency and use the new API. Please update your plugin if you still use the old one. * Update BungeeAuth dependency and use the new API. Please update your plugin if you still use the old one.
@ -8,7 +8,7 @@
* Fix timestamp parsing in newer versions of SQLite * Fix timestamp parsing in newer versions of SQLite
* Fix Spigot console command invocation sends result to ingame players * Fix Spigot console command invocation sends result to ingame players
######1.9 ### 1.9
* Added second attempt login -> cracked login * Added second attempt login -> cracked login
* Added cracked whitelist (switch-mode -> switching to online-mode from offlinemode) * Added cracked whitelist (switch-mode -> switching to online-mode from offlinemode)
@ -27,7 +27,7 @@
* Drop support for LoginSecurity 1.X since 2.X seems to be stable * Drop support for LoginSecurity 1.X since 2.X seems to be stable
* Remove the nasty UltraAuth fakeplayer workaround by using a new api method. You should UltraAuth if you have it * Remove the nasty UltraAuth fakeplayer workaround by using a new api method. You should UltraAuth if you have it
######1.8 ### 1.8
* Added autoIn importer * Added autoIn importer
* Added BFA importer * Added BFA importer
@ -36,12 +36,12 @@
* Fix ProtocolSupport BungeeCord * Fix ProtocolSupport BungeeCord
* Fix duplicate logins for BungeeAuth users * Fix duplicate logins for BungeeAuth users
######1.7.1 ### 1.7.1
* Fix BungeeCord autoRegister (Fixes #46) * Fix BungeeCord autoRegister (Fixes #46)
* Fix protocollsupport autoregister * Fix protocollsupport autoregister
######1.7 ### 1.7
* Added support for making requests to Mojang from different IPv4 addresses * Added support for making requests to Mojang from different IPv4 addresses
* Added us.mcapi.com as third-party APIs to workaround rate-limits * Added us.mcapi.com as third-party APIs to workaround rate-limits
@ -54,15 +54,15 @@
* Fix setting skin on Cauldron * Fix setting skin on Cauldron
* Fix saving on name change * Fix saving on name change
######1.6.2 ### 1.6.2
* Fixed support for new LoginSecurity version * Fixed support for new LoginSecurity version
######1.6.1 ### 1.6.1
* Fix message typo in BungeeCord which created a NPE if premium-warning is activated * Fix message typo in BungeeCord which created a NPE if premium-warning is activated
######1.6 ### 1.6
* Add a warning message if the user tries to invoke the premium command * Add a warning message if the user tries to invoke the premium command
* Added missing translation if the server isn't fully started * Added missing translation if the server isn't fully started
@ -73,34 +73,34 @@
* Fixed cracked command not working on BungeeCord * Fixed cracked command not working on BungeeCord
* Fix error if forward skins is disabled * Fix error if forward skins is disabled
######1.5.2 ### 1.5.2
* Fixed BungeeCord force logins if there is a lobby server * Fixed BungeeCord force logins if there is a lobby server
* Removed cache expire in BungeeCord * Removed cache expire in BungeeCord
* Applies skin earlier to make it visible for other plugins listening on login events * Applies skin earlier to make it visible for other plugins listening on login events
######1.5.1 ### 1.5.1
* Fixed BungeeCord support by correctly saving the proxy ids * Fixed BungeeCord support by correctly saving the proxy ids
######1.5 ### 1.5
* Added localization * Added localization
* Fixed NPE on premium name check if it's pure cracked player * Fixed NPE on premium name check if it's pure cracked player
* Fixed NPE in BungeeCord on cracked login for existing players * Fixed NPE in BungeeCord on cracked login for existing players
* Fixed saving of existing cracked players * Fixed saving of existing cracked players
######1.4 ### 1.4
* Added Bungee setAuthPlugin method * Added Bungee setAuthPlugin method
* Added nameChangeCheck * Added nameChangeCheck
* Multiple BungeeCord support * Multiple BungeeCord support
######1.3.1 ### 1.3.1
* Prevent thread create violation in BungeeCord * Prevent thread create violation in BungeeCord
######1.3 ### 1.3
* Added support for AuthMe 3.X * Added support for AuthMe 3.X
* Fixed premium logins if the server is not fully started * Fixed premium logins if the server is not fully started
@ -109,11 +109,11 @@
* Fixed 1.7 Minecraft support by removing guava 11+ only features -> Cauldron support * Fixed 1.7 Minecraft support by removing guava 11+ only features -> Cauldron support
* Fixed BungeeCord support in Cauldron * Fixed BungeeCord support in Cauldron
######1.2.1 ### 1.2.1
* Fix premium status change notification message on BungeeCord * Fix premium status change notification message on BungeeCord
######1.2 ### 1.2
* Fix race condition in BungeeCord * Fix race condition in BungeeCord
* Fix dead lock in xAuth * Fix dead lock in xAuth
@ -121,20 +121,20 @@
* Added API methods for plugins to set their own auth plugin hook * Added API methods for plugins to set their own auth plugin hook
=> Added support for AdvancedLogin => Added support for AdvancedLogin
######1.1 ### 1.1
* Make the configuration options also work under BungeeCord (premiumUUID, forwardSkin) * Make the configuration options also work under BungeeCord (premiumUUID, forwardSkin)
* Catch configuration loading exception if it's not spigot build * Catch configuration loading exception if it's not spigot build
* Fix config loading for older Spigot builds * Fix config loading for older Spigot builds
######1.0 ### 1.0
* Massive refactor to handle errors on force actions safely * Massive refactor to handle errors on force actions safely
* force Methods now runs async too * force Methods now runs async too
* force methods now returns a boolean to reflect if the method was successful * force methods now returns a boolean to reflect if the method was successful
* isRegistered method should now throw an exception if the plugin was unable to query the requested data * isRegistered method should now throw an exception if the plugin was unable to query the requested data
######0.8 ### 0.8
* Fixed BungeeCord support for the Bukkit module * Fixed BungeeCord support for the Bukkit module
* Added database storage to save the premium state * Added database storage to save the premium state
@ -142,7 +142,7 @@
* Fixed issues with host lookup from hosts file (Thanks to @NorbiPeti) * Fixed issues with host lookup from hosts file (Thanks to @NorbiPeti)
* Remove handshake listener because it creates errors on some systems * Remove handshake listener because it creates errors on some systems
######0.7 ### 0.7
* Added BungeeAuth support * Added BungeeAuth support
* Added /premium [player] command with optional player parameter * Added /premium [player] command with optional player parameter
@ -155,12 +155,12 @@
* Fixed BungeeCord support * Fixed BungeeCord support
* Changed config option autologin to autoregister to clarify the usage * Changed config option autologin to autoregister to clarify the usage
######0.6 ### 0.6
* Fixed 1.9 bugs * Fixed 1.9 bugs
* Added UltraAuth support * Added UltraAuth support
######0.5 ### 0.5
* Added unpremium command * Added unpremium command
* Added autologin - See config * Added autologin - See config
@ -172,34 +172,34 @@
* Fixed premium name check to protocolsupport * Fixed premium name check to protocolsupport
* Improved permissions management * Improved permissions management
######0.4 ### 0.4
* Added forward premium skin * Added forward premium skin
* Added plugin support for protocolsupport * Added plugin support for protocolsupport
######0.3.2 ### 0.3.2
* Run packet readers in a different thread (separated from the Netty I/O Thread) * Run packet readers in a different thread (separated from the Netty I/O Thread)
-> Improves performance -> Improves performance
* Fixed Plugin disable if the server is in online mode but have to be in offline mode * Fixed Plugin disable if the server is in online mode but have to be in offline mode
######0.3.1 ### 0.3.1
* Improved BungeeCord security * Improved BungeeCord security
#####0.3 ### 0.3
* Added BungeeCord support * Added BungeeCord support
* Decrease timeout checks in order to fail faster on connection problems * Decrease timeout checks in order to fail faster on connection problems
* Code style improvements * Code style improvements
######0.2.4 ### 0.2.4
* Fixed NPE on invalid sessions * Fixed NPE on invalid sessions
* Improved security by generating a randomized serverId * Improved security by generating a randomized serverId
* Removed /premium [player] because it's safer for premium players who join without registration * Removed /premium [player] because it's safer for premium players who join without registration
######0.2.3 ### 0.2.3
* Remove useless AuthMe forcelogin code * Remove useless AuthMe forcelogin code
* Send a kick message to the client instead of just "Disconnect" * Send a kick message to the client instead of just "Disconnect"
@ -207,15 +207,15 @@
* Fix thread safety for fake start packets (Bukkit.getOfflinePlayer doesn't look like to be thread-safe) * Fix thread safety for fake start packets (Bukkit.getOfflinePlayer doesn't look like to be thread-safe)
* Added more documentation * Added more documentation
######0.2.2 ### 0.2.2
* Compile project with Java 7 :( * Compile project with Java 7 :(
######0.2.1 ### 0.2.1
* A couple of security fixes (premium players cannot longer steal the account of a cracked account) * A couple of security fixes (premium players cannot longer steal the account of a cracked account)
* Added a /premium command to mark you as premium player * Added a /premium command to mark you as premium player
#####0.2 ### 0.2
* Added support for CrazyLogin and LoginSecurity * Added support for CrazyLogin and LoginSecurity
* Now minecraft version independent * Now minecraft version independent
@ -224,5 +224,5 @@
* More state validation * More state validation
* Added better error handling * Added better error handling
#####0.1 ### 0.1
* First release * First release

View File

@ -6,7 +6,6 @@ import com.github.games647.fastlogin.bukkit.tasks.ForceLoginTask;
import com.github.games647.fastlogin.core.hooks.AuthPlugin; import com.github.games647.fastlogin.core.hooks.AuthPlugin;
import com.google.common.io.ByteArrayDataInput; import com.google.common.io.ByteArrayDataInput;
import com.google.common.io.ByteStreams; import com.google.common.io.ByteStreams;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.plugin.messaging.PluginMessageListener; import org.bukkit.plugin.messaging.PluginMessageListener;
@ -15,7 +14,6 @@ import java.io.IOException;
import java.net.InetSocketAddress; import java.net.InetSocketAddress;
import java.nio.file.Files; import java.nio.file.Files;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.List;
import java.util.Set; import java.util.Set;
import java.util.UUID; import java.util.UUID;
import java.util.logging.Level; import java.util.logging.Level;
@ -103,7 +101,7 @@ public class BungeeCordListener implements PluginMessageListener {
Files.createFile(whitelistFile); Files.createFile(whitelistFile);
} }
return Files.readAllLines(whitelistFile).stream() return Files.lines(whitelistFile)
.map(String::trim) .map(String::trim)
.map(UUID::fromString) .map(UUID::fromString)
.collect(Collectors.toSet()); .collect(Collectors.toSet());