1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-19 06:49:24 +00:00

418 Commits

Author SHA1 Message Date
Luke
65eecbf41a Don't trigger builds when updating certain files such as README 2025-12-15 18:08:31 +00:00
Luke
1ac1e6aea4 Fix hitcount in README
Why does the dwyl hitcount always have issues? i changed it to use hitcount.dev
2025-12-15 17:42:14 +00:00
Aurorawr
55a85ec736 Bump cloud (#625) 2025-10-12 15:07:08 +02:00
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
Aurorawr
d5be877ed9 Fix fwhitelist command + Bungee build fix (#613) 2025-09-30 20:14:35 +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
chris
b469c0c057 Remove LoginEvent usage in Floodgate-Spigot (#596) 2025-07-16 21:47:25 +02:00
Outfluencer
0e3163c942 Use newly added BungeeCord ChannelInitializer API (#575)
* Update BungeeInjector.java

* Update bungee version

* Add a message when running an outdated Bungee version
2025-02-16 15:36:11 +01: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
Kas-tle
83fbd6edbd Update README.md Download, Status, and Wiki Links (#559)
* Update README.md

* Correct CI link
2024-11-05 10:51:49 -08:00
LittleShyStar02
06f2ed966e Actually check if the channel is open, fixes #547 (#557)
* Moved check of channel open of #547. In previous point was always true and it did not solve problem.

* Moved check of channel open of #547. In previous point was always true and it did not solve problem.

* Make the comment more compact

---------

Co-authored-by: Tim203 <mctim203@gmail.com>
2024-10-31 16:44:27 +01:00
LinsaFTW
0360721d9c Check if channel is open before injecting (#547)
* Check if channel is open before injecting

Some forks like FlameCord have integrated anti-bot features to block connections early. 

By default, Floodgate runs anyways, which not only makes bot attacks affect the server when Floodgate is instaled, but also generate an exception. 

This fixes the issue.

* Add note about why it's added

---------

Co-authored-by: Tim203 <mctim203@gmail.com>
2024-09-29 12:32:56 +02:00
Outfluencer
3db8e5931f Support latest BungeeCord changes (#546)
* update bungee injector

* add backwards compatibility
2024-09-14 22:05:04 +02:00
Tim203
e7e40f59ba Deprecate all the API classes that will be removed in Floodgate 3.0
See #536 for more information
2024-09-01 20:47:26 +02:00
chris
49bd56446f Preliminary 1.21 Spigot support (#521) 2024-06-13 22:08:27 -04:00
Camotoy
e1bae5765b Do not swallow errors on Spigot 2024-06-13 18:01:39 -04:00
Kas-tle
c4a44879b8 Switch to centralized GitHub actions (#516)
* Switch to centralized GitHub actions

* Build number is in env for PR
2024-05-27 11:15:11 -07:00
Tim203
792af7b0dd Fixed bug in Bungee platform 2024-05-19 00:10:17 +02:00
Tim203
f1c52b48fc Fixed recession in latest commit 2024-05-18 17:43:33 +02: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
Tim203
a44e3a5df8 Fixed an oversight that resulted in old versions not working 2024-04-29 08:29:24 +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
Tim203
0fa00a85ad Support Paper's lack of CraftBukkit relocation 2024-04-28 20:25:43 +02:00
Kas-tle
58d71cb8eb Fix Publishing to the Downloads API (#499)
* Update build process

* Ensure BUILD_JSON env is init

* Fallback to GH run number

* Use tmp file for metadata.json

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-28 07:18:35 -07: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
rtm516
2886a71480 Remove mention of maven in PR build (#482) 2024-01-28 22:52:16 +00:00
rtm516
19391fa253 Update Geyser version (#481)
* Update Geyser version
* Update Versions.kt
2024-01-28 22:51:20 +00:00
Tim203
94eabd7015 Add support for latest Velocity changes 2024-01-18 22:40:56 +01:00
Tim203
2876c57768 We no longer use Jenkins 2023-12-30 21:22:59 +01:00
Tim203
921d706c1e Made Floodgate compatible with latest Spigot changes 2023-12-30 21:19:29 +01:00
Tim203
71acc6c0f4 Backport a similar fix for 1.20.2 profile properties 2023-10-13 17:15:17 +02:00
Kas-tle
f9b427fcdf Maybe fix empty profile issue (#458)
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2023-10-10 11:51:34 -07:00
Hidey Boi
7b889180e0 Fix spigot whitelist command on newer Paper versions (#456)
* Jank Fix for #444

* Move Scheduler to WhitelistUtils

Also stopped using the Bukkit scheduler and am now scheduling via SpigotVersionSpecificMethods.maybeSchedule

* Move setWhitelist to WhitelistUtils

Includes requested formatting changes.

* switch from runnables to using an lambda expression

* Made lambda a single line

---------

Co-authored-by: Hidey Boi <HideyBoi@users.noreply.github.com>
2023-10-10 11:22:20 -07:00
Kas-tle
26c11bdede 1.20.2 Support (#449)
* Spigot 1.20.2

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Oops

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* 1.20.2 velocity (#1)

* 1.20.2 Velocity

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Archive build artifacts

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Fix typo in velocity-plugin.json

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Fix formatting and apply codestyle to eclipse

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Ignore changes to core base prefs

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Proper ignore

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Remove buildship prefs

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Formatting

Signed-off-by: GitHub <noreply@github.com>

* Formatting

Signed-off-by: GitHub <noreply@github.com>

* Properly build PRs

* Formatting + remove artifacts

Signed-off-by: GitHub <noreply@github.com>

* Throw IllegalStateException

Signed-off-by: GitHub <noreply@github.com>

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com>
2023-09-26 19:36:02 +02:00
Tim203
492be77ad9 Fixed an error during shutdown 2023-08-17 11:35:12 +02:00
Tim203
9c79df6fb7 Bump Geyser, Cumulus, Events versions to fix an issue with Events 2023-08-15 19:00:58 +02:00
Tim203
d1f3aae56c Backported Folia detection fix 2023-08-14 01:04:02 +02:00
Tim203
227858930d Relocate SnakeYAML 2023-06-09 18:32:31 +02:00
Tim203
e23f1b2659 Jitpack why... 2023-05-27 14:16:08 +02:00
Tim203
202a30aae6 Fixed GitHub Action run numbers and updated download url 2023-05-27 13:40:58 +02:00
Konicai
1b9042eacf Bump bungeecord-proxy commit version (#409) 2023-05-09 22:42:53 -05:00
byteful
2702bc3e83 Check IS_FOLIA silently (#400) 2023-03-31 16:44:17 -04:00
Camotoy
104cbdd51b Use Java 17 to compile 2023-03-31 13:28:18 -04:00
Tim203
3c0e30bff7 Folia support
Co-Authored-By: Camotoy <20743703+Camotoy@users.noreply.github.com>
2023-03-31 13:14:37 -04:00
Tim203
f0a20aa967 Support changes introduced in a recent BungeeCord commit 2023-03-28 14:41:41 +02:00
rtm516
65e4de4e7a Update downloads api publishing steps 2023-03-19 17:12:31 +00:00