1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2026-01-04 15:31:48 +00:00
Commit Graph

102 Commits

Author SHA1 Message Date
Tim203
59c2c6daf3 Allow Floodgate to run embedded. Support Velocity's 'none' forwarding
The classes that were removed from the legacy Floodgate API have also been brought back
2022-11-10 20:25:30 +01:00
Camotoy
bc76d85d7f Proof-of-concept for Geyser-Floodgate merge 2022-11-06 21:34:29 -05:00
Tim203
1a9d07c5c9 Initial version of a universal platform 2022-09-02 11:39:44 +02:00
Alex
359484b3be SkinApplier now only applies a skin if a player doesn't already have one (#330)
* SkinApplier now only applies a skin if a player doesn't already have one

* add `hasSkin` method to SkinApplier and check for exising skins before overwriting

* remove the use of Streams and Optionals

* correct delay in SpigotSkinApplier to use ticks instead of milliseconds

* Minor changes

Co-authored-by: Tim203 <mctim203@gmail.com>
2022-08-31 19:32:20 +02:00
Tim203
7e930afcef Fixed a circular dependency issue when a locale couldn't be found 2022-08-30 11:54:26 +02:00
Tim203
904c584a2a Small changes to platforms and injectors 2022-07-09 19:23:02 +02:00
Tim203
1815613be6 Removed config holder and changed a few things 2022-07-03 22:03:52 +02:00
Camotoy
6e2c19f118 Velocity modern forwarding support doesn't exist pre-1.13 2022-06-16 20:09:45 -04:00
Camotoy
a46f43d19a Fix Velocity modern forwarding with 1.19
Fixes https://github.com/GeyserMC/Geyser/issues/3039, #321
2022-06-13 15:29:45 -04:00
Tim203
af4030ac12 Re-added support for BungeeCord 1.18
Metrics showed that more than 33% of the BungeeCord platform users still use a 1.18.x version
2022-06-11 14:12:13 +02:00
Tim203
c10561d010 Added platform fork to metrics. Improved MC version detector in Bungee 2022-04-02 16:27:04 +02:00
Tim203
9ff6ad8589 Velocity is also a proxy 2022-03-21 15:14:07 +01:00
Tim203
465e66df72 Added metrics and fixed relocations not applying for child projects 2022-03-21 14:41:53 +01:00
Tim203
440e20f5ea Switched to ConfigUtils and prepared the addition of metrics 2022-03-11 23:35:59 +01:00
Tim203
0e1e1b823c No longer use Adventure internally. Started working on adding Checkstyle 2022-03-05 20:02:06 +01:00
Tim203
0e055d106d Bumped Adventure. Only set empty texture when needed 2022-03-03 00:31:44 +01:00
Tim203
039b398dad Register permissions on Spigot. Profile ID can be null. Fixed submodule 2022-02-06 02:10:17 +01:00
Tim203
141643f381 Update build file to reflect changes made in master 2022-02-04 16:04:41 +01:00
Tim203
cb1db859ce Merge remote-tracking branch 'origin/master' into dev/2.1.1
# Conflicts:
#	spigot/pom.xml
2022-02-04 15:58:52 +01:00
Camotoy
4537fea569 Only initialize Paper listener with class existance 2022-02-02 12:48:41 -05:00
Redned
5e51ac9f48 Quick fix for GameProfile's being empty 2022-02-02 11:10:57 -06:00
Tim203
6e6d352a22 Merge remote-tracking branch 'origin/master' into dev/2.1.1
# Conflicts:
#	core/src/main/resources/languages
2022-01-27 12:33:43 +01:00
Tim203
8f2c6d0397 Support API usage in disconnect events. Removed the login field 2022-01-25 22:14:46 +01:00
Tim203
763ede8817 Don't assume that BedrockData can't be null 2022-01-20 19:34:14 +01:00
Tim203
a3e6c09166 Paper added an option to disable username validation for a connection
Co-authored-by: Camotoy <20743703+camotoy@users.noreply.github.com>
2022-01-18 16:57:37 +01:00
Tim203
b6a7087dc7 Bypass username validation for every Spigot platform
After internal discussion, we've decided to require assistance for all Spigot platforms, in case Spigot decides to add username validation as well.
2022-01-14 11:57:42 +01:00
Tim203
452656dce7 Always bypass Paper's username validation for Floodgate players 2022-01-08 02:15:04 +01:00
Tim203
9509d153c7 We're in 2022 now 2022-01-02 00:08:15 +01:00
Tim203
3be603a837 Re-added relocations and excluded provided dependencies 2021-12-12 22:00:58 +01:00
Tim203
919332f3af Another attempt to make publishing work 2021-12-10 23:32:49 +01:00
Tim203
11f811b656 First version of moving to gradle. No relocations etc. yet 2021-12-08 00:59:25 +01:00
Tim203
476ad4eb0f Renamed common to core 2021-12-05 22:16:32 +01:00
Tim203
6e41471790 Bump version to 2.1.0 2021-11-30 16:35:59 +01:00
Tim203
315efb9e50 Added support for 1.18 2021-11-27 02:27:17 +01:00
Camotoy
a57bd24216 Relocate Guice on Spigot and BungeeCord 2021-11-19 09:10:22 -05:00
Tim203
5161aa7259 Don't forget to send the handshake packet for Java players 2021-11-07 20:46:55 +01:00
Tim203
2d2c38e120 Moved some common data handling logic to the common module 2021-11-07 14:51:37 +01:00
Camotoy
4c66bb7a9f Allow a UUID to be used in the Floodgate whitelist command
No API call needs to be made this way.
2021-10-18 09:16:36 -04:00
Camotoy
08178f51b7 Remove time syncer checks
This check has caused more harm than good (with needing to use an external NTP source and some providers not allowing Cloudflare's NTP server), and is also a technical vulnerability in BungeeGuard. In order to exploit this, you would need to capture traffic between the Geyser server and the Floodgate instance.
2021-09-27 14:45:53 -04:00
Tim203
4fd6f7eda4 Make a difference between a decrypt error and an exception 2021-09-17 12:44:35 +02:00
Tim203
1d7009395d Bumped some dependencies 2021-09-17 12:09:14 +02:00
Tim203
beda917fc9 Don't block Netty event loop threads while handling Floodgate login 2021-08-26 00:46:24 +02:00
Tim203
4f1b450453 Shade a cloud dependency as well 2021-07-24 00:57:21 +02:00
Tim203
b66f10ae6d Shade some dependencies 2021-07-23 17:44:01 +02:00
Tim203
0216b6d798 Fixed a bug where linked accounts would get their Bedrock skin 2021-07-05 15:49:42 +02:00
Tim203
a1f0d2276d Removed some unused addon code 2021-06-23 00:52:21 +02:00
Andrew Steinborn
821be02bdb Fix reference count issues (#165)
* Fix reference count issues

* Only remove the handler after we get the Handshake packet

* Same thing for the ServerDataHandlers. Optimized imports as well

* Further removal optimizations in backend handlers and Spigot

* Removed unused imports

Co-authored-by: Tim203 <mctim203@gmail.com>
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2021-06-22 22:33:48 +02:00
Tim203
58882e84cf Spigot 1.17 support 2021-06-12 02:54:07 +02:00
Tim203
a65d4e821d First part of news 2021-06-08 14:48:30 +02:00
Camotoy
9939cf666e Remove unused imports 2021-05-30 13:20:48 -04:00