Commit Graph

239 Commits

Author SHA1 Message Date
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
games647 64175fe9e8 Update to CraftApi 0.2 2018-07-29 18:47:07 +02:00
games647 f7a10d86eb Don't transform because it's already compatible with 1.13 2018-07-25 16:55:52 +02:00
games647 260b93a565 Channel names should be lowercase according to the spec
Related #217, #218
2018-07-24 10:17:21 +02:00
games647 6604cca8bd Use Plugin:Subchannel for channel messages
This is required to follow 1.13 spec.
(Related #216, #215)
2018-07-23 14:11:40 +02:00
games647 c172b1ec84 Prevent duplicate message fetching for kick in PLib (Fixes #212) 2018-06-27 18:59:40 +02:00
games647 1c6f4e82e0 Fix NPE for cracked players on non-bungee environments 2018-05-23 19:14:20 +02:00
games647 084afef899 Update premium UUID on verification (Related #208) 2018-05-04 19:45:43 +02:00
games647 8a9eed3a74 Add /newline variable 2018-05-04 18:54:26 +02:00
games647 ddc3aa9279 Replace deprecated PropertiesResolveEvent with LoginFinishEvent
affects only ProtocolSupport
2018-04-26 10:08:56 +02:00
games647 791df26702 Fix defaults overriding config 2018-04-05 18:42:50 +02:00
games647 cdf1988f2f Fix comping after craftapi update 2018-04-05 17:38:16 +02:00
games647 f476c091bb Fix default message loading, because default values are ignored by .getKeys() 2018-04-05 17:33:32 +02:00
games647 f2e42019d6 Mention the new FastLogin module names in the setup guide 2018-03-31 10:34:26 +02:00
games647 82ec71e8d0 Update premium status for non-bungeecord setups (Related #200) 2018-03-27 20:43:53 +02:00
games647 6d207d62ba Fix BungeeCord blacklist condition checking 2018-03-25 15:44:51 +02:00
games647 889dab3152 Migrate to PlaceholderExpansion from PlaceholderAPI 2018-03-21 11:02:55 +01:00
games647 71c1f4f12e Remove session in ProtocolSupport directly without expiring 2018-03-18 16:22:03 +01:00
games647 8b613a48cc Forward skin from ProtocolLib verification response 2018-03-16 16:40:12 +01:00