Commit Graph

257 Commits

Author SHA1 Message Date
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 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
games647 6f99b6e9b4 Add explicit Junit dependency 2020-03-20 16:13:45 +01:00
games647 109e19e6da Add missing synchronized modifiers 2020-03-20 16:13:45 +01:00
games647 65469ed579 Make scheduler platform dependent 2020-03-20 13:44:58 +01:00
games647 b0cf6e39c7 Drop forced dependency 2020-03-14 19:01:09 +01:00
games647 57b84509da Limit the total number of running threads
(Related #304)
2020-03-14 18:20:34 +01:00
games647 e0bc7d914c Load the after auth plugins
Fixes #306

There seems to be some capability problems
that it doesn't correctly load ProtocolLib before
this plugin. Furthermore if we use
events for our hooks they print out a warning.
2020-03-10 09:59:31 +01:00
games647 2cc078773b Migrate to GitHub actions 2020-02-17 15:18:58 +01:00
games647 c1b8b60bf7 Use HTTPS for code comments too 2020-02-12 10:59:11 +01:00
games647 4b45932d6a Migrate to asynchronous calls to LoginSecurity
(Fixes #290)
2020-01-06 10:04:44 +01:00
games647 5a5cf016d9 Remove on blacklist status on join too 2019-12-29 13:33:18 +01:00
games647 2c7e569653 Fix force login events being sync instead of async (Fixes #278) 2019-11-09 13:57:12 +01:00
Gabriele C 17361b1b54 Implement PreLogin and AutoLogin events 2019-10-23 14:45:51 +02:00
games647 fbbe7a735a Initialize the decryption cipher only once
(Related #259)
2019-07-09 12:52:54 +02:00
games647 4110ce2fa2 Fix creating logging session in ProtocolSupport environments
Fixes #251
2019-05-11 21:16:38 +02:00
games647 145bd95679 Drop usage of deprecated apache lang library 2019-05-06 17:37:13 +02:00
games647 9c1ba81cbe Fix running force actions in LoginSecurity thread-safe 2019-04-14 10:16:19 +02:00
games647 15c5857c4f Correctly set the offline UUID in ProtocolSupport (Thanks to @Shevchik) 2018-08-30 12:32:42 +02:00
games647 4b0ad3b186 Update ProtocolSupport hook 2018-08-29 19:49:10 +02:00