1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-26 02:09:19 +00:00
Commit Graph

422 Commits

Author SHA1 Message Date
Tim203
f25673dcaa Updated a few dependencies and made it easier to run on Geyser 2023-09-30 17:43:03 +02:00
Tim203
c65edc9218 getSLF4JLogger doesn't exist in Spigot 2023-09-24 10:02:04 +02:00
Tim203
12ea3b6cfb Send identity as well 2023-09-09 10:32:50 +02:00
Tim203
54ef3a76b3 Encode IP and xuid in less bytes 2023-08-24 00:12:21 +02:00
Tim203
c1d618767b Started using the new Floodgate data structure 2023-08-23 20:58:38 +02:00
Tim203
6c05dd8511 Added Ed25519 and RSA as possible signature based Floodgate data codecs 2023-08-22 23:30:56 +02:00
Tim203
3b5ab12aaa Removed Jenkins 2023-08-14 00:55:28 +02:00
Tim203
343023fdaf Added mojmap support 2023-08-14 00:51:50 +02:00
Tim203
16360a3bd6 Updated Gradle, Micronaut and fixed Folia detection 2023-08-13 23:59:18 +02:00
Noah van der Aa
ba800542f6 Fix typo in javadoc (#377) 2023-07-11 11:39:23 +02:00
Tim203
7a2117a420 Moved away from hibernate to the JDBC variant 2023-07-11 02:18:41 +02:00
Tim203
711cfa6b01 Updated Cumulus, Events & base-api 2023-07-10 23:35:31 +02:00
Tim203
01497ba86c Introduced connectionByPlatformIdentifier, removed guava usage 2023-06-25 16:00:48 +02:00
Tim203
f47ff5e008 Update Micronaut to 4.0.0-M2. No Jackson & use JDK http client variant 2023-06-03 13:13:07 +02:00
Konicai
cc798bfd4b Update languages submodule 2023-05-30 16:18:56 -04:00
Tim203
cab9190853 Publish some more modules 2023-05-05 18:24:00 +02:00
Tim203
368ff192f2 Publish database & isolation modules. Add branch name to every module 2023-05-05 12:42:39 +02:00
Tim203
298ea723b8 Remaining merge changes 2023-05-05 11:16:41 +02:00
Tim203
e0d2369482 Merge remote-tracking branch 'origin/feature/geyser-merge' into development 2023-05-05 10:30:27 +02:00
Tim203
b308ef2216 Merge remote-tracking branch 'origin/development' into feature/platform-isolation 2023-05-04 22:53:04 +02:00
Tim203
e6daddbec5 Isolate Bungee platform 2023-05-04 19:55:22 +02:00
Tim203
9b58826910 Isolate Spigot platform 2023-05-04 17:17:38 +02:00
Tim203
efe1c53429 Use ConfigUtils' AP 2023-05-04 13:42:42 +02:00
Tim203
9f30b5d456 Use version catalog and renamed build-logic to buildSrc 2023-05-03 18:31:32 +02:00
Tim203
4bc8139b07 Completed transition for Spigot & Bungee 2023-05-03 14:53:27 +02:00
Tim203
94aa4c267a Fixed building 2023-05-03 11:36:27 +02:00
Tim203
b759f0b493 Merge remote-tracking branch 'origin/master' into feature/micronaut-inject
# Conflicts:
#	build-logic/src/main/kotlin/Versions.kt
#	bungee/build.gradle.kts
#	core/build.gradle.kts
#	core/src/main/java/org/geysermc/floodgate/core/util/Metrics.java
#	database/mysql/build.gradle.kts
#	spigot/src/main/java/org/geysermc/floodgate/spigot/pluginmessage/SpigotSkinApplier.java
#	spigot/src/main/resources/plugin.yml
2023-05-03 11:26:05 +02:00
Tim203
dc3a6e84c3 Small changes 2023-05-03 11:15:53 +02:00
Tim203
d09c98f9cb Use Micronaut HTTP client, config loading in boostrap, work on database 2023-05-03 00:51:14 +02:00
Tim203
f8fa963904 Upgraded to Gradle 8.1 2023-04-24 01:00:38 +02:00
Tim203
184389f11f Gradle 8, platform isolation, bundled libraries, work on local linking 2023-04-24 00:18:03 +02:00
Tim203
ef7251b933 Delete old config template files 2023-04-12 20:33:08 +02:00
Tim203
279dd8e578 Switched to ConfigUtils 2.0 2023-04-12 20:15:47 +02: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
Tim203
3a7e77e9cf Initial work on loading libraries on runtime 2023-03-24 00:27:13 +01:00
Tim203
d1f0dede42 Fixed build numbers for GitHub Actions 2023-03-22 23:00:28 +01:00
rtm516
65e4de4e7a Update downloads api publishing steps 2023-03-19 17:12:31 +00:00
Tim203
015966ae24 Started working on moving local linking to Micronaut Data 2023-03-12 12:39:32 +01:00
Tim203
61b82c4f96 Initial work to switch to Micronaut instead
At the moment local linking is broken, forwarding data is broken and only Velocity has been converted.
2023-03-06 01:15:33 +01:00
Tim203
5e70a0c8aa Replace null with "null" 2023-03-02 21:05:12 +01:00
Tim203
089b9a7e90 Another attempt 2023-03-01 20:27:12 +01:00
Tim203
8b002e2b9f Attempt to fix publishing to the Downloads API 2023-03-01 20:23:52 +01:00
Tim203
82cfaa8858 Merge pull request #397 from GeyserMC/development
* Started using plugin messages internally. Started subcommand refactor

* Removed config holder and changed a few things

* Small changes to platforms and injectors

* Changed how post-enable messages work internally + minor other changes

* Deprecate handshake handlers and player properties

* Added auto-binding

* Switched event library

* Fixed a circular dependency issue when a locale couldn't be found

* Simplified plugin message channel logic

* Switched to Hikari for MySQL

* 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>

* Updated to the latest events version. Share a thread pool

* News needs a scheduled executor

* Bumped version to 2.1.1 and publish entire java component

* Fix checking for existing skins on Spigot (#362)

* Close all skin sockets on shutdown (#363)

* Only apply skin when someone doesn't have a skin applied already (#365)

Instead of aplying only when the player has a skin apply only when it doesn't have a skin

* 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

* Fixed building Floodgate and added a version subcommand

* Remove Blossom and use templates

* Use weak references for injected Netty channels

* Use newSetFromMap

* Added a SkinApplyEvent that can cancel/edit the to be applied skin

* Use a common ScheduledThreadPool and make the player map concurrent

* Don't try to remove all injector references

* Add branch name when not master, simplify publish, use GitHub Actions

And updated Gradle

* Remove Jenkinsfile

* Retrieve version from gradle.properties

* Let's see if the setup-java action's cache is helpful & fixed building

* Add publishing to downloads site (#385)

* Add publishing to downloads site

* Only publish to Downloads API when branch is master and status success

---------

Co-authored-by: Tim203 <mctim203@gmail.com>

* Notify Discord after building & fixed building

* Temporarily restore Jenkinsfile to give people time to switch

* 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>

* Update bstats dependency

* Only publish and notify Discord on push if running inside this repository (#387)

* Only attempt publishing if running in GeyserMC/Floodgate

* Also restrict the discord notification

* Fix injection of LanguageManager/Slf4jFloodgate on Velocity (circular proxy) (#388)

* Made various changes to the build action

* Update maven deploy location

* Relocate MySQL database extension dependencies

* 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>

---------

Co-authored-by: Alex <me@teamplayer.io>
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
Co-authored-by: mastermc05 <63639746+mastermc05@users.noreply.github.com>
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2023-03-01 13:37:05 +01:00
Tim203
d572ec97fd Store forms in a synchronized map 2023-03-01 13:33:22 +01:00
Tim203
fb327e3777 Include module name in package, worked on moving to Avaje Inject 2023-03-01 13:27:32 +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
Tim203
9512528b35 Relocate MySQL database extension dependencies 2023-02-27 00:40:36 +01:00