300 Commits

Author SHA1 Message Date
games647 c21c7eaeec Generalize references from Bungee to proxies 2021-03-17 11:24:16 +01:00
games647 804a0aec4b Isolate modules in their packages 2021-03-17 11:19:04 +01:00
games647 13bc92f6c3 Migrate to session manager 2021-03-15 14:22:38 +01:00
games647 e88f2e7f8e Fail safely if BungeeCord implementation specific classes are not found 2021-03-15 13:40:28 +01:00
dependabot-preview[bot] 09ab7288da Bump ProtocolLib from 4.5.1 to 4.6.0
Bumps [ProtocolLib](https://github.com/dmulloy2/ProtocolLib) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/dmulloy2/ProtocolLib/releases)
- [Commits](https://github.com/dmulloy2/ProtocolLib/compare/4.5.1...4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 16:15:32 +00:00
games647 ff2e5c0435 Drop package goal for the core module 2021-02-18 18:25:37 +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 7e43b99f91 [CI-SKIP] Dump placeholderapi to prevent deprecates on register 2020-08-03 21:06:22 +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 a36ac7f9e3 Remove unneeded SodionAuth-Libs 2020-07-29 16:11:41 +08:00
ishland 2e38550db0 I figured it out FINALLY 2020-07-29 16:07:24 +08: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
dependabot-preview[bot] b5ccc1df2e Bump placeholderapi from 2.10.5 to 2.10.6
Bumps placeholderapi from 2.10.5 to 2.10.6.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 16:26:59 +00:00
dependabot-preview[bot] e0a7f207c5 Bump loginsecurity from 3.0.1 to 3.0.2
Bumps loginsecurity from 3.0.1 to 3.0.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 16:21:02 +00:00
dependabot-preview[bot] 68d35c75c2 Bump maven-shade-plugin from 3.2.2 to 3.2.3
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.2.2...maven-shade-plugin-3.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-26 11:49:33 +02:00
dependabot-preview[bot] 0d93a2c371 Bump placeholderapi from 2.10.4 to 2.10.5
Bumps placeholderapi from 2.10.4 to 2.10.5.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-26 11:49:33 +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