Commit Graph

158 Commits

Author SHA1 Message Date
games647 c96d64597a Clear proxies file name 2020-07-31 17:02:51 +02:00
Gabriele C cae2f8f58d Implement FastLoginPremiumToggleEvent 2020-06-27 13:58:38 +02:00
games647 de1487b6aa Fix driver warning message not displaying 2020-06-06 18:38:51 +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 286b755ee3 Log player handling
Related #354
2020-05-23 21:40:10 +02:00
games647 5c5b7384a4 Better explain anti bot configuration values 2020-05-21 10:25:01 +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 b1797c84d9 Prevent duplicate save requests 2020-05-18 16:10:39 +02:00
games647 feee64309e Warn if FastLogin doesn't login authenticated players
Related #351
2020-05-15 14:38:22 +02:00
games647 c58eda983a Fix parsing of placeholder status
Fixes #341
2020-05-14 13:41:32 +02:00
games647 477d3df1dd Favor nano time, because it's monotonic 2020-05-13 22:40:26 +02:00
games647 c1dc69845e [Experimental] Enable paranoid to hide MySQL details 2020-05-13 21:27:53 +02:00
games647 c3f6881e4b Add missing default values for the rate limiter 2020-05-13 19:51:05 +02:00
games647 25b380f74a Add a basic rate limiter for incoming connections
Related #347
2020-05-13 19:47:02 +02:00
games647 a5777869c8 Re-order driver specific properties 2020-05-13 19:46:02 +02:00
games647 cf3e8434a2 Prefer more MySQL performance optimizations 2020-05-13 19:46:02 +02: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 8ecb5657d3 Drop nullable annotation usage to compile
Thanks CI
2020-03-14 19:06:05 +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 1e59101ada Enable MySQL storage caching 2020-03-03 10:46:43 +01:00
games647 c1b8b60bf7 Use HTTPS for code comments too 2020-02-12 10:59:11 +01:00
games647 e8a5dc7433 Use BungeeCord event methods for kicking the player 2020-01-07 20:35:16 +01:00
Gabriele C c80012ddb1 Allow multi-line messages 2019-10-25 11:54:26 +02:00
Gabriele C 17361b1b54 Implement PreLogin and AutoLogin events 2019-10-23 14:45:51 +02:00
games647 62a8b939cc Use 'TEXT' for strings in the configuration file 2019-08-16 14:59:14 +02:00
games647 c528433079 Allow username only database logins
Related #247
2019-04-15 20:35:56 +02:00
games647 9c1ba81cbe Fix running force actions in LoginSecurity thread-safe 2019-04-14 10:16:19 +02:00
games647 101f7207a9 Limit plugin channels to 16 characters for 1.7 support
Fixes #223
2018-08-07 13:41:30 +02:00
games647 542aabad73 Lowercase the namespace correctly 2018-07-24 14:33:33 +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 fd76d2448e Add advanced options for the connection pool (Fixes #210) 2018-06-04 21:28:19 +02:00
games647 8a9eed3a74 Add /newline variable 2018-05-04 18:54:26 +02:00
games647 1ea6d929b1 Clarify how to configure MariaDB/MySQL correctly 2018-04-26 10:09:40 +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 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 71c1f4f12e Remove session in ProtocolSupport directly without expiring 2018-03-18 16:22:03 +01:00
games647 78f8fa1f05 Fix NPE on nullable uuid column 2018-03-16 16:34:31 +01:00
games647 ac5820bb75 Encode enums as integers 2018-03-16 15:15:54 +01:00
games647 b534765ff8 Always forward premium status to spigot 2018-03-16 15:14:35 +01:00
games647 b7c0fd549c Add an explicit warning about the BungeeCord setup guide 2018-03-11 12:27:43 +01:00
games647 61c1364506 Simplify command handling 2018-03-11 11:47:02 +01:00
games647 a29dd849f9 Move shared Mojang client into independant project 2018-03-09 14:39:02 +01:00
games647 3f9eba69ba Generate a public key only for ProtocolLib listener 2018-03-09 13:57:51 +01:00