1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-22 16:29:25 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
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
Tim203
465e66df72 Added metrics and fixed relocations not applying for child projects 2022-03-21 14:41:53 +01:00
Tim203
440e20f5ea Switched to ConfigUtils and prepared the addition of metrics 2022-03-11 23:35:59 +01:00
Tim203
4f9ce6f770 ProfileAudienceParser now respects the given player type 2022-03-09 11:24:21 +01:00
Tim203
0e1e1b823c No longer use Adventure internally. Started working on adding Checkstyle 2022-03-05 20:02:06 +01:00
Hugo Planque
9ee68aca9f Stop using regex to replace username (#265) 2022-02-12 15:09:36 +01:00
Tim203
51c828d5e7 Don't append a \0 on the last element 2022-02-07 00:11:09 +01:00
Tim203
4e60f9a1ed I'm pretty sure I selected all files 2022-02-06 02:15:03 +01:00
Tim203
039b398dad Register permissions on Spigot. Profile ID can be null. Fixed submodule 2022-02-06 02:10:17 +01:00
Tim203
cb1db859ce Merge remote-tracking branch 'origin/master' into dev/2.1.1
# Conflicts:
#	spigot/pom.xml
2022-02-04 15:58:52 +01:00
Tim203
6e6d352a22 Merge remote-tracking branch 'origin/master' into dev/2.1.1
# Conflicts:
#	core/src/main/resources/languages
2022-01-27 12:33:43 +01:00