Smart123s
d8b9822c11
Fix "Asynchronous player kick"
2021-03-22 20:46:49 +01:00
Smart123s
e2e4e76fd9
Moved getGeyserPlayer() to the only class it's used in
2021-03-22 20:35:22 +01:00
Smart123s
f9992f1447
Fixed 'allowFloodgateNameConflict' for 'false' value.
2021-03-22 19:57:13 +01:00
Smart123s
5d94e610ff
Create a profile for Bedrock players when registering
2021-03-22 19:51:46 +01:00
Smart123s
9abc99ebc2
Use UUID instead of name when checking for Geyser player
2021-03-22 18:37:12 +01:00
Smart123s
07da8fc76a
autoRegisterFloodgate will no longer try to log in unregistered BE users
...
previously if autoRegisterFloodgate was set to false and the player was
not registered, the plugin tried to auto-login the user, which has led
to misleading "Failed to login" messages
2021-03-22 17:22:51 +01:00
Smart123s
305700497e
Re-added an empty line (deleted by mistake)
2021-03-22 11:43:30 +01:00
Smart123s
8c8ed0b639
Made FloodgateAuth async
2021-03-22 10:16:23 +01:00
Smart123s
ee2ae7f9fd
Use authPlugin.isRegistered() instead of profile.isSaved()
2021-03-21 19:21:49 +01:00
Smart123s
c41896e5f2
Use isPluginEnabled() in NameCheckTask.java
2021-03-21 11:02:29 +01:00
Péter Tombor and games647
78f897a490
Use isPluginEnabled() in ConnectionListener.java
...
Co-authored-by: games647 <games647@users.noreply.github.com >
2021-03-21 10:59:58 +01:00
Smart123s
e1af75191e
Implement autoLoginFloodgate & autoRegisterFloodgate config options
...
Knwon Bug: Profile.isSaved() is 'false' when logging in from Bedrock
after auto registering through Bedrock so FastLogin will try to register
for a second time, insted of logging in
2021-03-20 18:28:32 +01:00
Smart123s
a23f846146
Implement allowFloodgateNameConflict
...
Check config.yml for details.
2021-03-20 17:16:55 +01:00
Smart123s
6544e007f6
Code cleanup
2021-03-20 14:41:21 +01:00
Smart123s
0cbf2a4e20
Check if Geyser and Floodgate are installed before accessing them
2021-03-20 13:38:41 +01:00
Smart123s
57e797f1be
Implement auto login for Floodgate players
...
This is buggy in most cases.
2021-03-20 12:22:41 +01:00
Smart123s
e03e67b8fa
Detect if a player is connecting through Floodgate
...
The Floodgate API requires UUID which is inaccessible at the level
FastLogion operates on.
A workaround for this is to check if the currently connecting player is
also a part of the Geyser server's online players list.
*TODO: Check for Java and Bedrock name conflicts with multiple
configurations.*
2021-03-19 08:58:29 +01:00
games647
303c064416
Check for valid file access first
2021-02-14 17:06:44 +01:00
games647
465519eece
Ignore the correct channel
2021-02-09 16:33:37 +01:00
Kamilkime
c079653d09
Always return true when registering with AuthMe
2021-02-09 10:42:10 +01:00
Kamilkime
7fbfa8240c
Allow FastLogin to respect AuthMe pre IP register limit, fixes #458
2021-02-09 01:28:12 +01:00
Kamilkime
1ab346d067
Correct name check on PaperSpigot, fixes #423 , fixes #437 , fixes #457
2021-02-09 00:28:05 +01:00
Kamilkime
1f63f91f17
Add comments, make cipher variable names clearer
2020-11-09 13:25:16 +01:00
Kamilkime
71d84d1748
Make encryption method reflections static
2020-11-08 17:15:26 +01:00
Kamilkime
64072d84d8
Update encryption to handle MC 1.16.4, fixes #412
2020-11-08 03:52:39 +01:00
games647
fe1499f1fb
Add support for 1.16.4
...
Fixes #412
Fixes #411
2020-11-04 11:05:34 +01:00
games647
d034e71331
Do not move and create a new proxy file
...
Fixes #389
2020-08-06 10:10:00 +02:00
games647
496a036fb4
Merge pull request #385 from ishlandbukkit/master
...
Add SodionAuthHook
2020-08-02 17:17:58 +02:00
games647
fa1f85698a
Fix NoSuchMethodError for PlaceholderAPI after breaking change
...
Fixes #386
2020-07-31 17:02:51 +02:00
games647
25b6ca7653
Convert proxy file to the new name
2020-07-31 17:02:51 +02:00
games647
b30eb0de29
Debug verified username usage in ProtocolLib
2020-07-31 17:02:51 +02:00
games647
c96d64597a
Clear proxies file name
2020-07-31 17:02:51 +02:00
games647
0ef2000f2a
Rename rate limit to join limit
2020-07-31 17:02:51 +02:00
ishland
4e2b6c7810
Use JitPack and update API reference
2020-07-29 10:58:04 +08:00
ishland and logos
4acbcbfd19
Squash previous commits
...
* Add SodionAuth
* Add Comment
* add SodionAuth
Co-authored-by: logos <1102280066@qq.com >
2020-07-29 09:22:17 +08:00
Gabriele C
cae2f8f58d
Implement FastLoginPremiumToggleEvent
2020-06-27 13:58:38 +02:00
games647
2bd339b0bf
Use username from Mojang for offline IDs
...
Affected systems: BungeeCord after name change
Effects: Carry on items, permissions, etc. from the old user account without access to the new one
After a name change it could happen that the client still only
knows the old username and will send it to the server. Mojang will provide us with an up-to-date username that we should use instead.
The username is also sent to Mojang, so that they could verify the use. Therefore exploiting this behavior extensively for arbitrary usernames is not possible.
Related #344
2020-05-25 13:41:41 +02:00
games647
7c125dc0b6
Add more debugging messages for delayed proxy logins
...
Related #352
2020-05-21 10:03:56 +02:00
games647
103a8320ec
Log requested premium logins
2020-05-20 19:50:22 +02:00
games647
49df461643
Reduce work threads, because processing is async
2020-05-19 11:47:08 +02:00
games647
3b69904257
Extract login decryption int utilities
2020-05-19 11:46:10 +02:00
games647
b1797c84d9
Prevent duplicate save requests
2020-05-18 16:10:39 +02:00
games647
42637813e8
Add missing cases from last commit
2020-05-15 14:44:31 +02:00
games647
feee64309e
Warn if FastLogin doesn't login authenticated players
...
Related #351
2020-05-15 14:38:22 +02:00
games647
b9cf8f0498
Log setting the offline UUID on Bungee
...
Related #344
2020-05-15 14:12:18 +02:00
games647
42790b27f8
Unregister variable on disable
2020-05-14 13:45:23 +02:00
games647
c58eda983a
Fix parsing of placeholder status
...
Fixes #341
2020-05-14 13:41:32 +02:00
games647
25b380f74a
Add a basic rate limiter for incoming connections
...
Related #347
2020-05-13 19:47:02 +02:00
games647
f40e787b55
Delay force action until PlayerJoinEvent is fired
...
Fixes Paper async chunk loading -> delayed PlayerJoinEvent
(Related #331 )
2020-05-09 18:49:43 +02:00
games647
6091a228ab
Don't rely on toString to build unique session keys
...
Fix IPv6 compatibility which contains brackets
Related #331
2020-04-25 17:05:08 +02:00