Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
492
stars
120
forks
source link
Other plugins PreLoginEvent deny reason does not show, player gets disconnected with timeout. (Velocity) #1146
Closed
GregorSomething closed 7 months ago
What happened?
When player connects to server and some plugin handles PreLoginEvent (Velocity) before FastLogin, then player gets disconnected with time out exception. This is due to miss handled Continuation in FastLogins PreLoginEvent. https://github.com/games647/FastLogin/blob/108f5ad32404c0be029e3801fd03b93a096a59d7/velocity/src/main/java/com/github/games647/fastlogin/velocity/listener/ConnectListener.java#L74-L76 Does not let event to resume and same is here https://github.com/games647/FastLogin/blob/108f5ad32404c0be029e3801fd03b93a096a59d7/velocity/src/main/java/com/github/games647/fastlogin/velocity/listener/ConnectListener.java#L84-L94 Line is missing before
return
orbreak
What did you expect?
Player would get instantly disconnected with correct reason.
Steps to reproduce
PreLoginEvent
with PostOrder.EARLY or FIRST.Plugin list
my-plugin, fastlogin
Configuration file
No response
Server log
No response
Plugin version
1.12-SNAPSHOT-108f5ad
Platform
Velocity
Relevance
[X] I tried the latest build (build refers to development builds not necessary a release version)
[X] I checked for existing tickets - If there are, please vote them with a thumbs reaction and not create new ones