Smart123s
af0ef2aed9
Stop ProtocolSupport from crying
...
If I ever tried to either cast or use FloodgatePlayer as a return type
when Floodgate was not installed in the server, I got this error:
[19:37:46 ERROR]: [FastLogin] Plugin FastLogin v1.11-SNAPSHOT-744264d has failed to
register events for class
com.github.games647.fastlogin.bukkit.listener.protocolsupport.ProtocolSupportListener
because org/geysermc/floodgate/api/player/FloodgatePlayer does not exist.
ProtocolLib doen't have this problem.
2021-06-12 19:57:32 +02:00
Smart123s
ee2b3a37f8
Move Floodgate name conflict check to Core
2021-06-12 19:57:31 +02:00
Smart123s
0e8ad6e318
Add license header to FloodgateHook.java
2021-06-12 19:56:36 +02:00
Smart123s
757d0ef991
Fix & Move allowFloodgateNameConflict=linked
2021-06-05 18:43:23 +02:00
Smart123s
2d5a53a2f9
Kick player if Floodgate name conflict checking fails
...
Rebased on Sat May 22 13:48:29 2021 +0200
Fixed typos in strings
2021-06-05 18:43:23 +02:00
Smart123s
9a6112ebd4
Made ProtocolSupport check for Floodgate name conflicts
...
Rebased on Sat May 22 11:42:34 2021 +0200
Initialize FloodgateHook in constructor
This way, it won't have to be initialized whenever a player joins
2021-06-05 18:42:30 +02:00
Smart123s
1f3cd5fa5b
Share Floodgate name conflict check between Protocol Plugins
...
Added a shared class for Floodgate name conflict checking that can be used by both ProtocolLib and ProtocolSupport
Rebased on Sat May 22 11:42:08 2021 +0200
Added access modifier to "FastLoginBukkit plugin;" in FloodgateHook.java
Rebased on Sat May 22 11:42:08 2021 +0200
Initialize FloogateHook in ProtocolLib's class
2021-06-05 18:40:15 +02:00
games647
119b9cb000
Merge pull request #494 from Smart123s/main
...
Floodgate support for Bukkit
2021-05-16 20:50:53 +02:00
Smart123s
d44ab4e634
Warn when unsupported plugins are detected
...
Floodgate 1.0 does not work with the current Bukkit implementation.
ProtocolLib and Floodgate don' play along nicely when used with FastLogin
Related issue: #493
2021-05-16 17:54:50 +02:00
Smart123s
b2b61539e1
Revert "Move Floodgate conflict chechking to core"
...
This reverts commit b0ef1a59ac .
2021-05-16 17:54:50 +02:00
Smart123s
b9dd921885
Change plugin.yml to softepend on Floodgate 2.0
...
Rebased to remove Bungee related changes
2021-05-16 17:53:22 +02:00
games647
6b20b71403
Merge pull request #530 from Smart123s/patch-2
...
Change dependency Floodgate Bungee to API
2021-05-16 16:08:14 +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
games647
1385f0c730
Merge pull request #528 from Smart123s/patch-1
...
Actually assign the queried version to a variable
2021-05-13 17:21:47 +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
games647
3d65a33e0c
Merge pull request #527 from TechnicallyCoded/feature/floodgate-v2.0
...
Implement floodgate api version 2.0
2021-05-13 15:07:21 +02:00
TechnicallyCoded
2700b3ee0e
Implement floodgate api version 2.0
2021-05-12 11:49:15 +02:00
Smart123s
5858bfb443
Add Floodgate name conflict check to ProtocolSupport
2021-05-09 11:10:10 +02:00
Smart123s
b0ef1a59ac
Move Floodgate conflict chechking to core
...
The FloodgateApi is the same for Bukkit and Bungee, so the Floodgate
related code could be used in a future Bungee implementation too.
Currently, Bungee will report Floodgate disabled to core, so the
upstream Floodgate implementation will be used there.
If enough code will be moved to core, I might consider enabling these
features to BungeeCord too.
2021-05-09 11:01:36 +02:00
Smart123s
25254b2393
Add vscode to .gitignore
2021-05-09 09:09:52 +02:00
Smart123s
08b864220d
Merge branch 'main' of https://github.com/games647/FastLogin
2021-05-09 09:06:59 +02:00
games647
dbe9ac2903
Merge pull request #525 from Smart123s/fg2-bc
...
Fix Floodgate 2.0 on BungeeCord
2021-05-08 19:18:24 +02:00
Smart123s
1b7b2ff2b5
Add support for Floodgate 2.0
2021-05-08 16:26:58 +02:00
Smart123s
d01c368cdb
Fix identation in bukkit/pom.xml
2021-05-08 14:46:00 +02:00
Smart123s
75750f8417
Apostrophes are no longer necessary in config.yml
2021-05-08 14:20:56 +02:00
Smart123s
85a1abfaac
Describe how UUIDs work for 'allowFloodgateNameConflict' in config.yml
2021-05-08 13:38:38 +02:00
Smart123s
5a263956fe
Fixed Java auto login/register
2021-05-06 11:56:24 +02:00
games647
c1d3f278f7
Merge pull request #520 from games647/dependabot/add-v2-config-file
...
Upgrade to GitHub-native Dependabot
2021-04-30 13:32:08 +02:00
dependabot-preview[bot]
7fe6d0ae2b
Upgrade to GitHub-native Dependabot
2021-04-29 15:33:48 +00:00
dependabot-preview[bot]
d3be664c3d
Merge pull request #517 from games647/dependabot/maven/com.mycila-license-maven-plugin-4.1
2021-04-28 07:49:29 +00:00
dependabot-preview[bot]
1edfc83e65
Merge pull request #518 from games647/dependabot/maven/junit-junit-4.13.2
2021-04-28 07:44:10 +00:00
dependabot-preview[bot]
727a16a9c0
Bump junit from 4.13.1 to 4.13.2
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.13.1...r4.13.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-04-27 21:26:42 +00:00
dependabot-preview[bot]
12dccaebe8
Bump license-maven-plugin from 4.0 to 4.1
...
Bumps license-maven-plugin from 4.0 to 4.1.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-04-27 21:26:22 +00:00
Smart123s
0d598ad390
Moved config value checking
...
Previously the value for "autoLoginFloodgate" and "autoRegisterFloodgate" was checked every time a player joined.
Now they are checked at startup.
2021-04-11 11:47:56 +02:00
Smart123s
a078bb8214
Add missing return
2021-04-11 10:13:43 +02:00
games647
7192dcdf07
Merge pull request #504 from InkerBot/main
...
Add SodionAuthBungee support
2021-04-07 10:48:56 +02:00
墨水瓶Official
2c3fd4a575
Return when first auth plugin found
2021-04-07 00:30:11 +08:00
墨水瓶Official
ab1d3ded63
Fix errors
2021-04-07 00:12:58 +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
68d23e127a
Bump SodionAuth version and fix errors.
2021-04-06 21:28:36 +08:00
InkerBot
8837a1b70e
Bump SodionAuth version and fix errors.
2021-04-06 21:27:25 +08:00
dependabot-preview[bot]
9568556ceb
Merge pull request #503 from games647/dependabot/maven/pl.project13.maven-git-commit-id-plugin-4.0.4
2021-04-06 13:02:28 +00:00
InkerBot
ea894b3a7b
Add SodionAuthBungee hook
2021-04-06 00:31:17 +08:00
InkerBot
0c45c30d2f
Bump SodionAuth version
2021-04-06 00:30:18 +08:00
dependabot-preview[bot]
17e16b68b2
Bump git-commit-id-plugin from 4.0.3 to 4.0.4
...
Bumps git-commit-id-plugin from 4.0.3 to 4.0.4.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-04-05 16:17:24 +00:00
games647
d6a02aa538
Apply license headers to every file
...
(Related #494 )
2021-04-05 11:04:42 +02:00
Smart123s
9e8a9508d7
Re-use FloodgatePlayer in FloodgateAuthTask
2021-03-30 20:03:09 +02:00