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

373 Commits

Author SHA1 Message Date
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
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
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
Tim203
e4a2080299 Update maven deploy location 2023-02-26 01:18:34 +01:00
Tim203
846b60627f Made various changes to the build action 2023-02-26 01:12:18 +01:00
Konicai
dd37174ad3 Fix injection of LanguageManager/Slf4jFloodgate on Velocity (circular proxy) (#388) 2023-02-18 10:57:21 +01:00
Konicai
cfd28e8feb 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
2023-02-18 10:46:44 +01:00
Tim203
82d27bedc8 Update bstats dependency 2023-02-14 00:38:43 +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
64cb16b72a Temporarily restore Jenkinsfile to give people time to switch 2023-02-13 22:23:36 +01:00
Tim203
d7e35ae035 Notify Discord after building & fixed building 2023-02-13 22:04:54 +01:00
rtm516
64b1d9c108 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>
2023-02-13 22:01:37 +01:00
Tim203
7ea41b2648 Let's see if the setup-java action's cache is helpful & fixed building 2023-02-13 21:55:42 +01:00
Tim203
b1f1a2be93 Retrieve version from gradle.properties 2023-02-13 21:49:28 +01:00
Tim203
4f8a83c0df Remove Jenkinsfile 2023-02-12 11:36:03 +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
eb8989b400 Don't try to remove all injector references 2022-12-29 00:31:48 +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
mastermc05
c2a1932080 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
2022-10-29 12:31:17 +02:00
Konicai
c2b887f5a7 Close all skin sockets on shutdown (#363) 2022-10-27 21:12:07 +02:00
Konicai
90e9b1e3fc Fix checking for existing skins on Spigot (#362) 2022-10-27 21:10:22 +02:00
Tim203
49cf3a0a94 Bumped version to 2.1.1 and publish entire java component 2022-10-16 17:47:05 +02:00
Tim203
aa7e0a1102 Merge remote-tracking branch 'origin/master' into development
# Conflicts:
#	build-logic/src/main/kotlin/Versions.kt
2022-10-16 17:35:27 +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
4f361120d1 Update Geyser common and Cumulus 2022-08-10 22:52:25 +02:00
Tim203
4eb60abe07 Added auto-binding 2022-07-12 14:02:36 +02:00
Tim203
450eeed2a3 Deprecate handshake handlers and player properties 2022-07-11 12:36:18 +02:00
Tim203
41de3673a7 Changed how post-enable messages work internally + minor other changes 2022-07-11 11:13:37 +02:00