onebeastchris
df4bb4f1c1
Update netty & mcpl dependencies
...
Fixes https://github.com/GeyserMC/Geyser/issues/5375 , https://github.com/GeyserMC/Geyser/issues/5301 , fixes https://github.com/GeyserMC/Geyser/issues/5050
2025-07-25 20:04:39 +02:00
chris
7c47459609
Resolve memory usage issues related to Netty 4.2 update ( #5536 )
...
* More proper workaround for direct connection using Netty 4.2
* Add check for outdated Velocity
* BungeeCord support for Netty 4.2
* Use pooled allocator
* Small cleanup: only one allocator system property check, pin comment to static commit
* Set allocator type on Standalone using netty system property
* Don't mess with allocator, both BungeeCord and Velocity set it globally
* Temporarily remove io_uring support
In order to support io_uring transport after the 4.2 update, we'd need to separately handle 4.1 and 4.2 event loop group creation
* Add compileOnly netty io_uring dependency for Geyser-BungeeCord
* Exclude old incubator io_uring dependency on geyser-standalone
---------
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com >
2025-05-22 17:43:02 +02:00
chris
69329f2cad
Feature: Resource Pack API additions - ResourcePackOptions and a GeyserDefineResourcePacksEvent ( #4978 )
2025-03-25 15:49:18 +01:00
Alex
5f0611ff0f
Switch all ping passthroughs to json to avoid parsing warning ( #5363 )
2025-02-25 22:33:10 +01:00
Camotoy
ecc10d6560
Update direct connection/compression disabler for newest BungeeCord
...
Fixes #5348
2025-02-16 15:18:55 -05:00
onebeastchris
5b90b114b5
Remove unneeded code in CodecProcessor, make Bungee version checker automatically check for the required version
2024-12-11 01:28:30 +08:00
onebeastchris
94d77b403b
Add some code comments, update BungeeCord version check
2024-12-10 23:13:32 +08:00
Konicai
1ab3f1f2e0
Improve command registration timing on Velocity/BungeeCord ( #5013 )
2024-09-01 15:34:53 -04:00
chris
d3ea65196b
Feature: Detect incorrect proxy setups ( #4941 )
...
* Feature: Detect & warn about incorrect proxy setups on Spigot platforms
* Properly disable Geyser if we failed to load
2024-08-11 00:50:27 +02:00
Konicai
87ab51cb28
Cloud for commands ( #3808 )
...
Co-authored-by: onebeastchris <github@onechris.mozmail.com >
2024-07-31 20:01:31 -05:00
masel.io
677a56cf6c
Add Timeout to CompletableFuture in GeyserBungeePingPassthrough to Prevent Memory Leak ( #4858 )
...
* fix: Add timeout for GeyserBungeePingPassthrough#getPingInformation
Signed-off-by: ByteExceptionM <git@byteexception.eu >
* fix: Use Geyser Logger instead of Bungee Logger
Signed-off-by: ByteExceptionM <git@byteexception.eu >
* Fix typo
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com >
* chore: Add ip suppression if configured
Signed-off-by: ByteExceptionM <git@byteexception.eu >
* Remove empty line
Co-authored-by: chris <github@onechris.mozmail.com >
* Remove empty line
Co-authored-by: chris <github@onechris.mozmail.com >
---------
Signed-off-by: ByteExceptionM <git@byteexception.eu >
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com >
Co-authored-by: chris <github@onechris.mozmail.com >
2024-07-16 11:23:30 +02:00
onebeastchris
a5ecee73ef
Update Bungee warning for outdated proxy checks
2024-06-13 20:12:45 +02:00
chris
0fcf0f9b4f
Update Bungee version check, create logger earlier ( #4697 )
...
* use the logger where possible instead of system.out.print
* make loggers final
* yeet unused constructors
* velocity is more complicated
2024-05-28 17:23:19 +02:00
chris
6a51d8298f
Feature: Rework startup logic ( #4377 )
...
* This makes `geyser reload` work the same across all platforms. For example, it ensures that we reload the config to the greatest extent possible (with the exception of compression/injection settings). Additionally, this clears up issues where Extensions were previously disabled during reloading - instead, the new Pre and Post reload events allow extensions to reload whatever necessary on their own.
2024-02-14 12:50:50 +01:00
Konicai
a13492e0ed
Final 1.20.4 cleanup
2023-12-14 21:31:14 -05:00
chris
95d65350e4
Project wide syntax/annotation cleanup ( #4238 )
...
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com >
2023-12-05 18:54:42 -05:00
Konicai
bb6a1ec40a
Simply pingpassthrough logic, add fabric ping passthrough ( #3930 )
...
* Check if PingPassthrough is null
* Remove QueryPacketHandler
* Fabric ping passthrough
2023-11-13 18:17:40 -05:00
Camotoy
4e0cc92e93
Address #4281
2023-11-11 13:26:28 -05:00
chris
644082ae84
Fix /geyser reload on Velocity ( #4258 )
...
* Fix /geyser reload on Velocity
* No need to create/init a new injector on Velocity
* No need to warn about "abnormally long startup" on Bungee when we're reloading. And, as on velocity, no need to re-inject
2023-11-03 17:16:09 +01:00
chris
b17f4a46f4
Update outdated proxy message to check for 1.20.2, remove floodgate 1.0 checks ( #4204 )
2023-10-09 18:20:18 +02:00
rtm516
f272ed9383
Move PlatformType to API and expose it for extensions ( #3798 )
...
* Move PlatformType to API and expose it for extensions
* Move to a record
2023-06-17 02:56:50 +01:00
Camotoy
c8afd3436d
Fix Floodgate autodetection
2023-04-26 21:11:26 -04:00
Tim203
7c1100b830
Fixed auto-setting auth-type to Floodgate
2023-04-26 18:53:03 +02:00
Julian Vennen
f39e689b83
Implement System properties to set the udp port and address #3597 ( #3689 )
...
* System property stuff
* Add geyserUdpPort/Address system properties as overrides for pluginUdpPort/Address
* Fix formatting for if-else statements
---------
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com >
2023-04-22 21:33:23 -04:00
Camotoy
9656caf4cb
Merge branch 'compression' into dev
2022-12-18 13:21:07 -05:00
Camotoy
95ebdb8ebf
Update BungeeCord version check
2022-12-07 11:59:20 -05:00
Konicai
592b48dbf5
Simplify IP censoring in dumps ( #3330 )
2022-11-01 09:59:44 -04:00
Camotoy
730b0beb01
Consolidate CommandManager implementations
...
A lot of these just implemented the class overrode the `description` method returning nothing.
2022-10-18 16:05:55 -04:00
Camotoy
97ec5fec33
Force-disable query if it would interfere with Geyser's startup.
...
Fixes #3312
2022-10-03 18:27:42 -04:00
Konicai
7653a626af
Update Sponge to API 8 ( #2611 )
2022-10-02 16:43:14 -04:00
Camotoy
7cd71f570f
Fix some ordering that regressed some behavior
2022-09-20 13:18:41 -04:00
RednedEpic
896bf7c218
Fix bungeecord startup and move version checks to onLoad
2022-09-04 16:19:56 -05:00
ImDaBigBoss
f1da9d7072
Allow events to be registered by any class
...
Supersedes & closes #3073
Co-authored-by: Redned <redned235@gmail.com >
2022-09-04 16:11:08 -05:00
RednedEpic
e5337b6298
Reintroduce GeyserDefineCommandsEvent and cleanup a few things
2022-09-04 13:08:17 -05:00
Kas-tle
e35f3785b2
Resolve fallout
2022-08-24 04:53:13 +00:00
Kas-tle
9232310b4d
Upstream
2022-08-24 04:53:00 +00:00
Camotoy
67a65c45d3
Implement update notifications for Geyser
...
Geyser installations will now get notified when a new Bedrock release is out and Geyser must be updated. The system works similarly to ViaVersion where OPs get a notification of an update when they join. The permission node for players to see update notifications is `geyser.update` and the backing JSON that controls this can be found at https://github.com/GeyserMC/GeyserSite/blob/gh-pages/versions.json . There is also a config option to disable update checking.
This update also fixes modern Paper installations not being able to see colored text logged from Geyser in the console.
2022-08-21 21:22:15 -04:00
Konicai
aee43e68fa
Merge remote-tracking branch 'upstream/master' into feature/extensions
...
# Conflicts:
# ap/pom.xml
# api/base/pom.xml
# api/geyser/pom.xml
# api/pom.xml
# bootstrap/bungeecord/pom.xml
# bootstrap/bungeecord/src/main/java/org/geysermc/geyser/platform/bungeecord/GeyserBungeePlugin.java
# bootstrap/pom.xml
# bootstrap/spigot/pom.xml
# bootstrap/sponge/pom.xml
# bootstrap/standalone/pom.xml
# bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneBootstrap.java
# bootstrap/velocity/pom.xml
# common/pom.xml
# core/pom.xml
# core/src/main/java/org/geysermc/geyser/command/CommandManager.java
# core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/JavaLoginTranslator.java
# core/src/main/resources/languages
# pom.xml
2022-08-02 00:01:05 -04:00
Camotoy
51d9320500
Bungee: Check for potentially outdated proxies
2022-08-01 11:01:24 -04:00
Camotoy
83ba6b5ab5
Extensions have their own command
2022-07-10 20:58:48 -04:00
Camotoy
2af10ad8bd
Update for 1.19
2022-06-18 16:45:50 -04:00
Camotoy
37d6fd8abf
Add an option to disable compression for Geyser clients
2022-06-16 19:18:11 -04:00
ImDaBigBoss
4e2f74481b
Updated to 1.19
2022-06-08 14:09:14 +02:00
RednedEpic
f2e606c0f3
Rename HYBRID AuthType back to FLOODGATE
2022-04-24 11:42:17 -05:00
RednedEpic
9939a26a5b
Add RemoteServer API
2022-03-19 21:55:29 -05:00
RednedEpic
6321ecc166
Initial move to gradle
2022-02-27 16:38:55 -06:00
RednedEpic
30303d5f16
Implement support for adding Geyser subcommands
2022-01-16 15:09:53 -06:00
Tim203
3251d9010c
We're in 2022 now
2022-01-01 20:03:05 +01:00
Konicai
6cd8b3387c
Cleanup some ping passthrough stuff ( #2726 )
2021-12-22 23:05:56 -05:00
Camotoy
763743a845
Allow for implementations to provide a custom resource loader
...
This will allow Geyser-Fabric to work without resource loading issues. This commit also ensures try-with-resources is used anywhere a resource is accessed.
2021-12-03 11:01:06 -05:00