Commit Graph

178 Commits

Author SHA1 Message Date
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
dependabot-preview[bot] 58c42f9f7f Bump HikariCP from 3.4.3 to 3.4.5
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 3.4.3 to 3.4.5.
- [Release notes](https://github.com/brettwooldridge/HikariCP/releases)
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES)
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-3.4.3...HikariCP-3.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 16:26:14 +00:00
dependabot-preview[bot] efb4c34b50 Bump HikariCP from 3.4.2 to 3.4.3
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 3.4.2 to 3.4.3.
- [Release notes](https://github.com/brettwooldridge/HikariCP/releases)
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES)
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-3.4.2...HikariCP-3.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 16:20:09 +00: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 88a526b5bf Drop support for Minecraft 1.7 2020-03-14 18:51:27 +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
ㄗㄠˋ ㄑㄧˊ 74b13231f8 bump craftapi to 0.3 (#303) 2020-03-08 12:15:37 +01:00
dependabot-preview[bot] 79627e3b60 Bump slf4j-jdk14 from 1.7.26 to 1.7.30 (#301)
Bumps [slf4j-jdk14](https://github.com/qos-ch/slf4j) from 1.7.26 to 1.7.30.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.26...v_1.7.30)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-06 19:28:02 +01:00
games647 fdc0485f05 [CI-SKIP] Use HTTPS and newer URLs in Maven 2020-03-03 10:50:48 +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
games647 5a5cf016d9 Remove on blacklist status on join too 2019-12-29 13:33:18 +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 327c8c4c9d Dump dependencies 2019-07-09 12:56: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 64175fe9e8 Update to CraftApi 0.2 2018-07-29 18:47:07 +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 2cd0b194aa We are SNAPSHOT build not a release candidate
Maven versions plugin is great for multi-modules.
Run mvn version:set -DnewVersion=... and that's it.
2018-03-31 10:38:57 +02:00
games647 f2e42019d6 Mention the new FastLogin module names in the setup guide 2018-03-31 10:34:26 +02:00