Commit Graph

204 Commits

Author SHA1 Message Date
Smart123s ee2b3a37f8 Move Floodgate name conflict check to Core 2021-06-12 19:57:31 +02:00
Péter Tombor 40b9405c1d Change dependency Floodgate Bungee to API
Same functionality, less code to be downloaded.
2021-05-15 11:58:43 +02:00
Péter Tombor a8c1570dd3 Actually assign the queried version to a variable
The Floodgate version was queried, but it's return value wasn't actually assigned to a variable.

Edited this from mobile GitHub website. I have no code check here.
2021-05-13 15:12:13 +02:00
TechnicallyCoded 2700b3ee0e Implement floodgate api version 2.0 2021-05-12 11:49:15 +02:00
Smart123s 1b7b2ff2b5 Add support for Floodgate 2.0 2021-05-08 16:26:58 +02:00
墨水瓶Official 2c3fd4a575 Return when first auth plugin found 2021-04-07 00:30:11 +08:00
墨水瓶Official 83a6cb4bb4 Add log info and fix errors 2021-04-07 00:11:22 +08:00
InkerBot fd045e9ed7 Add SodionAuth softDepend 2021-04-06 22:16:27 +08:00
InkerBot fb98dd8393 Void "Hook" in plugin name 2021-04-06 22:07:26 +08:00
InkerBot f766e6213e Use a loop to hook AuthPlugin 2021-04-06 21:58:53 +08:00
InkerBot 8837a1b70e Bump SodionAuth version and fix errors. 2021-04-06 21:27:25 +08:00
InkerBot ea894b3a7b Add SodionAuthBungee hook 2021-04-06 00:31:17 +08:00
games647 d6a02aa538 Apply license headers to every file
(Related #494)
2021-04-05 11:04:42 +02:00
games647 4bc328c37c Fail safely if BungeeCord implementation specific classes are not found 2021-03-29 11:56:02 +02:00
games647 357430b5ad Put configuration values into extra lines to highlight the environment
They are not configuration options

Related #488
2021-03-29 11:56:02 +02:00
dependabot-preview[bot] 6b617d993f Bump BungeeCordAuthenticator from 0.0.2-SNAPSHOT to 0.0.2
Bumps BungeeCordAuthenticator from 0.0.2-SNAPSHOT to 0.0.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 16:16:07 +00:00
games647 303c064416 Check for valid file access first 2021-02-14 17:06:44 +01:00
games647 a15de80c7d Revert "Ignore the correct channel"
This reverts commit 465519ee
Namespace key class did the lowercase operation
2021-02-11 10:22:50 +01:00
games647 465519eece Ignore the correct channel 2021-02-09 16:33:37 +01:00
xXSchrandXx aa734853c6 Implement BungeeCordAuthenticator (#454)
* Create BungeeCordAuthenticatorHook

* Update bungee.yml

* Update FastLoginBungee.java

* Some small changes

* Test Hook

* Update pom.xml

* Update pom.xml

* Rebuild with new spigotplugins-repo

* Disable checksum for spigotplugins

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Removed spigotplugins-repo

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update pom.xml

New url

* Update pom.xml

* Update pom.xml

* Update FastLoginBungee.java

* requested changes

* Delete BungeeCordAuthenticator-0.0.2-SNAPSHOT.jar
2021-02-09 14:41:21 +01:00
games647 0ef2000f2a Rename rate limit to join limit 2020-07-31 17:02:51 +02:00
Gabriele C cae2f8f58d Implement FastLoginPremiumToggleEvent 2020-06-27 13:58:38 +02:00
games647 96cdac1332 Ignore proxied bedrock players (Fixes #328) 2020-06-06 18:32:08 +02:00
games647 2601fea84f Drop no longer needed uuid getter 2020-06-06 16:29:52 +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 b41d56f835 Fix reflection access 2020-05-19 09:57:39 +02:00
games647 9941a69c6d Use invokeExact for better performance 2020-05-18 13:21:07 +02:00
games647 0ee269785a Set UUIDs using MethodHandles 2020-05-18 12:12:51 +02:00
games647 c74c8f5fee Throw exception on unexpected UUIDs 2020-05-15 15:14:14 +02:00
games647 0ad3a853b5 Guard against any potential modifications for UUID changes
Related #344
2020-05-15 14:49:49 +02:00
games647 b9cf8f0498 Log setting the offline UUID on Bungee
Related #344
2020-05-15 14:12:18 +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 b6a95bb153 Delay force login command for async logins on Paper from Bungee
Related #331
2020-05-07 16:25:10 +02: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
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 57b84509da Limit the total number of running threads
(Related #304)
2020-03-14 18:20:34 +01:00
dependabot-preview[bot] 1722ab3267 Bump maven-shade-plugin from 3.2.0 to 3.2.2 (#302)
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.2.0 to 3.2.2.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.2.0...maven-shade-plugin-3.2.2)

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:27:19 +01:00
games647 fdc0485f05 [CI-SKIP] Use HTTPS and newer URLs in Maven 2020-03-03 10:50:48 +01:00
games647 2cc078773b Migrate to GitHub actions 2020-02-17 15:18:58 +01:00
games647 282467d21b Set a default kick reason if nothing is specified 2020-01-08 10:44:10 +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 17361b1b54 Implement PreLogin and AutoLogin events 2019-10-23 14:45:51 +02:00
Gabriele C 426b458a58 Fix BungeeAuth dependency 2019-10-23 12:50:40 +02:00
games647 327c8c4c9d Dump dependencies 2019-07-09 12:56:14 +02:00