1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-19 14:59:20 +00:00

73 Commits

Author SHA1 Message Date
Camotoy
0a8cba05f8 Update to support 1.21.9 (#616)
* Start work on 1.21.9

* Works on 1.21.9

* Add native Mojmap support for the spigot module (#591)

* Add native Mojmap support for the spigot module

* Don't remove spigot class name for CraftPlayer

* Also include CraftServer and CraftOfflinePlayer

* Restored compatibility with 1.16.5

* Import cleanup

* Fix /fwhitelist on 1.21.9

(cherry picked from commit 06bb54395f)

* Re-use existing name/uuid from old profile when applying new skin

---------

Co-authored-by: Eclipse <eclipse@eclipseisoffline.xyz>
Co-authored-by: Aurorawr <auroranova8756@gmail.com>
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-10-03 20:55:57 +02:00
chris
40d320a619 Add bstats info to see whether local linking is used on backend servers (#600) 2025-07-22 17:03:14 +02:00
Roch Blondiaux
2deccf3144 Implemented a way to close forms from floodgate (#566)
* feat: added #closeForm method to FloodgateApi

* feat: implementation of the closeForm method

* Update Floodgate API version

---------

Co-authored-by: Roch Blonndiaux <contact@roch-blondiaux.com>
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-02-11 20:11:25 +01:00
Bridge
00b8b1b636 Reduce session server lookups (#509)
* fix: add default skin to gameprofiles

* fix: add signatures by default to prevent issues

* cleanup

* no longer apply empty textures

* revert formatting change

* fix(spigot): linked player textures

* fix(velocity): linked player textures

* fix(bungeecord): apply linked textures

* Made the MojangUtils class instance based, removed some unneeded code

* Don't block Velocity event threads, made the Bungee variant work

* Add some comments

---------

Co-authored-by: bridge <haha@haha.com>
Co-authored-by: Tim203 <mctim203@gmail.com>
2024-05-18 15:01:55 +02:00
chris
f8c84182d6 Deal with getLocale being nullable during login on BungeeCord (#511)
* Temporary fix for https://github.com/GeyserMC/Floodgate/issues/510, bump cloud to rc candidate

* apparently it is supposed to be nullable. okay then.
2024-05-14 17:41:00 +02:00
chris
4404c15f1a Allow Floodgate-Fabric to provide it's own TemplateReader (#507) 2024-05-08 17:15:44 +02:00
chris
41c42ed3bb Update cloud (#505) 2024-05-06 12:04:58 +02:00
chris
7a5530596d Feature: Cloud 2.0, publishing setup fixes (#496)
* - Update to cloud 2.0
- bump floodgate version to 2.2.3
- fix publishing setup - don't publish shadow jars, ensure api/core artifacts aren't shaded jars

* - update bstats
- fix alias -> description

* tiny cleanup, fix whitelisting bedrock players when the linked java account is online (and shares the same name)

* Update build process

* Ensure BUILD_JSON env is init

* Fallback to GH run number

* update guice to 6.0.0 to be compatible with java 21

* update languages module

* Support 1.20.5 spigot, update languages module, update Bungee dependency so the project builds

* remove codemc repo, update cloud-paper to snapshot build for 1.20.5 support

---------

Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
2024-04-28 22:36:17 +02:00
chris
851ed5adc0 Support 1.20.5 spigot, update languages module, update Bungee dependency so the project builds (#498) 2024-04-28 01:01:30 +02:00
Tim203
7f38765010 Made the debug addon a bit more dumb 2024-02-18 15:36:44 +01:00
Tim203
492be77ad9 Fixed an error during shutdown 2023-08-17 11:35:12 +02:00
Tim203
227858930d Relocate SnakeYAML 2023-06-09 18:32:31 +02:00
Tim203
202a30aae6 Fixed GitHub Action run numbers and updated download url 2023-05-27 13:40:58 +02:00
Tim203
d572ec97fd Store forms in a synchronized map 2023-03-01 13:33:22 +01:00
Konicai
2230f2a6d3 Shutdown metrics on platform shutdown (#386)
* Shutdown metrics on platorm shutdown

* Listen to event instead of hardcoding it

* Annotate Metrics as a Listener

* Use temporary bStats fork to properly shutdown bStats

* Use bstats-base dependency (instead of the whole project I guess?)

* Formatting change

---------

Co-authored-by: Tim203 <mctim203@gmail.com>
2023-02-27 00:48:49 +01:00
Konicai
38442bc748 Localize floodgate.core.not_linked (#383)
* Localize floodgate.core.not_linked

* Update languages submodule

* not_linked string has changed slightly

---------

Co-authored-by: Tim203 <mctim203@gmail.com>
2023-02-13 23:18:34 +01:00
Tim203
da97a0f073 Add branch name when not master, simplify publish, use GitHub Actions
And updated Gradle
2023-02-12 11:35:32 +01:00
Tim203
f44319c968 Merge remote-tracking branch 'origin/feature/weak-references' into development 2022-12-29 00:32:33 +01:00
Tim203
0c4b953cdb Use a common ScheduledThreadPool and make the player map concurrent 2022-12-28 13:24:42 +01:00
Tim203
913c85c154 Added a SkinApplyEvent that can cancel/edit the to be applied skin 2022-12-28 02:11:26 +01:00
Tim203
c84dd0cae5 Use newSetFromMap 2022-12-27 12:05:47 +01:00
Tim203
e502e0019f Use weak references for injected Netty channels 2022-12-27 01:08:02 +01:00
Tim203
2c92e3e215 Remove Blossom and use templates 2022-12-12 02:02:43 +01:00
Tim203
d3705bfd31 Fixed building Floodgate and added a version subcommand 2022-11-08 19:30:39 +01:00
mastermc05
dafb5e4b58 Use UTF-8 for language files (#366)
Languages like ru_RU don't work because they have specific characters, and your files are encoded in UTF-8, but it reads them as ISO 8859-1
2022-11-04 11:36:28 +01:00
Konicai
c2b887f5a7 Close all skin sockets on shutdown (#363) 2022-10-27 21:12:07 +02:00
Tim203
bc1a98c31a News needs a scheduled executor 2022-09-02 09:54:38 +02:00
Tim203
1a6aa3199d Updated to the latest events version. Share a thread pool 2022-08-31 20:54:28 +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
0f152141a2 Switched to Hikari for MySQL 2022-08-31 03:03:42 +02:00
Tim203
eca042dc82 Simplified plugin message channel logic 2022-08-30 13:25:09 +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
13aec4e083 Merge remote-tracking branch 'origin/development' into feature/auto-binding
# Conflicts:
#	core/src/main/java/org/geysermc/floodgate/FloodgatePlatform.java
2022-08-30 09:27:15 +02:00
Tim203
e990f2b948 Switched event library 2022-08-13 22:59:52 +02:00
Tim203
4eb60abe07 Added auto-binding 2022-07-12 14:02:36 +02:00
Tim203
41de3673a7 Changed how post-enable messages work internally + minor other changes 2022-07-11 11:13:37 +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
Tim203
69aacfa91b Started using plugin messages internally. Started subcommand refactor 2022-06-19 23:00:18 +02: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
a7a6366ec1 Patch for people who updated to 2.2 early, and fixed previous push.
The config updater didn't re-add the quotes that strings with special characters (or no characters) should have, which resulted in the usernamePrefix becoming invalid or null. While this has been fixed for people that use the config updater with the latest version, people that already updated can't update again, and would have to edit the config manually.
2022-06-11 15:39:12 +02:00
Tim203
59b37f20e4 Disable key encryption requirement for Floodgate Velocity players 2022-06-11 14:58:15 +02: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
e824d0f4d1 Re-added the old sendForm methods 2022-06-06 11:16:11 +02:00
Tim203
8bd2e2d39a Merge remote-tracking branch 'origin/dev/2.1.1' into feature/cumulus-1.1
# Conflicts:
#	build-logic/src/main/kotlin/Versions.kt
2022-06-06 10:47:48 +02:00
Tim203
e6bf250a1d Fixes #303 and changed some metrics 2022-05-27 18:24:40 +02:00
Robin Brämer
523f28d29a Fix typos (#273)
* Fix typos

* Fix another typo

* Fix error log message (GeyserMC/Floodgate#275)

Co-authored-by: Tim203 <mctim203@gmail.com>
2022-05-15 23:49:03 +02:00
Hugo Planque
f2ebf0b6eb Use ProfileAudience instead. It's a ProfileAudienceArgument (#302) 2022-05-15 23:27:18 +02:00
Tim203
b85ba07edd Don't archive core & api artifacts. Don't deploy databases. Deploy core 2022-05-11 22:57:34 +02:00
Tim203
c10561d010 Added platform fork to metrics. Improved MC version detector in Bungee 2022-04-02 16:27:04 +02:00