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

365 Commits

Author SHA1 Message Date
Tim203
fb327e3777 Include module name in package, worked on moving to Avaje Inject 2023-03-01 13:27:32 +01:00
Tim203
07ab7ffbfa Started working on moving from Guice to Avaje Inject 2023-02-25 23:42:18 +01:00
Tim203
7ee31d9466 Don't use Blossom for universal platform as well 2023-02-22 23:13:47 +01:00
Tim203
f2973f0fc8 Merge remote-tracking branch 'origin/development' into feature/universal-platform
# Conflicts:
#	core/src/main/java/org/geysermc/floodgate/FloodgatePlatform.java
#	spigot/src/main/java/org/geysermc/floodgate/pluginmessage/SpigotSkinApplier.java
2023-02-22 21:54:51 +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
1a9d07c5c9 Initial version of a universal platform 2022-09-02 11:39:44 +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
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
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
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