From ae700d52c87e3dbec32e5748c4a141ef7a17fe4a Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Mon, 9 Nov 2026 22:15:03 +0000 Subject: [PATCH 1/4] Updated Upstream (BungeeCord) Upstream has released updates that appear to apply and compile correctly BungeeCord Changes: 17d5d8cd #3886, #4046: Fix score component serialization for 1.21.5+ fc101fe7 Bump the maven group across 1 directory with 3 updates (#4045) 8bc44e29 Move weekly releases earlier to account for GitHub delays 8334c929 Add archive of historic build numbers 2cd8859f Don't also upload artifact for release builds 7721a5c6 Don't duplicate Maven build for internal PRs 3fe097fd Allow updates to gson and guava a10faa05 Bump GitHub workflows to ubuntu-26.04 e113fe02 Allow updates to maven-resolver-provider ef1d1c9c Update LibraryLoader URLClassLoader constructor 02b96fe6 Create release jars via GitHub Actions 55e1b0bb Remove deprecated method call in LibraryLoader 25fe2754 #4043: Set parent classloader for LibraryLoader 81157ea0 Bump the maven group with 2 updates (#4041) 75bb0301 Include all bootstrap files 17d3a254 Implement bootstrap system da0a6e8a Add try ... finally e5491d31 Bump the maven group across 1 directory with 4 updates (#4039) 55ac3718 #3962, #3981: Remove zlib in favour of Java 11+ ByteBuffer methods c2f28c75 Bump the maven group across 1 directory with 3 updates (#4037) 5ac14b3d Restore asm dependency convergence exclusion acc3dbd6 Use Maven SessionBuilderSupplier 6a540a1a Update to maven-resolver 2 5caaf4cd Update Scriptus to 0.5.1 for better Maven 3.10 support 5430e4a1 #4016: Improve cookie and login payload API df0dc41d Bump org.jline:jline in the maven group across 1 directory 199d3923 Bump org.slf4j:slf4j-api from 2.0.19 to 2.0.20 e632baad Bump org.jline:jline from 4.4.3 to 4.4.5 15e5a5fd Bump org.apache.maven.plugins:maven-install-plugin from 3.1.4 to 3.2.0 2c330ff8 Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.4 to 3.2.0 1277e14f Update dependabot.yml to group PRs c73f5ce7 #4033: Encode gamemode type as varint for 26.3+ 502ca712 #4025: Bump org.slf4j:slf4j-api from 2.0.18 to 2.0.19 bd052fbb #3990: Bump org.ow2.asm:asm-commons from 9.9.1 to 9.10.1 feaf9875 Minecraft 26.3 support Waterfall Changes: - POM Changes: adapt to the new bundler bootstrap; rename the hard-coded bungeecord-module- prefixes to waterfall-module- so modules are bundled and extracted correctly; drop the Java version check removed upstream - Better Decompression Sanity: rebase onto the JDK Inflater - Log4j2/TCA: drop the shade transformer and Multi-Release manifest entry, no longer needed now that libraries are not shaded - Drop "Fetch modules from the Waterfall API endpoint": upstream removed JenkinsModuleSource; modules now ship inside the jar - Drop "Use the protocol-exact game mode encoding in Login and Respawn": superseded by upstream #4033 - Drop "Temp: Enable release protocol": upstream enables 26.3 itself --- BungeeCord | 2 +- BungeeCord-Patches/0001-POM-Changes.patch | 177 +++++++++++++----- ...erences-from-BungeeCord-to-Waterfall.patch | 10 +- ...04-Add-Waterfall-configuration-files.patch | 8 +- BungeeCord-Patches/0005-Disable-Metrics.patch | 12 +- ...ules-from-the-Waterfall-API-endpoint.patch | 35 ---- ...tch => 0006-Fixup-ProtocolConstants.patch} | 8 +- ...07-Presize-the-HTTP-response-buffer.patch} | 4 +- ...access-a-ByteBuf-s-underlying-array.patch} | 4 +- ...h => 0009-Optimize-uuid-conversions.patch} | 8 +- ...-for-FML-with-IP-Forwarding-enabled.patch} | 6 +- ...0011-Better-unit-tests-for-Chat-API.patch} | 8 +- ...rvers-or-changing-addresses-on-relo.patch} | 4 +- ...AY.patch => 0013-Enable-TCP_NODELAY.patch} | 6 +- ...s.patch => 0014-Micro-optimizations.patch} | 6 +- ...nvalid-packet-ids-for-forge-servers.patch} | 4 +- ...-for-configurable-tab-complete-thro.patch} | 4 +- ...17-Improve-server-list-ping-logging.patch} | 8 +- ...erty-to-accept-invalid-ping-packets.patch} | 6 +- ...-worker-and-a-boss-event-loop-group.patch} | 16 +- ...=> 0020-Better-Decompression-Sanity.patch} | 18 +- ...dynamic-server-addition-removal-api.patch} | 8 +- ...022-Add-callEvent-shortcut-to-Event.patch} | 4 +- ...tch => 0023-Improve-ServerKickEvent.patch} | 8 +- ...ble-server-version-in-ping-response.patch} | 8 +- ...-timeout-variant-to-connect-methods.patch} | 4 +- ...ent.patch => 0026-Proxy-query-event.patch} | 4 +- ...hex-of-a-packet-on-a-decoding-error.patch} | 4 +- ...otion-race-condition-on-Forge-1.8.9.patch} | 4 +- ...onally-use-async-Netty-DNS-resolver.patch} | 6 +- ...0030-Improve-outdated-build-message.patch} | 4 +- ...ugin-message-packets-not-being-forw.patch} | 4 +- ...gging-and-TerminalConsoleAppender-f.patch} | 62 ++---- ...-Handle-plugin-prefixes-using-Log4J.patch} | 4 +- ...ow-plugins-to-use-SLF4J-for-logging.patch} | 4 +- ...ration-that-replicates-the-old-Bung.patch} | 4 +- ...0036-Add-console-command-completion.patch} | 6 +- ...to-the-player-s-LoginResult-on-Logi.patch} | 6 +- ...ally-log-InitialHandler-connections.patch} | 6 +- ...0039-Forge-is-a-first-class-citizen.patch} | 8 +- ....patch => 0040-Ignore-empty-packets.patch} | 4 +- ...t-use-a-bytebuf-for-packet-decoding.patch} | 4 +- ...-to-disable-entity-metadata-rewriti.patch} | 4 +- ...> 0043-Add-ProxyDefineCommandsEvent.patch} | 6 +- ...patch => 0044-Fix-upstream-javadocs.patch} | 4 +- ...045-Speed-up-some-common-exceptions.patch} | 6 +- ...t.patch => 0046-ConnectionInitEvent.patch} | 4 +- ... 0047-Add-exception-reporting-event.patch} | 10 +- ...48-Allow-to-disable-tablist-rewrite.patch} | 4 +- ...0049-Remove-version-from-brand-info.patch} | 4 +- ...n.patch => 0050-Add-auth-url-option.patch} | 6 +- ...o-generate-decoder-traces-for-debug.patch} | 4 +- ... => 0052-Additional-DoS-mitigations.patch} | 4 +- ...port-for-hex-color-codes-in-console.patch} | 4 +- ...onfigurable-plugin-messaging-limits.patch} | 8 +- ...5-ServerConnectRequest-sendFeedback.patch} | 4 +- ...ions-to-the-client-during-kicks-etc.patch} | 4 +- ...0057-Improve-login-state-transition.patch} | 6 +- ...version-to-packet-not-found-message.patch} | 4 +- ...-Expand-packet-decode-logging-usage.patch} | 4 +- ...utdated-clients-that-don-t-support-.patch} | 6 +- ...on-inside-netty-with-ChannelFactory.patch} | 8 +- ...rom-clients-registeirng-too-many-ch.patch} | 6 +- ...mands-from-breaking-the-chat-chain-.patch} | 4 +- ...l-message.patch => 0064-eol-message.patch} | 4 +- ...65-Default-the-native-cipher-to-off.patch} | 4 +- ...at-framed-packets-are-always-direct.patch} | 4 +- ...-into-a-direct-buffer-in-JavaCipher.patch} | 4 +- ...-exact-game-mode-encoding-in-Login-a.patch | 157 ---------------- .../0070-Temp-Enable-release-protocol.patch | 46 ----- 70 files changed, 333 insertions(+), 520 deletions(-) delete mode 100644 BungeeCord-Patches/0006-Fetch-modules-from-the-Waterfall-API-endpoint.patch rename BungeeCord-Patches/{0007-Fixup-ProtocolConstants.patch => 0006-Fixup-ProtocolConstants.patch} (83%) rename BungeeCord-Patches/{0008-Presize-the-HTTP-response-buffer.patch => 0007-Presize-the-HTTP-response-buffer.patch} (93%) rename BungeeCord-Patches/{0009-Don-t-access-a-ByteBuf-s-underlying-array.patch => 0008-Don-t-access-a-ByteBuf-s-underlying-array.patch} (95%) rename BungeeCord-Patches/{0010-Optimize-uuid-conversions.patch => 0009-Optimize-uuid-conversions.patch} (98%) rename BungeeCord-Patches/{0011-Add-support-for-FML-with-IP-Forwarding-enabled.patch => 0010-Add-support-for-FML-with-IP-Forwarding-enabled.patch} (98%) rename BungeeCord-Patches/{0012-Better-unit-tests-for-Chat-API.patch => 0011-Better-unit-tests-for-Chat-API.patch} (93%) rename BungeeCord-Patches/{0013-Allow-removing-servers-or-changing-addresses-on-relo.patch => 0012-Allow-removing-servers-or-changing-addresses-on-relo.patch} (98%) rename BungeeCord-Patches/{0014-Enable-TCP_NODELAY.patch => 0013-Enable-TCP_NODELAY.patch} (89%) rename BungeeCord-Patches/{0015-Micro-optimizations.patch => 0014-Micro-optimizations.patch} (93%) rename BungeeCord-Patches/{0016-Allow-invalid-packet-ids-for-forge-servers.patch => 0015-Allow-invalid-packet-ids-for-forge-servers.patch} (98%) rename BungeeCord-Patches/{0017-Add-basic-support-for-configurable-tab-complete-thro.patch => 0016-Add-basic-support-for-configurable-tab-complete-thro.patch} (98%) rename BungeeCord-Patches/{0018-Improve-server-list-ping-logging.patch => 0017-Improve-server-list-ping-logging.patch} (93%) rename BungeeCord-Patches/{0019-Add-a-property-to-accept-invalid-ping-packets.patch => 0018-Add-a-property-to-accept-invalid-ping-packets.patch} (92%) rename BungeeCord-Patches/{0020-Use-a-worker-and-a-boss-event-loop-group.patch => 0019-Use-a-worker-and-a-boss-event-loop-group.patch} (90%) rename BungeeCord-Patches/{0021-Better-Decompression-Sanity.patch => 0020-Better-Decompression-Sanity.patch} (85%) rename BungeeCord-Patches/{0022-Add-dynamic-server-addition-removal-api.patch => 0021-Add-dynamic-server-addition-removal-api.patch} (98%) rename BungeeCord-Patches/{0023-Add-callEvent-shortcut-to-Event.patch => 0022-Add-callEvent-shortcut-to-Event.patch} (93%) rename BungeeCord-Patches/{0024-Improve-ServerKickEvent.patch => 0023-Improve-ServerKickEvent.patch} (97%) rename BungeeCord-Patches/{0025-Configurable-server-version-in-ping-response.patch => 0024-Configurable-server-version-in-ping-response.patch} (94%) rename BungeeCord-Patches/{0026-Add-timeout-variant-to-connect-methods.patch => 0025-Add-timeout-variant-to-connect-methods.patch} (98%) rename BungeeCord-Patches/{0027-Proxy-query-event.patch => 0026-Proxy-query-event.patch} (99%) rename BungeeCord-Patches/{0028-Dump-the-raw-hex-of-a-packet-on-a-decoding-error.patch => 0027-Dump-the-raw-hex-of-a-packet-on-a-decoding-error.patch} (97%) rename BungeeCord-Patches/{0029-Fix-potion-race-condition-on-Forge-1.8.9.patch => 0028-Fix-potion-race-condition-on-Forge-1.8.9.patch} (99%) rename BungeeCord-Patches/{0030-Optionally-use-async-Netty-DNS-resolver.patch => 0029-Optionally-use-async-Netty-DNS-resolver.patch} (98%) rename BungeeCord-Patches/{0031-Improve-outdated-build-message.patch => 0030-Improve-outdated-build-message.patch} (95%) rename BungeeCord-Patches/{0032-Fix-some-forge-plugin-message-packets-not-being-forw.patch => 0031-Fix-some-forge-plugin-message-packets-not-being-forw.patch} (97%) rename BungeeCord-Patches/{0033-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch => 0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch} (92%) rename BungeeCord-Patches/{0034-Handle-plugin-prefixes-using-Log4J.patch => 0033-Handle-plugin-prefixes-using-Log4J.patch} (97%) rename BungeeCord-Patches/{0035-Allow-plugins-to-use-SLF4J-for-logging.patch => 0034-Allow-plugins-to-use-SLF4J-for-logging.patch} (96%) rename BungeeCord-Patches/{0036-Add-Log4j-configuration-that-replicates-the-old-Bung.patch => 0035-Add-Log4j-configuration-that-replicates-the-old-Bung.patch} (96%) rename BungeeCord-Patches/{0037-Add-console-command-completion.patch => 0036-Add-console-command-completion.patch} (97%) rename BungeeCord-Patches/{0038-Providing-access-to-the-player-s-LoginResult-on-Logi.patch => 0037-Providing-access-to-the-player-s-LoginResult-on-Logi.patch} (97%) rename BungeeCord-Patches/{0039-Optionally-log-InitialHandler-connections.patch => 0038-Optionally-log-InitialHandler-connections.patch} (97%) rename BungeeCord-Patches/{0040-Forge-is-a-first-class-citizen.patch => 0039-Forge-is-a-first-class-citizen.patch} (90%) rename BungeeCord-Patches/{0041-Ignore-empty-packets.patch => 0040-Ignore-empty-packets.patch} (96%) rename BungeeCord-Patches/{0042-Don-t-use-a-bytebuf-for-packet-decoding.patch => 0041-Don-t-use-a-bytebuf-for-packet-decoding.patch} (95%) rename BungeeCord-Patches/{0043-Provide-an-option-to-disable-entity-metadata-rewriti.patch => 0042-Provide-an-option-to-disable-entity-metadata-rewriti.patch} (99%) rename BungeeCord-Patches/{0044-Add-ProxyDefineCommandsEvent.patch => 0043-Add-ProxyDefineCommandsEvent.patch} (97%) rename BungeeCord-Patches/{0045-Fix-upstream-javadocs.patch => 0044-Fix-upstream-javadocs.patch} (97%) rename BungeeCord-Patches/{0046-Speed-up-some-common-exceptions.patch => 0045-Speed-up-some-common-exceptions.patch} (98%) rename BungeeCord-Patches/{0047-ConnectionInitEvent.patch => 0046-ConnectionInitEvent.patch} (98%) rename BungeeCord-Patches/{0048-Add-exception-reporting-event.patch => 0047-Add-exception-reporting-event.patch} (99%) rename BungeeCord-Patches/{0049-Allow-to-disable-tablist-rewrite.patch => 0048-Allow-to-disable-tablist-rewrite.patch} (97%) rename BungeeCord-Patches/{0050-Remove-version-from-brand-info.patch => 0049-Remove-version-from-brand-info.patch} (94%) rename BungeeCord-Patches/{0051-Add-auth-url-option.patch => 0050-Add-auth-url-option.patch} (93%) rename BungeeCord-Patches/{0052-Add-the-ability-to-generate-decoder-traces-for-debug.patch => 0051-Add-the-ability-to-generate-decoder-traces-for-debug.patch} (95%) rename BungeeCord-Patches/{0053-Additional-DoS-mitigations.patch => 0052-Additional-DoS-mitigations.patch} (99%) rename BungeeCord-Patches/{0054-Add-support-for-hex-color-codes-in-console.patch => 0053-Add-support-for-hex-color-codes-in-console.patch} (99%) rename BungeeCord-Patches/{0055-Configurable-plugin-messaging-limits.patch => 0054-Configurable-plugin-messaging-limits.patch} (96%) rename BungeeCord-Patches/{0056-ServerConnectRequest-sendFeedback.patch => 0055-ServerConnectRequest-sendFeedback.patch} (98%) rename BungeeCord-Patches/{0057-Don-t-send-exceptions-to-the-client-during-kicks-etc.patch => 0056-Don-t-send-exceptions-to-the-client-during-kicks-etc.patch} (94%) rename BungeeCord-Patches/{0058-Improve-login-state-transition.patch => 0057-Improve-login-state-transition.patch} (92%) rename BungeeCord-Patches/{0059-Add-protocol-version-to-packet-not-found-message.patch => 0058-Add-protocol-version-to-packet-not-found-message.patch} (94%) rename BungeeCord-Patches/{0060-Expand-packet-decode-logging-usage.patch => 0059-Expand-packet-decode-logging-usage.patch} (95%) rename BungeeCord-Patches/{0061-Add-message-for-outdated-clients-that-don-t-support-.patch => 0060-Add-message-for-outdated-clients-that-don-t-support-.patch} (95%) rename BungeeCord-Patches/{0062-Replace-reflection-inside-netty-with-ChannelFactory.patch => 0061-Replace-reflection-inside-netty-with-ChannelFactory.patch} (97%) rename BungeeCord-Patches/{0063-reduce-log-spam-from-clients-registeirng-too-many-ch.patch => 0062-reduce-log-spam-from-clients-registeirng-too-many-ch.patch} (91%) rename BungeeCord-Patches/{0064-Prevent-proxy-commands-from-breaking-the-chat-chain-.patch => 0063-Prevent-proxy-commands-from-breaking-the-chat-chain-.patch} (98%) rename BungeeCord-Patches/{0065-eol-message.patch => 0064-eol-message.patch} (93%) rename BungeeCord-Patches/{0066-Default-the-native-cipher-to-off.patch => 0065-Default-the-native-cipher-to-off.patch} (98%) rename BungeeCord-Patches/{0067-Test-that-framed-packets-are-always-direct.patch => 0066-Test-that-framed-packets-are-always-direct.patch} (98%) rename BungeeCord-Patches/{0068-Cipher-into-a-direct-buffer-in-JavaCipher.patch => 0067-Cipher-into-a-direct-buffer-in-JavaCipher.patch} (97%) delete mode 100644 BungeeCord-Patches/0069-Use-the-protocol-exact-game-mode-encoding-in-Login-a.patch delete mode 100644 BungeeCord-Patches/0070-Temp-Enable-release-protocol.patch diff --git a/BungeeCord b/BungeeCord index 1bb462ced..17d5d8cd5 160000 --- a/BungeeCord +++ b/BungeeCord @@ -1 +1 @@ -Subproject commit 1bb462ced4108eef80070dd8c723afcb73e4513a +Subproject commit 17d5d8cd5e6284d4b611bbeaa9f00f1bc2b41f20 diff --git a/BungeeCord-Patches/0001-POM-Changes.patch b/BungeeCord-Patches/0001-POM-Changes.patch index 6f1e5a892..7e620572b 100644 --- a/BungeeCord-Patches/0001-POM-Changes.patch +++ b/BungeeCord-Patches/0001-POM-Changes.patch @@ -1,4 +1,4 @@ -From eacbcc52c1b877ebb7de6d20b54d38de7c88d4e6 Mon Sep 17 00:00:00 2001 +From afea9368826cc8bfa157d5f31356f54bf62cac37 Mon Sep 17 00:00:00 2001 From: Tux Date: Thu, 19 May 2016 19:33:31 +0200 Subject: [PATCH] POM Changes @@ -7,7 +7,7 @@ Subject: [PATCH] POM Changes - Deploy to papermc mvn repo diff --git a/api/pom.xml b/api/pom.xml -index f6f279e8..4030c6c8 100644 +index 97172181..1e9c0a54 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -4,48 +4,48 @@ @@ -86,7 +86,7 @@ index f6f279e8..4030c6c8 100644 provided diff --git a/bootstrap/pom.xml b/bootstrap/pom.xml -index 6f37a4f4..fd082dcd 100644 +index a9e58eaa..ce60efda 100644 --- a/bootstrap/pom.xml +++ b/bootstrap/pom.xml @@ -4,19 +4,19 @@ @@ -109,13 +109,13 @@ index 6f37a4f4..fd082dcd 100644 jar - BungeeCord-Bootstrap -- Java 1.6 loader for BungeeCord +- Java loader for BungeeCord + Waterfall-Bootstrap -+ Java 1.6 loader for Waterfall ++ Java loader for Waterfall true -@@ -28,15 +28,15 @@ +@@ -26,50 +26,50 @@ @@ -126,38 +126,108 @@ index 6f37a4f4..fd082dcd 100644 ${project.version} compile - - - -- BungeeCord -+ Waterfall - - - org.apache.maven.plugins -@@ -45,7 +45,7 @@ - - - -- net.md_5.bungee.Bootstrap -+ net.md_5.bungee.Bootstrap - ${describe} - ${maven.build.timestamp} - ALL-UNNAMED + +- net.md-5 +- bungeecord-module-cmd-alert ++ io.github.waterfallmc ++ waterfall-module-cmd-alert + ${project.version} + compile + + +- net.md-5 +- bungeecord-module-cmd-find ++ io.github.waterfallmc ++ waterfall-module-cmd-find + ${project.version} + compile + + +- net.md-5 +- bungeecord-module-cmd-kick ++ io.github.waterfallmc ++ waterfall-module-cmd-kick + ${project.version} + compile + + +- net.md-5 +- bungeecord-module-cmd-list ++ io.github.waterfallmc ++ waterfall-module-cmd-list + ${project.version} + compile + + +- net.md-5 +- bungeecord-module-cmd-send ++ io.github.waterfallmc ++ waterfall-module-cmd-send + ${project.version} + compile + + +- net.md-5 +- bungeecord-module-cmd-server ++ io.github.waterfallmc ++ waterfall-module-cmd-server + ${project.version} + compile + + +- net.md-5 +- bungeecord-module-reconnect-yaml ++ io.github.waterfallmc ++ waterfall-module-reconnect-yaml + ${project.version} + compile + +@@ -124,7 +124,7 @@ + + ${project.basedir}/src/assembly/bootstrap.xml + +- BungeeCord ++ Waterfall + false + + +diff --git a/bootstrap/src/assembly/bootstrap.xml b/bootstrap/src/assembly/bootstrap.xml +index 4d97a146..e8a582ec 100644 +--- a/bootstrap/src/assembly/bootstrap.xml ++++ b/bootstrap/src/assembly/bootstrap.xml +@@ -35,7 +35,7 @@ + 0644 + 0775 + +- ${project.groupId}:bungeecord-module-* ++ ${project.groupId}:waterfall-module-* + + META-INF/libraries + false +@@ -46,7 +46,7 @@ + 0644 + 0775 + +- ${project.groupId}:bungeecord-module-* ++ ${project.groupId}:waterfall-module-* + + META-INF/modules + ${artifact.artifactId}.${artifact.extension} diff --git a/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java b/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java -index 6b36c7cc..cbb740c9 100644 +index becc4fa0..f43c5a89 100644 --- a/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java +++ b/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java -@@ -7,7 +7,7 @@ public class Bootstrap - { - if ( Float.parseFloat( System.getProperty( "java.class.version" ) ) < 61.0 ) +@@ -91,7 +91,7 @@ public class Bootstrap + for ( String line : resource2Lines( type + ".list" ) ) { -- System.err.println( "*** ERROR *** BungeeCord requires Java 17 or above to function! Please download and install it!" ); -+ System.err.println( "*** ERROR *** Waterfall requires Java 17 or above to function! Please download and install it!" ); - System.out.println( "You can check your Java version with the command: java -version" ); - return; - } + HashEntry hashEntry = HashEntry.fromString( line ); +- if ( hashEntry.file.startsWith( "bungeecord-module-" ) ) ++ if ( hashEntry.file.startsWith( "waterfall-module-" ) ) + { + continue; + } diff --git a/chat/pom.xml b/chat/pom.xml -index a4da8cad..5e6c2025 100644 +index e7c09d49..3d3be1c4 100644 --- a/chat/pom.xml +++ b/chat/pom.xml @@ -4,19 +4,19 @@ @@ -187,7 +257,7 @@ index a4da8cad..5e6c2025 100644 diff --git a/config/pom.xml b/config/pom.xml -index c8b25234..effe58d5 100644 +index 357d9f9b..5b2e859d 100644 --- a/config/pom.xml +++ b/config/pom.xml @@ -4,19 +4,19 @@ @@ -286,7 +356,7 @@ index 11ca800f..f15f7406 100644 + Generic java event dispatching API intended for use with Waterfall. diff --git a/log/pom.xml b/log/pom.xml -index 87e87634..2bd289ee 100644 +index 6822d1ab..042054c6 100644 --- a/log/pom.xml +++ b/log/pom.xml @@ -4,19 +4,19 @@ @@ -327,7 +397,7 @@ index 87e87634..2bd289ee 100644 compile diff --git a/maven-resolver/pom.xml b/maven-resolver/pom.xml -index 01ae76f5..c33746f1 100644 +index 8611cc83..fbcafd45 100644 --- a/maven-resolver/pom.xml +++ b/maven-resolver/pom.xml @@ -4,14 +4,14 @@ @@ -488,7 +558,7 @@ index d07a6baa..7aeabfef 100644 jar diff --git a/module/pom.xml b/module/pom.xml -index b36d2f08..279ef27a 100644 +index 9ae8c58e..5c0fda9a 100644 --- a/module/pom.xml +++ b/module/pom.xml @@ -4,19 +4,19 @@ @@ -621,7 +691,7 @@ index afb805d1..be74fd49 100644 BSD-3-Clause diff --git a/pom.xml b/pom.xml -index e489b6eb..a11d5b50 100644 +index 0b8d3679..80c4ea53 100644 --- a/pom.xml +++ b/pom.xml @@ -3,18 +3,24 @@ @@ -720,7 +790,7 @@ index e489b6eb..a11d5b50 100644 -@@ -194,6 +211,7 @@ +@@ -195,6 +212,7 @@ @@ -728,7 +798,7 @@ index e489b6eb..a11d5b50 100644 org.apache.maven.plugins maven-compiler-plugin -@@ -209,6 +227,14 @@ +@@ -210,6 +228,14 @@ @@ -743,7 +813,7 @@ index e489b6eb..a11d5b50 100644 org.apache.maven.plugins maven-checkstyle-plugin 3.6.0 -@@ -233,6 +259,7 @@ +@@ -234,6 +260,7 @@ @@ -751,7 +821,7 @@ index e489b6eb..a11d5b50 100644 org.apache.maven.plugins maven-enforcer-plugin -@@ -297,6 +324,15 @@ +@@ -314,6 +341,15 @@ @@ -768,7 +838,7 @@ index e489b6eb..a11d5b50 100644 org.projectlombok diff --git a/protocol/pom.xml b/protocol/pom.xml -index bf46a988..51c8e3a3 100644 +index 49f53f75..f8d3a4dc 100644 --- a/protocol/pom.xml +++ b/protocol/pom.xml @@ -4,19 +4,19 @@ @@ -817,7 +887,7 @@ index bf46a988..51c8e3a3 100644 compile diff --git a/proxy/pom.xml b/proxy/pom.xml -index b8cce095..0b910017 100644 +index 9fe6f3b8..300f9c4b 100644 --- a/proxy/pom.xml +++ b/proxy/pom.xml @@ -4,18 +4,18 @@ @@ -906,6 +976,19 @@ index b8cce095..0b910017 100644 ${project.version} runtime +diff --git a/proxy/src/main/java/net/md_5/bungee/module/BootstrapModuleSource.java b/proxy/src/main/java/net/md_5/bungee/module/BootstrapModuleSource.java +index 7c739aec..ee437a64 100644 +--- a/proxy/src/main/java/net/md_5/bungee/module/BootstrapModuleSource.java ++++ b/proxy/src/main/java/net/md_5/bungee/module/BootstrapModuleSource.java +@@ -18,7 +18,7 @@ public class BootstrapModuleSource implements ModuleSource + { + ProxyServer.getInstance().getLogger().info( "Attempting to extract module " + module.getName() ); + +- String modulePath = "META-INF/modules/bungeecord-module-" + module.getName().replace( '_', '-' ) + ".jar"; ++ String modulePath = "META-INF/modules/waterfall-module-" + module.getName().replace( '_', '-' ) + ".jar"; + boolean success = tryGet( getClass().getClassLoader(), modulePath, module.getFile() ); + + if ( !success ) diff --git a/query/pom.xml b/query/pom.xml index 5e592889..7f2bc955 100644 --- a/query/pom.xml @@ -948,7 +1031,7 @@ index 5e592889..7f2bc955 100644 compile diff --git a/serializer/pom.xml b/serializer/pom.xml -index d515972c..58048e8c 100644 +index d36941a1..d15938de 100644 --- a/serializer/pom.xml +++ b/serializer/pom.xml @@ -4,19 +4,19 @@ @@ -994,7 +1077,7 @@ index d515972c..58048e8c 100644 compile diff --git a/slf4j/pom.xml b/slf4j/pom.xml -index 73aa291e..30efeb47 100644 +index be5e35da..2d284b33 100644 --- a/slf4j/pom.xml +++ b/slf4j/pom.xml @@ -4,19 +4,19 @@ @@ -1024,5 +1107,5 @@ index 73aa291e..30efeb47 100644 true -- -2.54.0 +2.56.0 diff --git a/BungeeCord-Patches/0003-Rename-references-from-BungeeCord-to-Waterfall.patch b/BungeeCord-Patches/0003-Rename-references-from-BungeeCord-to-Waterfall.patch index d1618b906..1e31e0929 100644 --- a/BungeeCord-Patches/0003-Rename-references-from-BungeeCord-to-Waterfall.patch +++ b/BungeeCord-Patches/0003-Rename-references-from-BungeeCord-to-Waterfall.patch @@ -1,4 +1,4 @@ -From 31f1ac7f4d65c9edf1175a596055f51564a1895b Mon Sep 17 00:00:00 2001 +From b378cdeb89efff826000a604ebd5056b970045bd Mon Sep 17 00:00:00 2001 From: Tux Date: Thu, 19 May 2016 11:28:45 -0700 Subject: [PATCH] Rename references from BungeeCord to Waterfall @@ -18,10 +18,10 @@ index f1ccd4f6..d703d6d2 100644 } diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index 23f22da8..3a1f7174 100644 +index efcf21f4..3e0c59c0 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -@@ -184,7 +184,7 @@ public class BungeeCord extends ProxyServer +@@ -183,7 +183,7 @@ public class BungeeCord extends ProxyServer public BungeeCord() throws IOException { // Java uses ! to indicate a resource inside of a jar/zip/other container. Running Bungee from within a directory that has a ! will cause this to muck up. @@ -30,7 +30,7 @@ index 23f22da8..3a1f7174 100644 reloadMessages(); -@@ -538,7 +538,7 @@ public class BungeeCord extends ProxyServer +@@ -530,7 +530,7 @@ public class BungeeCord extends ProxyServer @Override public String getName() { @@ -101,5 +101,5 @@ index 65d782f7..39809d60 100644 SocketAddress address = Util.getAddr( addr ); ServerInfo info = ProxyServer.getInstance().constructServerInfo( name, address, motd, restricted ); -- -2.53.0 +2.56.0 diff --git a/BungeeCord-Patches/0004-Add-Waterfall-configuration-files.patch b/BungeeCord-Patches/0004-Add-Waterfall-configuration-files.patch index 847dab1c1..bd61049f1 100644 --- a/BungeeCord-Patches/0004-Add-Waterfall-configuration-files.patch +++ b/BungeeCord-Patches/0004-Add-Waterfall-configuration-files.patch @@ -1,4 +1,4 @@ -From c72f11c8d03c340a363d220a73f1032f26829f05 Mon Sep 17 00:00:00 2001 +From 6c13e50a208b65ddd0f902eede1b03733cabb5ef Mon Sep 17 00:00:00 2001 From: Techcable Date: Tue, 25 Oct 2016 11:58:37 -0400 Subject: [PATCH] Add Waterfall configuration files @@ -42,7 +42,7 @@ index 00000000..741ebfde + +} diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index 3a1f7174..8df78ace 100644 +index 3e0c59c0..28530da8 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java @@ -6,6 +6,7 @@ import com.google.common.collect.Iterables; @@ -53,7 +53,7 @@ index 3a1f7174..8df78ace 100644 import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelException; -@@ -104,7 +105,7 @@ public class BungeeCord extends ProxyServer +@@ -103,7 +104,7 @@ public class BungeeCord extends ProxyServer * Configuration. */ @Getter @@ -118,5 +118,5 @@ index 39809d60..f8df7d10 100644 if ( permissions == null ) { -- -2.51.0 +2.56.0 diff --git a/BungeeCord-Patches/0005-Disable-Metrics.patch b/BungeeCord-Patches/0005-Disable-Metrics.patch index 7b736c5c2..8ea26a7ac 100644 --- a/BungeeCord-Patches/0005-Disable-Metrics.patch +++ b/BungeeCord-Patches/0005-Disable-Metrics.patch @@ -1,4 +1,4 @@ -From 7a53966356ff5cb7da793f40db4c26f72a009b33 Mon Sep 17 00:00:00 2001 +From e73ba734b133cb85c0ccca8a5b4d332ec7edb2b5 Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Thu, 19 May 2016 10:55:20 -0700 Subject: [PATCH] Disable Metrics @@ -6,10 +6,10 @@ Subject: [PATCH] Disable Metrics MCStats has not been stable for a long while now, and in our opinion it is not worth migrating to an alternative service. Waterfall has been maintained for the past two years without any or much consideration to statistics, we have users and that's enough for us ;) diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index 8df78ace..52f2044f 100644 +index 28530da8..b7f02193 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -@@ -115,7 +115,7 @@ public class BungeeCord extends ProxyServer +@@ -114,7 +114,7 @@ public class BungeeCord extends ProxyServer * locations.yml save thread. */ private final Timer saveThread = new Timer( "Reconnect Saver" ); @@ -18,7 +18,7 @@ index 8df78ace..52f2044f 100644 /** * Server socket listener. */ -@@ -320,7 +320,7 @@ public class BungeeCord extends ProxyServer +@@ -312,7 +312,7 @@ public class BungeeCord extends ProxyServer } } }, 0, TimeUnit.MINUTES.toMillis( 5 ) ); @@ -27,7 +27,7 @@ index 8df78ace..52f2044f 100644 Runtime.getRuntime().addShutdownHook( new Thread() { -@@ -476,7 +476,7 @@ public class BungeeCord extends ProxyServer +@@ -468,7 +468,7 @@ public class BungeeCord extends ProxyServer reconnectHandler.close(); } saveThread.cancel(); @@ -177,5 +177,5 @@ index eabf7573..00000000 - } -} -- -2.51.0 +2.56.0 diff --git a/BungeeCord-Patches/0006-Fetch-modules-from-the-Waterfall-API-endpoint.patch b/BungeeCord-Patches/0006-Fetch-modules-from-the-Waterfall-API-endpoint.patch deleted file mode 100644 index 8676d124c..000000000 --- a/BungeeCord-Patches/0006-Fetch-modules-from-the-Waterfall-API-endpoint.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b08cc79a70f3d9e3c13d88d489ca86a9c3ddf52a Mon Sep 17 00:00:00 2001 -From: Tux -Date: Thu, 19 May 2016 11:34:52 -0700 -Subject: [PATCH] Fetch modules from the Waterfall API endpoint - -Don't fetch from the BungeeCord CI, as that only has their modules - -diff --git a/proxy/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java b/proxy/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java -index 8f5f34ae..6a6661a5 100644 ---- a/proxy/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java -+++ b/proxy/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java -@@ -19,11 +19,19 @@ public class JenkinsModuleSource implements ModuleSource - ProxyServer.getInstance().getLogger().info( "Attempting to Jenkins download module " + module.getName() + " v" + version.getBuild() ); - try - { -- URL website = new URL( "https://hub.spigotmc.org/jenkins/job/BungeeCord/" + version.getBuild() + "/artifact/module/" + module.getName().replace( '_', '-' ) + "/target/" + module.getName() + ".jar" ); -+ final String url = String.format( -+ "https://api.papermc.io/v2/projects/%1$s/versions/%2$s/builds/%3$s/downloads/%4$s-%2$s-%3$s.jar", -+ "waterfall", -+ net.md_5.bungee.api.ProxyServer.getInstance().getVersion().split(":")[2].split("-")[0], -+ version.getBuild(), -+ module.getName() -+ ); -+ URL website = new URL( url ); - URLConnection con = website.openConnection(); - // 15 second timeout at various stages - con.setConnectTimeout( 15000 ); - con.setReadTimeout( 15000 ); -+ con.setRequestProperty( "User-Agent", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36" ); - - Files.write( ByteStreams.toByteArray( con.getInputStream() ), module.getFile() ); - ProxyServer.getInstance().getLogger().info( "Download complete" ); --- -2.53.0 - diff --git a/BungeeCord-Patches/0007-Fixup-ProtocolConstants.patch b/BungeeCord-Patches/0006-Fixup-ProtocolConstants.patch similarity index 83% rename from BungeeCord-Patches/0007-Fixup-ProtocolConstants.patch rename to BungeeCord-Patches/0006-Fixup-ProtocolConstants.patch index ff4249da9..007ca333c 100644 --- a/BungeeCord-Patches/0007-Fixup-ProtocolConstants.patch +++ b/BungeeCord-Patches/0006-Fixup-ProtocolConstants.patch @@ -1,14 +1,14 @@ -From fec46963b09680a9126b887bb9e6c80e777707a6 Mon Sep 17 00:00:00 2001 +From 2ea21ea36395c47620c28172dfe808be9320c2cc Mon Sep 17 00:00:00 2001 From: Troy Frew Date: Tue, 15 Nov 2016 09:07:51 -0500 Subject: [PATCH] Fixup ProtocolConstants diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java -index 3194fc44..0b6d8f72 100644 +index fea66e70..bb9f3dea 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java -@@ -141,6 +141,16 @@ public class ProtocolConstants +@@ -142,6 +142,16 @@ public class ProtocolConstants SUPPORTED_VERSION_IDS = supportedVersionIds.build(); } @@ -26,5 +26,5 @@ index 3194fc44..0b6d8f72 100644 { -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0008-Presize-the-HTTP-response-buffer.patch b/BungeeCord-Patches/0007-Presize-the-HTTP-response-buffer.patch similarity index 93% rename from BungeeCord-Patches/0008-Presize-the-HTTP-response-buffer.patch rename to BungeeCord-Patches/0007-Presize-the-HTTP-response-buffer.patch index 2e7bb7946..0d12a9196 100644 --- a/BungeeCord-Patches/0008-Presize-the-HTTP-response-buffer.patch +++ b/BungeeCord-Patches/0007-Presize-the-HTTP-response-buffer.patch @@ -1,4 +1,4 @@ -From 4632030b32001c18b65c883cab0de4f3688ed5c1 Mon Sep 17 00:00:00 2001 +From 33cfa413b23d52b5da3ea12a2b62b46286734139 Mon Sep 17 00:00:00 2001 From: Tux Date: Wed, 13 Apr 2016 15:17:05 -0400 Subject: [PATCH] Presize the HTTP response buffer @@ -19,5 +19,5 @@ index a1e59b47..e2911d5e 100644 @Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0009-Don-t-access-a-ByteBuf-s-underlying-array.patch b/BungeeCord-Patches/0008-Don-t-access-a-ByteBuf-s-underlying-array.patch similarity index 95% rename from BungeeCord-Patches/0009-Don-t-access-a-ByteBuf-s-underlying-array.patch rename to BungeeCord-Patches/0008-Don-t-access-a-ByteBuf-s-underlying-array.patch index cdd621ae6..fd1fefa29 100644 --- a/BungeeCord-Patches/0009-Don-t-access-a-ByteBuf-s-underlying-array.patch +++ b/BungeeCord-Patches/0008-Don-t-access-a-ByteBuf-s-underlying-array.patch @@ -1,4 +1,4 @@ -From ea37eb9b6eecb5fdb574cbbb591994bac60fd7ef Mon Sep 17 00:00:00 2001 +From f6ff69cf249cdb220d221e5df0367a35b110dee7 Mon Sep 17 00:00:00 2001 From: Techcable Date: Tue, 3 May 2016 20:31:52 -0700 Subject: [PATCH] Don't access a ByteBuf's underlying array @@ -45,5 +45,5 @@ index 1a7d8512..ad1704dd 100644 * Allow this packet to be sent as an "extended" packet. */ -- -2.53.0 +2.56.0 diff --git a/BungeeCord-Patches/0010-Optimize-uuid-conversions.patch b/BungeeCord-Patches/0009-Optimize-uuid-conversions.patch similarity index 98% rename from BungeeCord-Patches/0010-Optimize-uuid-conversions.patch rename to BungeeCord-Patches/0009-Optimize-uuid-conversions.patch index 7c07fa4a3..6a347617c 100644 --- a/BungeeCord-Patches/0010-Optimize-uuid-conversions.patch +++ b/BungeeCord-Patches/0009-Optimize-uuid-conversions.patch @@ -1,4 +1,4 @@ -From eca738499990e62d7e1270f7a36369ba6a9e8833 Mon Sep 17 00:00:00 2001 +From e68f5bb5d3b9453e0bf0584e55a45caa7d723056 Mon Sep 17 00:00:00 2001 From: Techcable Date: Mon, 14 Mar 2016 15:40:44 -0700 Subject: [PATCH] Optimize uuid conversions @@ -250,10 +250,10 @@ index e582808f..29cd91dd 100644 } diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index fa1f2bef..cba35899 100644 +index 21da09a9..d6aaca85 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -@@ -800,7 +800,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection +@@ -782,7 +782,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection @Override public String getUUID() { @@ -263,5 +263,5 @@ index fa1f2bef..cba35899 100644 @Override -- -2.49.0 +2.56.0 diff --git a/BungeeCord-Patches/0011-Add-support-for-FML-with-IP-Forwarding-enabled.patch b/BungeeCord-Patches/0010-Add-support-for-FML-with-IP-Forwarding-enabled.patch similarity index 98% rename from BungeeCord-Patches/0011-Add-support-for-FML-with-IP-Forwarding-enabled.patch rename to BungeeCord-Patches/0010-Add-support-for-FML-with-IP-Forwarding-enabled.patch index 27e31afc9..d969fd2e9 100644 --- a/BungeeCord-Patches/0011-Add-support-for-FML-with-IP-Forwarding-enabled.patch +++ b/BungeeCord-Patches/0010-Add-support-for-FML-with-IP-Forwarding-enabled.patch @@ -1,4 +1,4 @@ -From 81eff67cf017d594021106ca5e4ab01ee1924f50 Mon Sep 17 00:00:00 2001 +From 511e4b72da1b47e740d5a678e84f5a80fec8b354 Mon Sep 17 00:00:00 2001 From: Daniel Naylor Date: Tue, 25 Oct 2016 12:23:07 -0400 Subject: [PATCH] Add support for FML with IP Forwarding enabled @@ -12,7 +12,7 @@ However, there is now at least one Forge coremod that intends to support IP forw No breaking changes occur due to this patch. diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java -index f620dcc8..8b667cc3 100644 +index 6f3bc6b1..f03b6034 100644 --- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java +++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java @@ -7,6 +7,7 @@ import io.netty.buffer.ByteBufAllocator; @@ -103,5 +103,5 @@ index 6dca2048..f5253b89 100644 * The FML 1.8 handshake token. */ -- -2.54.0 +2.56.0 diff --git a/BungeeCord-Patches/0012-Better-unit-tests-for-Chat-API.patch b/BungeeCord-Patches/0011-Better-unit-tests-for-Chat-API.patch similarity index 93% rename from BungeeCord-Patches/0012-Better-unit-tests-for-Chat-API.patch rename to BungeeCord-Patches/0011-Better-unit-tests-for-Chat-API.patch index 87a57ee1a..0415a0827 100644 --- a/BungeeCord-Patches/0012-Better-unit-tests-for-Chat-API.patch +++ b/BungeeCord-Patches/0011-Better-unit-tests-for-Chat-API.patch @@ -1,14 +1,14 @@ -From fc6a472580c514329081fb642ae5136bb7b95fe0 Mon Sep 17 00:00:00 2001 +From c1b9762ccb1d66d27af153a2d8ab5fb6cea81808 Mon Sep 17 00:00:00 2001 From: Tux Date: Thu, 19 May 2016 17:36:31 -0600 Subject: [PATCH] Better unit tests for Chat API diff --git a/serializer/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java b/serializer/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java -index 8f95ae49..b7acaf57 100644 +index 13e85684..15fe39b2 100644 --- a/serializer/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java +++ b/serializer/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java -@@ -689,6 +689,26 @@ public class ComponentsTest +@@ -703,6 +703,26 @@ public class ComponentsTest assertEquals( testClickEvent, extraGetter.apply( eventRetention, 1 ).getClickEvent() ); } @@ -52,5 +52,5 @@ index 995c70f2..dd9f040d 100644 + } } -- -2.51.0 +2.56.0 diff --git a/BungeeCord-Patches/0013-Allow-removing-servers-or-changing-addresses-on-relo.patch b/BungeeCord-Patches/0012-Allow-removing-servers-or-changing-addresses-on-relo.patch similarity index 98% rename from BungeeCord-Patches/0013-Allow-removing-servers-or-changing-addresses-on-relo.patch rename to BungeeCord-Patches/0012-Allow-removing-servers-or-changing-addresses-on-relo.patch index b2d72b80b..3b529b868 100644 --- a/BungeeCord-Patches/0013-Allow-removing-servers-or-changing-addresses-on-relo.patch +++ b/BungeeCord-Patches/0012-Allow-removing-servers-or-changing-addresses-on-relo.patch @@ -1,4 +1,4 @@ -From f2e02c04b60dd16166b32fc25895c01de51434a1 Mon Sep 17 00:00:00 2001 +From d251de6799576f49d81d791f2fc9ebadfed6cb03 Mon Sep 17 00:00:00 2001 From: Techcable Date: Thu, 28 Jan 2016 15:13:29 -0700 Subject: [PATCH] Allow removing servers or changing addresses on reload @@ -79,5 +79,5 @@ index 4e974d17..eb651a14 100644 for ( ListenerInfo listener : listeners ) -- -2.49.0 +2.56.0 diff --git a/BungeeCord-Patches/0014-Enable-TCP_NODELAY.patch b/BungeeCord-Patches/0013-Enable-TCP_NODELAY.patch similarity index 89% rename from BungeeCord-Patches/0014-Enable-TCP_NODELAY.patch rename to BungeeCord-Patches/0013-Enable-TCP_NODELAY.patch index e368d41a6..c7bd8deaa 100644 --- a/BungeeCord-Patches/0014-Enable-TCP_NODELAY.patch +++ b/BungeeCord-Patches/0013-Enable-TCP_NODELAY.patch @@ -1,4 +1,4 @@ -From bf99da1f7082f84c54c8b09b85063b91beb49475 Mon Sep 17 00:00:00 2001 +From b430812151b9ad46f91b65c4d1c336046e2a8835 Mon Sep 17 00:00:00 2001 From: Harry Date: Sun, 24 Jan 2016 15:13:29 -0700 Subject: [PATCH] Enable TCP_NODELAY. @@ -6,7 +6,7 @@ Subject: [PATCH] Enable TCP_NODELAY. This is enabled by default on CraftBukkit/Spigot >= 1.8 and may help with network performance. diff --git a/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java b/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java -index cfbab43a..9caf3b80 100644 +index 0a916c04..516a1350 100644 --- a/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java +++ b/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java @@ -218,6 +218,7 @@ public class PipelineUtils @@ -18,5 +18,5 @@ index cfbab43a..9caf3b80 100644 ch.pipeline().addLast( FRAME_DECODER, new Varint21FrameDecoder() ); -- -2.49.0 +2.56.0 diff --git a/BungeeCord-Patches/0015-Micro-optimizations.patch b/BungeeCord-Patches/0014-Micro-optimizations.patch similarity index 93% rename from BungeeCord-Patches/0015-Micro-optimizations.patch rename to BungeeCord-Patches/0014-Micro-optimizations.patch index fe23bee7f..63987e58d 100644 --- a/BungeeCord-Patches/0015-Micro-optimizations.patch +++ b/BungeeCord-Patches/0014-Micro-optimizations.patch @@ -1,4 +1,4 @@ -From faa130e899a75c2f37b070436d1ecd98b28b26f9 Mon Sep 17 00:00:00 2001 +From 59be60f9f18207155d5a648d93416f207a186e87 Mon Sep 17 00:00:00 2001 From: Tux Date: Tue, 19 Jan 2016 15:13:29 -0700 Subject: [PATCH] Micro-optimizations @@ -8,7 +8,7 @@ Subject: [PATCH] Micro-optimizations - Don't create a data input stream for every plugin message we get from servers diff --git a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java -index e66b39ea..e0edbb7b 100644 +index 8a5789c1..2807c9e7 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java @@ -322,7 +322,6 @@ public class DownstreamBridge extends PacketHandler @@ -28,5 +28,5 @@ index e66b39ea..e0edbb7b 100644 String subChannel = in.readUTF(); -- -2.53.0 +2.56.0 diff --git a/BungeeCord-Patches/0016-Allow-invalid-packet-ids-for-forge-servers.patch b/BungeeCord-Patches/0015-Allow-invalid-packet-ids-for-forge-servers.patch similarity index 98% rename from BungeeCord-Patches/0016-Allow-invalid-packet-ids-for-forge-servers.patch rename to BungeeCord-Patches/0015-Allow-invalid-packet-ids-for-forge-servers.patch index fcfd4ea44..4b3a0d998 100644 --- a/BungeeCord-Patches/0016-Allow-invalid-packet-ids-for-forge-servers.patch +++ b/BungeeCord-Patches/0015-Allow-invalid-packet-ids-for-forge-servers.patch @@ -1,4 +1,4 @@ -From b78b0f672910844e093bf2990a232f28ad7312dc Mon Sep 17 00:00:00 2001 +From d6ed96b387b232c19617713b9879679d85347566 Mon Sep 17 00:00:00 2001 From: Techcable Date: Thu, 19 May 2016 17:09:22 -0600 Subject: [PATCH] Allow invalid packet ids for forge servers @@ -106,5 +106,5 @@ index 77b27c6f..26c1e1be 100644 { rewriteInt( packet, oldId, newId, readerIndex + packetIdLength ); -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0017-Add-basic-support-for-configurable-tab-complete-thro.patch b/BungeeCord-Patches/0016-Add-basic-support-for-configurable-tab-complete-thro.patch similarity index 98% rename from BungeeCord-Patches/0017-Add-basic-support-for-configurable-tab-complete-thro.patch rename to BungeeCord-Patches/0016-Add-basic-support-for-configurable-tab-complete-thro.patch index 79f2b5dd3..142dcdc3a 100644 --- a/BungeeCord-Patches/0017-Add-basic-support-for-configurable-tab-complete-thro.patch +++ b/BungeeCord-Patches/0016-Add-basic-support-for-configurable-tab-complete-thro.patch @@ -1,4 +1,4 @@ -From 3c07de0dc3367bda2bf2411f9d2e41d8b884f45a Mon Sep 17 00:00:00 2001 +From 44afd7fd398cbe69fab15e24f057dddc44ace574 Mon Sep 17 00:00:00 2001 From: Johannes Donath Date: Sat, 4 Jul 2015 06:31:33 +0200 Subject: [PATCH] Add basic support for configurable tab-complete throttling @@ -107,5 +107,5 @@ index 9ba1af5e..34f5ea0f 100644 boolean isRegisteredCommand = false; boolean isCommand = tabComplete.getCursor().startsWith( "/" ); -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0018-Improve-server-list-ping-logging.patch b/BungeeCord-Patches/0017-Improve-server-list-ping-logging.patch similarity index 93% rename from BungeeCord-Patches/0018-Improve-server-list-ping-logging.patch rename to BungeeCord-Patches/0017-Improve-server-list-ping-logging.patch index 07dbe5ed4..aab2afa58 100644 --- a/BungeeCord-Patches/0018-Improve-server-list-ping-logging.patch +++ b/BungeeCord-Patches/0017-Improve-server-list-ping-logging.patch @@ -1,4 +1,4 @@ -From c96240cc4643fb2c083b6b76071a3546a5578159 Mon Sep 17 00:00:00 2001 +From c8a884d419b682020137f1c8f9ffb494aff5897f Mon Sep 17 00:00:00 2001 From: Janmm14 Date: Sat, 12 Dec 2015 23:43:30 +0100 Subject: [PATCH] Improve server list ping logging @@ -19,10 +19,10 @@ index f8f7d7db..e80a0278 100644 } } diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index 0823b12d..9bae4c09 100644 +index d6aaca85..672d76e2 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -@@ -806,20 +806,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection +@@ -788,20 +788,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection @Override public String toString() { @@ -57,5 +57,5 @@ index 34f5ea0f..1dae5d2f 100644 } } -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0019-Add-a-property-to-accept-invalid-ping-packets.patch b/BungeeCord-Patches/0018-Add-a-property-to-accept-invalid-ping-packets.patch similarity index 92% rename from BungeeCord-Patches/0019-Add-a-property-to-accept-invalid-ping-packets.patch rename to BungeeCord-Patches/0018-Add-a-property-to-accept-invalid-ping-packets.patch index c7f3e7a9e..e2906a922 100644 --- a/BungeeCord-Patches/0019-Add-a-property-to-accept-invalid-ping-packets.patch +++ b/BungeeCord-Patches/0018-Add-a-property-to-accept-invalid-ping-packets.patch @@ -1,4 +1,4 @@ -From 82b72a54c7f3076c5f208780d9630a589cda5ab4 Mon Sep 17 00:00:00 2001 +From 404daaad7aae236ce1b1518440fa04cb85042fe4 Mon Sep 17 00:00:00 2001 From: Techcable Date: Sun, 7 Feb 2016 00:01:19 -0700 Subject: [PATCH] Add a property to accept invalid ping packets @@ -9,7 +9,7 @@ You can enable it by setting '-Dwaterfall.acceptInvalidPackets=true' at the comm Fixes #23 diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index 70850b4f..217030d2 100644 +index 672d76e2..04c1838b 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -327,10 +327,14 @@ public class InitialHandler extends PacketHandler implements PendingConnection @@ -29,5 +29,5 @@ index 70850b4f..217030d2 100644 disconnect( "" ); if ( bungee.getConnectionThrottle() != null ) -- -2.49.0 +2.56.0 diff --git a/BungeeCord-Patches/0020-Use-a-worker-and-a-boss-event-loop-group.patch b/BungeeCord-Patches/0019-Use-a-worker-and-a-boss-event-loop-group.patch similarity index 90% rename from BungeeCord-Patches/0020-Use-a-worker-and-a-boss-event-loop-group.patch rename to BungeeCord-Patches/0019-Use-a-worker-and-a-boss-event-loop-group.patch index f540dc44f..9d785328f 100644 --- a/BungeeCord-Patches/0020-Use-a-worker-and-a-boss-event-loop-group.patch +++ b/BungeeCord-Patches/0019-Use-a-worker-and-a-boss-event-loop-group.patch @@ -1,4 +1,4 @@ -From 9d6f2e0ee7d169c1d8ea01ba2c93a35dea3cbd67 Mon Sep 17 00:00:00 2001 +From b051d0f0d6f8c0229cd84347dc46b9f8257d5f77 Mon Sep 17 00:00:00 2001 From: kamcio96 Date: Mon, 14 Mar 2016 16:07:20 -0700 Subject: [PATCH] Use a worker and a boss event loop group. @@ -8,10 +8,10 @@ Merges the rest of https://github.com/SpigotMC/BungeeCord/pull/1706 by @kamcio96 This is proper practice for netty. diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index 52f2044f..193b4ccd 100644 +index b7f02193..6966f75a 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -@@ -110,7 +110,7 @@ public class BungeeCord extends ProxyServer +@@ -109,7 +109,7 @@ public class BungeeCord extends ProxyServer * Localization formats. */ private Map messageFormats; @@ -20,7 +20,7 @@ index 52f2044f..193b4ccd 100644 /** * locations.yml save thread. */ -@@ -278,7 +278,8 @@ public class BungeeCord extends ProxyServer +@@ -270,7 +270,8 @@ public class BungeeCord extends ProxyServer System.setProperty( "io.netty.allocator.type", "pooled" ); } @@ -30,7 +30,7 @@ index 52f2044f..193b4ccd 100644 File moduleDirectory = new File( "modules" ); moduleManager.load( this, moduleDirectory ); -@@ -367,7 +368,7 @@ public class BungeeCord extends ProxyServer +@@ -359,7 +360,7 @@ public class BungeeCord extends ProxyServer .option( ChannelOption.SO_REUSEADDR, true ) // TODO: Move this elsewhere! .childAttr( PipelineUtils.LISTENER, info ) .childHandler( unsafe().getFrontendChannelInitializer().getChannelInitializer() ) @@ -39,7 +39,7 @@ index 52f2044f..193b4ccd 100644 .localAddress( info.getSocketAddress() ) .bind().addListener( listener ); -@@ -390,7 +391,7 @@ public class BungeeCord extends ProxyServer +@@ -382,7 +383,7 @@ public class BungeeCord extends ProxyServer } } }; @@ -48,7 +48,7 @@ index 52f2044f..193b4ccd 100644 } } } -@@ -497,12 +498,14 @@ public class BungeeCord extends ProxyServer +@@ -489,12 +490,14 @@ public class BungeeCord extends ProxyServer } getLogger().info( "Closing IO threads" ); @@ -83,5 +83,5 @@ index 7700f1d6..0d24f1eb 100644 .option( ChannelOption.CONNECT_TIMEOUT_MILLIS, BungeeCord.getInstance().getConfig().getRemotePingTimeout() ) .remoteAddress( socketAddress ) -- -2.51.0 +2.56.0 diff --git a/BungeeCord-Patches/0021-Better-Decompression-Sanity.patch b/BungeeCord-Patches/0020-Better-Decompression-Sanity.patch similarity index 85% rename from BungeeCord-Patches/0021-Better-Decompression-Sanity.patch rename to BungeeCord-Patches/0020-Better-Decompression-Sanity.patch index cc26405f9..a3b9bbea8 100644 --- a/BungeeCord-Patches/0021-Better-Decompression-Sanity.patch +++ b/BungeeCord-Patches/0020-Better-Decompression-Sanity.patch @@ -1,4 +1,4 @@ -From a21386c17e1f6b7aecad0239aed5e774cd36f160 Mon Sep 17 00:00:00 2001 +From dd059c00b224fd8ee9e8a9fb3eebf1bdf79765dd Mon Sep 17 00:00:00 2001 From: Techcable Date: Fri, 18 Mar 2016 10:53:24 -0700 Subject: [PATCH] Better Decompression Sanity @@ -6,7 +6,7 @@ Subject: [PATCH] Better Decompression Sanity Fixes #40 diff --git a/proxy/src/main/java/net/md_5/bungee/compress/PacketDecompressor.java b/proxy/src/main/java/net/md_5/bungee/compress/PacketDecompressor.java -index 1612ffcf..7fa07031 100644 +index f1840698..cef709e2 100644 --- a/proxy/src/main/java/net/md_5/bungee/compress/PacketDecompressor.java +++ b/proxy/src/main/java/net/md_5/bungee/compress/PacketDecompressor.java @@ -1,5 +1,7 @@ @@ -17,7 +17,7 @@ index 1612ffcf..7fa07031 100644 import com.google.common.base.Preconditions; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; -@@ -9,10 +11,12 @@ import net.md_5.bungee.jni.zlib.BungeeZlib; +@@ -11,10 +13,12 @@ import java.util.zip.Inflater; import net.md_5.bungee.protocol.DefinedPacket; import net.md_5.bungee.protocol.OverflowPacketException; @@ -27,10 +27,10 @@ index 1612ffcf..7fa07031 100644 private static final int MAX_DECOMPRESSED_LEN = 1 << 23; + private final int compressionThreshold; - private final BungeeZlib zlib = CompressFactory.zlib.newInstance(); + private final Inflater zlib = new Inflater(); @Override -@@ -40,14 +44,15 @@ public class PacketDecompressor extends MessageToMessageDecoder +@@ -89,14 +93,15 @@ public class PacketDecompressor extends MessageToMessageDecoder { throw new OverflowPacketException( "Packet may not be larger than " + MAX_DECOMPRESSED_LEN + " bytes" ); } @@ -42,14 +42,14 @@ index 1612ffcf..7fa07031 100644 ByteBuf decompressed = ctx.alloc().directBuffer( size, MAX_DECOMPRESSED_LEN ); try { - zlib.process( in, decompressed ); + process( in, decompressed ); - Preconditions.checkState( decompressed.readableBytes() == size, "Decompressed packet size mismatch" ); -+ Preconditions.checkArgument( decompressed.readableBytes() == size, "Decompressed size %s is not equal to actual decompressed bytes", size, decompressed.readableBytes()); ++ Preconditions.checkArgument( decompressed.readableBytes() == size, "Decompressed size %s is not equal to actual decompressed bytes %s", size, decompressed.readableBytes() ); out.add( decompressed ); decompressed = null; diff --git a/proxy/src/main/java/net/md_5/bungee/netty/ChannelWrapper.java b/proxy/src/main/java/net/md_5/bungee/netty/ChannelWrapper.java -index cdad6d9e..f19e0cd8 100644 +index 94ec569b..7abe0a29 100644 --- a/proxy/src/main/java/net/md_5/bungee/netty/ChannelWrapper.java +++ b/proxy/src/main/java/net/md_5/bungee/netty/ChannelWrapper.java @@ -196,7 +196,7 @@ public class ChannelWrapper @@ -62,5 +62,5 @@ index cdad6d9e..f19e0cd8 100644 } else { -- -2.49.0 +2.56.0 diff --git a/BungeeCord-Patches/0022-Add-dynamic-server-addition-removal-api.patch b/BungeeCord-Patches/0021-Add-dynamic-server-addition-removal-api.patch similarity index 98% rename from BungeeCord-Patches/0022-Add-dynamic-server-addition-removal-api.patch rename to BungeeCord-Patches/0021-Add-dynamic-server-addition-removal-api.patch index 1ca1f8519..f387e5dc8 100644 --- a/BungeeCord-Patches/0022-Add-dynamic-server-addition-removal-api.patch +++ b/BungeeCord-Patches/0021-Add-dynamic-server-addition-removal-api.patch @@ -1,4 +1,4 @@ -From 2146186f8b4d6865c739bfb00b7ad090074f8fd7 Mon Sep 17 00:00:00 2001 +From 251b72bf2d8db1f259e307052d3e7c4f154a1d84 Mon Sep 17 00:00:00 2001 From: Troy Frew Date: Wed, 29 Jun 2016 04:29:25 +0200 Subject: [PATCH] Add dynamic server addition/removal api. @@ -170,10 +170,10 @@ index f479a888..7d114541 100644 .map( ServerInfo::getName ) .iterator(); diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index 193b4ccd..6384b739 100644 +index 6966f75a..a337d799 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -@@ -646,10 +646,18 @@ public class BungeeCord extends ProxyServer +@@ -638,10 +638,18 @@ public class BungeeCord extends ProxyServer return config.getServers(); } @@ -311,5 +311,5 @@ index eb651a14..7a4da21f 100644 + // Waterfall end } -- -2.51.0 +2.56.0 diff --git a/BungeeCord-Patches/0023-Add-callEvent-shortcut-to-Event.patch b/BungeeCord-Patches/0022-Add-callEvent-shortcut-to-Event.patch similarity index 93% rename from BungeeCord-Patches/0023-Add-callEvent-shortcut-to-Event.patch rename to BungeeCord-Patches/0022-Add-callEvent-shortcut-to-Event.patch index 31ff1be4d..0d5d7d674 100644 --- a/BungeeCord-Patches/0023-Add-callEvent-shortcut-to-Event.patch +++ b/BungeeCord-Patches/0022-Add-callEvent-shortcut-to-Event.patch @@ -1,4 +1,4 @@ -From 8808208cba06c28cb25e93de6752e7a0fea63094 Mon Sep 17 00:00:00 2001 +From f5a1f76693e7bb4498d00b9196afb227794d3163 Mon Sep 17 00:00:00 2001 From: Mark Vainomaa Date: Sun, 14 Apr 2019 19:15:00 +0300 Subject: [PATCH] Add callEvent() shortcut to Event @@ -28,5 +28,5 @@ index e2e01ecb..25ec1bd8 100644 + // Waterfall end } -- -2.44.0 +2.56.0 diff --git a/BungeeCord-Patches/0024-Improve-ServerKickEvent.patch b/BungeeCord-Patches/0023-Improve-ServerKickEvent.patch similarity index 97% rename from BungeeCord-Patches/0024-Improve-ServerKickEvent.patch rename to BungeeCord-Patches/0023-Improve-ServerKickEvent.patch index 752c302d0..b11c6501b 100644 --- a/BungeeCord-Patches/0024-Improve-ServerKickEvent.patch +++ b/BungeeCord-Patches/0023-Improve-ServerKickEvent.patch @@ -1,4 +1,4 @@ -From c48c32e9ec1544da7778a083eb8aaf2de0870310 Mon Sep 17 00:00:00 2001 +From b355ec1b867d8d12a17d542e6b5fca1498964b1b Mon Sep 17 00:00:00 2001 From: Nathan Poirier Date: Tue, 28 Jun 2016 23:00:49 -0500 Subject: [PATCH] Improve ServerKickEvent @@ -68,7 +68,7 @@ index 3f9efaa8..5d2597ad 100644 /** * @return the kick reason diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java -index 2a92388f..0c4f067c 100644 +index e80a0278..9dbcd605 100644 --- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java +++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java @@ -461,7 +461,7 @@ public class ServerConnector extends PacketHandler @@ -81,7 +81,7 @@ index 2a92388f..0c4f067c 100644 { // Pre cancel the event if we are going to try another server diff --git a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java -index e0edbb7b..99c6b422 100644 +index 2807c9e7..06db0f79 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java @@ -660,10 +660,14 @@ public class DownstreamBridge extends PacketHandler @@ -101,5 +101,5 @@ index e0edbb7b..99c6b422 100644 { con.connectNow( event.getCancelServer(), ServerConnectEvent.Reason.KICK_REDIRECT ); -- -2.53.0 +2.56.0 diff --git a/BungeeCord-Patches/0025-Configurable-server-version-in-ping-response.patch b/BungeeCord-Patches/0024-Configurable-server-version-in-ping-response.patch similarity index 94% rename from BungeeCord-Patches/0025-Configurable-server-version-in-ping-response.patch rename to BungeeCord-Patches/0024-Configurable-server-version-in-ping-response.patch index 4468cc98f..ed2fd43af 100644 --- a/BungeeCord-Patches/0025-Configurable-server-version-in-ping-response.patch +++ b/BungeeCord-Patches/0024-Configurable-server-version-in-ping-response.patch @@ -1,4 +1,4 @@ -From 49bac706af12b3152b880c199a772ccfcd40aadc Mon Sep 17 00:00:00 2001 +From 0108fc26aad98a519868845367fc5c217ca269f8 Mon Sep 17 00:00:00 2001 From: Troy Frew Date: Wed, 29 Jun 2016 13:56:57 -0500 Subject: [PATCH] Configurable server version in ping response @@ -64,10 +64,10 @@ index 91743f01..0211e581 100644 public int getTabThrottle() { return tabThrottle; diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index 6384b739..2a20964e 100644 +index a337d799..aaa01e77 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -@@ -700,7 +700,7 @@ public class BungeeCord extends ProxyServer +@@ -692,7 +692,7 @@ public class BungeeCord extends ProxyServer @Override public String getGameVersion() { @@ -77,5 +77,5 @@ index 6384b739..2a20964e 100644 @Override -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0026-Add-timeout-variant-to-connect-methods.patch b/BungeeCord-Patches/0025-Add-timeout-variant-to-connect-methods.patch similarity index 98% rename from BungeeCord-Patches/0026-Add-timeout-variant-to-connect-methods.patch rename to BungeeCord-Patches/0025-Add-timeout-variant-to-connect-methods.patch index 6ebbc265d..9b0bca0cc 100644 --- a/BungeeCord-Patches/0026-Add-timeout-variant-to-connect-methods.patch +++ b/BungeeCord-Patches/0025-Add-timeout-variant-to-connect-methods.patch @@ -1,4 +1,4 @@ -From 76ece6b7fbe801ee4aa064d5b9289e7f4b71a802 Mon Sep 17 00:00:00 2001 +From 2101e412f9f8fd3ab2f957585e8e643341c8e893 Mon Sep 17 00:00:00 2001 From: Ichbinjoe Date: Sat, 16 Jul 2016 20:44:01 -0400 Subject: [PATCH] Add timeout variant to connect methods @@ -109,5 +109,5 @@ index 02576aad..02e3f6a6 100644 { disconnect( bungee.getTranslation( "fallback_kick", connectionFailMessage( future.cause() ) ) ); -- -2.54.0 +2.56.0 diff --git a/BungeeCord-Patches/0027-Proxy-query-event.patch b/BungeeCord-Patches/0026-Proxy-query-event.patch similarity index 99% rename from BungeeCord-Patches/0027-Proxy-query-event.patch rename to BungeeCord-Patches/0026-Proxy-query-event.patch index 841dcb87d..74cd2d68f 100644 --- a/BungeeCord-Patches/0027-Proxy-query-event.patch +++ b/BungeeCord-Patches/0026-Proxy-query-event.patch @@ -1,4 +1,4 @@ -From 2fd518610d983a1b9a721c77588cbbedf059a507 Mon Sep 17 00:00:00 2001 +From 8c840f723fd50dd80d2d548f2831440b2baff305 Mon Sep 17 00:00:00 2001 From: minecrafter Date: Sun, 3 Jul 2016 04:03:21 -0400 Subject: [PATCH] Proxy query event @@ -211,5 +211,5 @@ index 9b81197f..ac99d02c 100644 } else { -- -2.44.0 +2.56.0 diff --git a/BungeeCord-Patches/0028-Dump-the-raw-hex-of-a-packet-on-a-decoding-error.patch b/BungeeCord-Patches/0027-Dump-the-raw-hex-of-a-packet-on-a-decoding-error.patch similarity index 97% rename from BungeeCord-Patches/0028-Dump-the-raw-hex-of-a-packet-on-a-decoding-error.patch rename to BungeeCord-Patches/0027-Dump-the-raw-hex-of-a-packet-on-a-decoding-error.patch index 10f5bbc02..aaff62dd9 100644 --- a/BungeeCord-Patches/0028-Dump-the-raw-hex-of-a-packet-on-a-decoding-error.patch +++ b/BungeeCord-Patches/0027-Dump-the-raw-hex-of-a-packet-on-a-decoding-error.patch @@ -1,4 +1,4 @@ -From df2c8db33eaf3ba2bb5ba04fcf249f52b0152069 Mon Sep 17 00:00:00 2001 +From 5562aff912da7ab5edfa0195ac4c1255f82980c8 Mon Sep 17 00:00:00 2001 From: Techcable Date: Thu, 4 Aug 2016 19:30:49 -0700 Subject: [PATCH] Dump the raw hex of a packet on a decoding error @@ -53,5 +53,5 @@ index 0dd0fe31..f126c333 100644 { if ( slice != null ) -- -2.49.0 +2.56.0 diff --git a/BungeeCord-Patches/0029-Fix-potion-race-condition-on-Forge-1.8.9.patch b/BungeeCord-Patches/0028-Fix-potion-race-condition-on-Forge-1.8.9.patch similarity index 99% rename from BungeeCord-Patches/0029-Fix-potion-race-condition-on-Forge-1.8.9.patch rename to BungeeCord-Patches/0028-Fix-potion-race-condition-on-Forge-1.8.9.patch index d99a22e33..9c9269361 100644 --- a/BungeeCord-Patches/0029-Fix-potion-race-condition-on-Forge-1.8.9.patch +++ b/BungeeCord-Patches/0028-Fix-potion-race-condition-on-Forge-1.8.9.patch @@ -1,4 +1,4 @@ -From 8ce6462f76fd74c5ea3a6423ba00287b6f33dd42 Mon Sep 17 00:00:00 2001 +From a5302ce12a0daa68edec8f5a57a4388ae427bf59 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Thu, 15 Sep 2016 22:38:37 +0200 Subject: [PATCH] Fix potion race condition on Forge 1.8.9 @@ -217,5 +217,5 @@ index d15044f4..087cb4b0 100644 /** * Sends the server mod list to the client, or stores it for sending later. -- -2.54.0 +2.56.0 diff --git a/BungeeCord-Patches/0030-Optionally-use-async-Netty-DNS-resolver.patch b/BungeeCord-Patches/0029-Optionally-use-async-Netty-DNS-resolver.patch similarity index 98% rename from BungeeCord-Patches/0030-Optionally-use-async-Netty-DNS-resolver.patch rename to BungeeCord-Patches/0029-Optionally-use-async-Netty-DNS-resolver.patch index c109b17f8..a2ebcd657 100644 --- a/BungeeCord-Patches/0030-Optionally-use-async-Netty-DNS-resolver.patch +++ b/BungeeCord-Patches/0029-Optionally-use-async-Netty-DNS-resolver.patch @@ -1,4 +1,4 @@ -From 180d9eac23488723249d8a36fd0e149879fea7a0 Mon Sep 17 00:00:00 2001 +From b1d266f16bfe14e8ba7800eabd8c10a1505286f5 Mon Sep 17 00:00:00 2001 From: Tux Date: Wed, 21 Dec 2016 03:13:03 -0500 Subject: [PATCH] Optionally use async Netty DNS resolver @@ -24,7 +24,7 @@ index 749059ab..6141128b 100644 /** diff --git a/proxy/pom.xml b/proxy/pom.xml -index 87c8da58..9b30a1b2 100644 +index 999a21fa..043d5709 100644 --- a/proxy/pom.xml +++ b/proxy/pom.xml @@ -35,6 +35,18 @@ @@ -175,5 +175,5 @@ index 0bfcc94e..9756589e 100644 + // Waterfall End } -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0031-Improve-outdated-build-message.patch b/BungeeCord-Patches/0030-Improve-outdated-build-message.patch similarity index 95% rename from BungeeCord-Patches/0031-Improve-outdated-build-message.patch rename to BungeeCord-Patches/0030-Improve-outdated-build-message.patch index 9051896f9..7698693d9 100644 --- a/BungeeCord-Patches/0031-Improve-outdated-build-message.patch +++ b/BungeeCord-Patches/0030-Improve-outdated-build-message.patch @@ -1,4 +1,4 @@ -From 2dddeaebb43d79c31370421e3dcd54d007437bce Mon Sep 17 00:00:00 2001 +From 50def93d06c7776b3a1274ba1bec7754064c8f30 Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Sat, 10 Jun 2017 20:56:02 +0100 Subject: [PATCH] Improve outdated build message @@ -26,5 +26,5 @@ index 6615ad36..ea2e8825 100644 } -- -2.53.0 +2.56.0 diff --git a/BungeeCord-Patches/0032-Fix-some-forge-plugin-message-packets-not-being-forw.patch b/BungeeCord-Patches/0031-Fix-some-forge-plugin-message-packets-not-being-forw.patch similarity index 97% rename from BungeeCord-Patches/0032-Fix-some-forge-plugin-message-packets-not-being-forw.patch rename to BungeeCord-Patches/0031-Fix-some-forge-plugin-message-packets-not-being-forw.patch index 6ea5a9252..95abf8888 100644 --- a/BungeeCord-Patches/0032-Fix-some-forge-plugin-message-packets-not-being-forw.patch +++ b/BungeeCord-Patches/0031-Fix-some-forge-plugin-message-packets-not-being-forw.patch @@ -1,4 +1,4 @@ -From 41dec9006eb4326433c948bfbdb271e353d066b2 Mon Sep 17 00:00:00 2001 +From 6a1e55a05e01a391c10bb8f6e53e559c80043aef Mon Sep 17 00:00:00 2001 From: Daniel Naylor Date: Mon, 17 Jul 2017 20:24:17 +0100 Subject: [PATCH] Fix some forge plugin message packets not being forwarded @@ -55,5 +55,5 @@ index 77d18e6d..d254b84e 100644 synchronized ( packetQueue ) { -- -2.44.0 +2.56.0 diff --git a/BungeeCord-Patches/0033-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch b/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch similarity index 92% rename from BungeeCord-Patches/0033-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch rename to BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch index d1ad361b5..ae640b990 100644 --- a/BungeeCord-Patches/0033-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch +++ b/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch @@ -1,41 +1,10 @@ -From 4d668a1dc893549b611ff9010408cc2be6493c5b Mon Sep 17 00:00:00 2001 +From cd8e0f82e168624042bb56212a1bab4c9513afef Mon Sep 17 00:00:00 2001 From: Minecrell Date: Fri, 22 Sep 2017 12:46:47 +0200 Subject: [PATCH] Use Log4j2 for logging and TerminalConsoleAppender for console -diff --git a/bootstrap/pom.xml b/bootstrap/pom.xml -index 31077ba7..d037f343 100644 ---- a/bootstrap/pom.xml -+++ b/bootstrap/pom.xml -@@ -49,6 +49,8 @@ - ${describe} - ${maven.build.timestamp} - ALL-UNNAMED -+ -+ true - - - -@@ -76,7 +78,17 @@ - - - -+ -+ -+ - -+ -+ -+ com.github.edwgiz -+ maven-shade-plugin.log4j2-cachefile-transformer -+ 2.15 -+ -+ - - - diff --git a/log4j/pom.xml b/log4j/pom.xml new file mode 100644 index 00000000..eb42c916 @@ -231,7 +200,7 @@ index 00000000..cfd039cd + + diff --git a/pom.xml b/pom.xml -index 0fc41cfa..6de62421 100644 +index 80c4ea53..e69ba4a6 100644 --- a/pom.xml +++ b/pom.xml @@ -58,14 +58,15 @@ @@ -252,15 +221,15 @@ index 0fc41cfa..6de62421 100644 native nbt -@@ -96,6 +97,7 @@ - 1.18.48 +@@ -97,6 +98,7 @@ + yyyyMMdd 17 UTF-8 + 2.25.3 -@@ -223,6 +225,13 @@ +@@ -224,6 +226,13 @@ lombok ${lombok.version} @@ -274,7 +243,7 @@ index 0fc41cfa..6de62421 100644 -@@ -288,6 +297,11 @@ +@@ -293,6 +302,11 @@ org.jline.terminal.impl.ffm.* @@ -287,7 +256,7 @@ index 0fc41cfa..6de62421 100644 diff --git a/proxy/pom.xml b/proxy/pom.xml -index 9b30a1b2..81e42070 100644 +index 043d5709..947b5598 100644 --- a/proxy/pom.xml +++ b/proxy/pom.xml @@ -45,6 +45,7 @@ @@ -411,16 +380,15 @@ index 00000000..765d24bc + +} diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index 2a20964e..f6d08858 100644 +index aaa01e77..6e6fffe1 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -@@ -66,16 +66,12 @@ import net.md_5.bungee.command.CommandEnd; +@@ -66,15 +66,11 @@ import net.md_5.bungee.command.CommandEnd; import net.md_5.bungee.command.CommandIP; import net.md_5.bungee.command.CommandPerms; import net.md_5.bungee.command.CommandReload; -import net.md_5.bungee.command.ConsoleCommandCompleter; import net.md_5.bungee.command.ConsoleCommandSender; - import net.md_5.bungee.compress.CompressFactory; import net.md_5.bungee.conf.Configuration; import net.md_5.bungee.conf.YamlConfig; import net.md_5.bungee.forge.ForgeConstants; @@ -431,7 +399,7 @@ index 2a20964e..f6d08858 100644 import net.md_5.bungee.module.ModuleManager; import net.md_5.bungee.netty.PipelineUtils; import net.md_5.bungee.protocol.DefinedPacket; -@@ -85,11 +81,6 @@ import net.md_5.bungee.protocol.packet.PluginMessage; +@@ -84,11 +80,6 @@ import net.md_5.bungee.protocol.packet.PluginMessage; import net.md_5.bungee.query.RemoteQuery; import net.md_5.bungee.scheduler.BungeeScheduler; import net.md_5.bungee.util.CaseInsensitiveMap; @@ -443,7 +411,7 @@ index 2a20964e..f6d08858 100644 /** * Main BungeeCord proxy class. -@@ -149,8 +140,12 @@ public class BungeeCord extends ProxyServer +@@ -148,8 +139,12 @@ public class BungeeCord extends ProxyServer private final File pluginsFolder = new File( "plugins" ); @Getter private final BungeeScheduler scheduler = new BungeeScheduler(); @@ -456,7 +424,7 @@ index 2a20964e..f6d08858 100644 @Getter private final Logger logger; @Getter -@@ -199,6 +194,8 @@ public class BungeeCord extends ProxyServer +@@ -198,6 +193,8 @@ public class BungeeCord extends ProxyServer // BungeeCord. This version is only used when extracting the libraries to their temp folder. System.setProperty( "library.jansi.version", "BungeeCord" ); @@ -465,7 +433,7 @@ index 2a20964e..f6d08858 100644 Terminal terminal = TerminalBuilder.builder().build(); consoleReader = LineReaderBuilder.builder().terminal( terminal ) .option( LineReader.Option.DISABLE_EVENT_EXPANSION, true ) -@@ -224,6 +221,9 @@ public class BungeeCord extends ProxyServer +@@ -223,6 +220,9 @@ public class BungeeCord extends ProxyServer // since it applies a nice looking format and also writes to the logfile. System.setErr( new PrintStream( new LoggingOutputStream( logger, Level.SEVERE ), true ) ); System.setOut( new PrintStream( new LoggingOutputStream( logger, Level.INFO ), true ) ); @@ -475,7 +443,7 @@ index 2a20964e..f6d08858 100644 pluginManager = new PluginManager( this ); getPluginManager().registerCommand( null, new CommandReload() ); -@@ -510,10 +510,7 @@ public class BungeeCord extends ProxyServer +@@ -502,10 +502,7 @@ public class BungeeCord extends ProxyServer getLogger().info( "Thank you and goodbye" ); // Need to close loggers after last message! @@ -682,5 +650,5 @@ index 6788fbe7..00000000 - } -} -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0034-Handle-plugin-prefixes-using-Log4J.patch b/BungeeCord-Patches/0033-Handle-plugin-prefixes-using-Log4J.patch similarity index 97% rename from BungeeCord-Patches/0034-Handle-plugin-prefixes-using-Log4J.patch rename to BungeeCord-Patches/0033-Handle-plugin-prefixes-using-Log4J.patch index 151a7ace1..bd5b1c52a 100644 --- a/BungeeCord-Patches/0034-Handle-plugin-prefixes-using-Log4J.patch +++ b/BungeeCord-Patches/0033-Handle-plugin-prefixes-using-Log4J.patch @@ -1,4 +1,4 @@ -From 1200184ca9e73eeb8f0e29ce3f5d51788a86d7e1 Mon Sep 17 00:00:00 2001 +From d7c757c87100f2bcb6e415106e3a64b644f31ed9 Mon Sep 17 00:00:00 2001 From: Minecrell Date: Fri, 22 Sep 2017 13:07:31 +0200 Subject: [PATCH] Handle plugin prefixes using Log4J @@ -45,5 +45,5 @@ index cfd039cd..8e49e002 100644 -- -2.51.0 +2.56.0 diff --git a/BungeeCord-Patches/0035-Allow-plugins-to-use-SLF4J-for-logging.patch b/BungeeCord-Patches/0034-Allow-plugins-to-use-SLF4J-for-logging.patch similarity index 96% rename from BungeeCord-Patches/0035-Allow-plugins-to-use-SLF4J-for-logging.patch rename to BungeeCord-Patches/0034-Allow-plugins-to-use-SLF4J-for-logging.patch index eb359b910..c5a838e8a 100644 --- a/BungeeCord-Patches/0035-Allow-plugins-to-use-SLF4J-for-logging.patch +++ b/BungeeCord-Patches/0034-Allow-plugins-to-use-SLF4J-for-logging.patch @@ -1,4 +1,4 @@ -From fe4c03bd7e15cf2f6af289e30488b0972758f3cf Mon Sep 17 00:00:00 2001 +From dd1a5dd5c4bededc29315fde1d0387b4ab4ec1d4 Mon Sep 17 00:00:00 2001 From: Minecrell Date: Fri, 22 Sep 2017 13:15:09 +0200 Subject: [PATCH] Allow plugins to use SLF4J for logging @@ -52,5 +52,5 @@ index eb42c916..c4692781 100644 com.lmax disruptor -- -2.53.0 +2.56.0 diff --git a/BungeeCord-Patches/0036-Add-Log4j-configuration-that-replicates-the-old-Bung.patch b/BungeeCord-Patches/0035-Add-Log4j-configuration-that-replicates-the-old-Bung.patch similarity index 96% rename from BungeeCord-Patches/0036-Add-Log4j-configuration-that-replicates-the-old-Bung.patch rename to BungeeCord-Patches/0035-Add-Log4j-configuration-that-replicates-the-old-Bung.patch index 23eb93622..f8d570365 100644 --- a/BungeeCord-Patches/0036-Add-Log4j-configuration-that-replicates-the-old-Bung.patch +++ b/BungeeCord-Patches/0035-Add-Log4j-configuration-that-replicates-the-old-Bung.patch @@ -1,4 +1,4 @@ -From f7d596841b8aff48baf598155d80ec2da93a7f3f Mon Sep 17 00:00:00 2001 +From 24714204d38d7ed7ebc732c11d0bd4f37dadef06 Mon Sep 17 00:00:00 2001 From: Minecrell Date: Sun, 24 Sep 2017 12:06:49 +0200 Subject: [PATCH] Add Log4j configuration that replicates the old BungeeCord @@ -47,5 +47,5 @@ index 00000000..6e9c09c5 + + -- -2.44.0 +2.56.0 diff --git a/BungeeCord-Patches/0037-Add-console-command-completion.patch b/BungeeCord-Patches/0036-Add-console-command-completion.patch similarity index 97% rename from BungeeCord-Patches/0037-Add-console-command-completion.patch rename to BungeeCord-Patches/0036-Add-console-command-completion.patch index 53bba4843..775fcb7e7 100644 --- a/BungeeCord-Patches/0037-Add-console-command-completion.patch +++ b/BungeeCord-Patches/0036-Add-console-command-completion.patch @@ -1,4 +1,4 @@ -From 813241fccae5c25c1e801609f8707dc6dc59a853 Mon Sep 17 00:00:00 2001 +From 29c91199e1d5525825a7d27d847ad6318635233d Mon Sep 17 00:00:00 2001 From: Minecrell Date: Tue, 26 Sep 2017 18:59:37 +0200 Subject: [PATCH] Add console command completion @@ -7,7 +7,7 @@ Register command completer for JLine to complete command names and command arguments (if supported). diff --git a/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java b/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java -index 5eb7728e..b0da6460 100644 +index 2aaa1a52..64dd59cf 100644 --- a/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java +++ b/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java @@ -239,6 +239,41 @@ public final class PluginManager @@ -102,5 +102,5 @@ index 765d24bc..6cec0b5a 100644 } -- -2.51.0 +2.56.0 diff --git a/BungeeCord-Patches/0038-Providing-access-to-the-player-s-LoginResult-on-Logi.patch b/BungeeCord-Patches/0037-Providing-access-to-the-player-s-LoginResult-on-Logi.patch similarity index 97% rename from BungeeCord-Patches/0038-Providing-access-to-the-player-s-LoginResult-on-Logi.patch rename to BungeeCord-Patches/0037-Providing-access-to-the-player-s-LoginResult-on-Logi.patch index 94bc463db..6cbda4269 100644 --- a/BungeeCord-Patches/0038-Providing-access-to-the-player-s-LoginResult-on-Logi.patch +++ b/BungeeCord-Patches/0037-Providing-access-to-the-player-s-LoginResult-on-Logi.patch @@ -1,4 +1,4 @@ -From f6367ada85637b2ec98d3f795f7969417db864a9 Mon Sep 17 00:00:00 2001 +From 6e01f8f26950c0846c47def19cc9a15ac4a090a2 Mon Sep 17 00:00:00 2001 From: phenomax Date: Thu, 10 Aug 2017 18:41:17 +0200 Subject: [PATCH] Providing access to the player's LoginResult on LoginEvent @@ -51,7 +51,7 @@ similarity index 100% rename from proxy/src/main/java/net/md_5/bungee/connection/LoginResult.java rename to api/src/main/java/net/md_5/bungee/connection/LoginResult.java diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index 217030d2..40d2e6c8 100644 +index 04c1838b..068f99f8 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -48,6 +48,7 @@ import net.md_5.bungee.api.event.PostLoginEvent; @@ -72,5 +72,5 @@ index 217030d2..40d2e6c8 100644 private void finish2() -- -2.49.0 +2.56.0 diff --git a/BungeeCord-Patches/0039-Optionally-log-InitialHandler-connections.patch b/BungeeCord-Patches/0038-Optionally-log-InitialHandler-connections.patch similarity index 97% rename from BungeeCord-Patches/0039-Optionally-log-InitialHandler-connections.patch rename to BungeeCord-Patches/0038-Optionally-log-InitialHandler-connections.patch index caa22b1c6..94aab9d48 100644 --- a/BungeeCord-Patches/0039-Optionally-log-InitialHandler-connections.patch +++ b/BungeeCord-Patches/0038-Optionally-log-InitialHandler-connections.patch @@ -1,4 +1,4 @@ -From ef8ec8a53bc603797db6067aae3f4671c0ac87de Mon Sep 17 00:00:00 2001 +From 97af211030c7737c717d8050c35ea1d8c4016aa6 Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Thu, 8 Feb 2018 19:10:52 +0100 Subject: [PATCH] Optionally log InitialHandler connections @@ -61,7 +61,7 @@ index b049f1b1..944119ba 100644 public String getGameVersion() { return gameVersion; diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index e650fa34..57c0fa20 100644 +index 068f99f8..da66b69a 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -395,7 +395,10 @@ public class InitialHandler extends PacketHandler implements PendingConnection @@ -77,5 +77,5 @@ index e650fa34..57c0fa20 100644 ch.setProtocol( Protocol.LOGIN ); -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0040-Forge-is-a-first-class-citizen.patch b/BungeeCord-Patches/0039-Forge-is-a-first-class-citizen.patch similarity index 90% rename from BungeeCord-Patches/0040-Forge-is-a-first-class-citizen.patch rename to BungeeCord-Patches/0039-Forge-is-a-first-class-citizen.patch index 0951e1b7d..2ee91a4f1 100644 --- a/BungeeCord-Patches/0040-Forge-is-a-first-class-citizen.patch +++ b/BungeeCord-Patches/0039-Forge-is-a-first-class-citizen.patch @@ -1,14 +1,14 @@ -From d1aec41beb1a3d260bfa516c92214e84d2a0eac0 Mon Sep 17 00:00:00 2001 +From c1ca9643ff5a71809174a1d51a3dd52e6771176f Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Mon, 28 May 2018 21:43:55 +0100 Subject: [PATCH] Forge is a first class citizen diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index f6d08858..22d3b59c 100644 +index 6e6fffe1..b23eb863 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -@@ -296,8 +296,6 @@ public class BungeeCord extends ProxyServer +@@ -288,8 +288,6 @@ public class BungeeCord extends ProxyServer registerChannel( ForgeConstants.FML_TAG ); registerChannel( ForgeConstants.FML_HANDSHAKE_TAG ); registerChannel( ForgeConstants.FORGE_REGISTER ); @@ -34,5 +34,5 @@ index 7a4da21f..1f600dab 100644 @Synchronized("serversLock") // Waterfall public void load() -- -2.51.0 +2.56.0 diff --git a/BungeeCord-Patches/0041-Ignore-empty-packets.patch b/BungeeCord-Patches/0040-Ignore-empty-packets.patch similarity index 96% rename from BungeeCord-Patches/0041-Ignore-empty-packets.patch rename to BungeeCord-Patches/0040-Ignore-empty-packets.patch index beacbe631..8f744613e 100644 --- a/BungeeCord-Patches/0041-Ignore-empty-packets.patch +++ b/BungeeCord-Patches/0040-Ignore-empty-packets.patch @@ -1,4 +1,4 @@ -From 5d18918e58cfb8e26d5076e0d6249d72055f1c14 Mon Sep 17 00:00:00 2001 +From 8e2d2f107a6d580e318a358154f8210fd5efbc89 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Fri, 12 Oct 2018 14:28:52 +0100 Subject: [PATCH] Ignore empty packets @@ -38,5 +38,5 @@ index 277e70e8..cf7dea17 100644 throw new CorruptedFrameException( "Empty Packet!" ); } -- -2.49.0 +2.56.0 diff --git a/BungeeCord-Patches/0042-Don-t-use-a-bytebuf-for-packet-decoding.patch b/BungeeCord-Patches/0041-Don-t-use-a-bytebuf-for-packet-decoding.patch similarity index 95% rename from BungeeCord-Patches/0042-Don-t-use-a-bytebuf-for-packet-decoding.patch rename to BungeeCord-Patches/0041-Don-t-use-a-bytebuf-for-packet-decoding.patch index 8d5dd58e6..1276d5843 100644 --- a/BungeeCord-Patches/0042-Don-t-use-a-bytebuf-for-packet-decoding.patch +++ b/BungeeCord-Patches/0041-Don-t-use-a-bytebuf-for-packet-decoding.patch @@ -1,4 +1,4 @@ -From 89de3db7eeb6f66fdb8f59edff3da206b878368b Mon Sep 17 00:00:00 2001 +From b737bc7a58f41408f848d16f95b4a493e47332cc Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Thu, 17 Jan 2019 03:25:59 +0000 Subject: [PATCH] Don't use a bytebuf for packet decoding @@ -36,5 +36,5 @@ index cf7dea17..3d7bdd02 100644 { throw new CorruptedFrameException( "Empty Packet!" ); -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0043-Provide-an-option-to-disable-entity-metadata-rewriti.patch b/BungeeCord-Patches/0042-Provide-an-option-to-disable-entity-metadata-rewriti.patch similarity index 99% rename from BungeeCord-Patches/0043-Provide-an-option-to-disable-entity-metadata-rewriti.patch rename to BungeeCord-Patches/0042-Provide-an-option-to-disable-entity-metadata-rewriti.patch index 5a0756160..e2a1b0c4b 100644 --- a/BungeeCord-Patches/0043-Provide-an-option-to-disable-entity-metadata-rewriti.patch +++ b/BungeeCord-Patches/0042-Provide-an-option-to-disable-entity-metadata-rewriti.patch @@ -1,4 +1,4 @@ -From 8df11f49fd7eac950aca41834b5d4b99c147f477 Mon Sep 17 00:00:00 2001 +From 8b3c287b8d288565a8aab0c741a84c4ea9159817 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Mon, 14 Jan 2019 03:35:21 +0000 Subject: [PATCH] Provide an option to disable entity metadata rewriting @@ -216,5 +216,5 @@ index 00000000..cb81d1dd +// Waterfall end \ No newline at end of file -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0044-Add-ProxyDefineCommandsEvent.patch b/BungeeCord-Patches/0043-Add-ProxyDefineCommandsEvent.patch similarity index 97% rename from BungeeCord-Patches/0044-Add-ProxyDefineCommandsEvent.patch rename to BungeeCord-Patches/0043-Add-ProxyDefineCommandsEvent.patch index 7b89f237b..22934331a 100644 --- a/BungeeCord-Patches/0044-Add-ProxyDefineCommandsEvent.patch +++ b/BungeeCord-Patches/0043-Add-ProxyDefineCommandsEvent.patch @@ -1,4 +1,4 @@ -From ee82c69715c9a6a06fc18f343e14f2966880954b Mon Sep 17 00:00:00 2001 +From 95cf4b20f3089224cb8a49bfb0fedd442e440e2a Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Thu, 14 Mar 2019 07:44:06 +0000 Subject: [PATCH] Add ProxyDefineCommandsEvent @@ -54,7 +54,7 @@ index 00000000..1fd4fc90 + +} diff --git a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java -index 80dd6a31..efa73a84 100644 +index db8ecbe4..1b6e243a 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java @@ -804,9 +804,23 @@ public class DownstreamBridge extends PacketHandler @@ -84,5 +84,5 @@ index 80dd6a31..efa73a84 100644 boolean insertDummy = true; -- -2.53.0 +2.56.0 diff --git a/BungeeCord-Patches/0045-Fix-upstream-javadocs.patch b/BungeeCord-Patches/0044-Fix-upstream-javadocs.patch similarity index 97% rename from BungeeCord-Patches/0045-Fix-upstream-javadocs.patch rename to BungeeCord-Patches/0044-Fix-upstream-javadocs.patch index cfc0d18f2..a6a908ebb 100644 --- a/BungeeCord-Patches/0045-Fix-upstream-javadocs.patch +++ b/BungeeCord-Patches/0044-Fix-upstream-javadocs.patch @@ -1,4 +1,4 @@ -From 0a1e7a3cf67d728ae3daab2bbf0fede1f2d38bf7 Mon Sep 17 00:00:00 2001 +From 236bb9e844ec0500d3ca19d9f5a37e9e62f07844 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sat, 30 Mar 2019 15:11:11 +0000 Subject: [PATCH] Fix upstream javadocs @@ -104,5 +104,5 @@ index f3bced0a..4a198ee9 100644 Favicon getFaviconObject(); -- -2.44.0 +2.56.0 diff --git a/BungeeCord-Patches/0046-Speed-up-some-common-exceptions.patch b/BungeeCord-Patches/0045-Speed-up-some-common-exceptions.patch similarity index 98% rename from BungeeCord-Patches/0046-Speed-up-some-common-exceptions.patch rename to BungeeCord-Patches/0045-Speed-up-some-common-exceptions.patch index 00467ce0b..4dadbf6a9 100644 --- a/BungeeCord-Patches/0046-Speed-up-some-common-exceptions.patch +++ b/BungeeCord-Patches/0045-Speed-up-some-common-exceptions.patch @@ -1,4 +1,4 @@ -From 91e4b9a2f3e4d5fd62851a09b14d08d96b0c416b Mon Sep 17 00:00:00 2001 +From 93f0554cd1ae831eb1015f5ab1992a6b7e7d3f8c Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Mon, 25 Nov 2019 19:54:06 +0000 Subject: [PATCH] Speed up some common exceptions @@ -172,7 +172,7 @@ index 237955ab..d0bd4d75 100644 + // Waterfall end } diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index 57c0fa20..1f636aa7 100644 +index da66b69a..163d82e6 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -24,6 +24,8 @@ import javax.crypto.SecretKey; @@ -221,5 +221,5 @@ index ac99d02c..0c1ecfb8 100644 // Waterfall start -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0047-ConnectionInitEvent.patch b/BungeeCord-Patches/0046-ConnectionInitEvent.patch similarity index 98% rename from BungeeCord-Patches/0047-ConnectionInitEvent.patch rename to BungeeCord-Patches/0046-ConnectionInitEvent.patch index aa4245573..dd146bfcc 100644 --- a/BungeeCord-Patches/0047-ConnectionInitEvent.patch +++ b/BungeeCord-Patches/0046-ConnectionInitEvent.patch @@ -1,4 +1,4 @@ -From 80d2788f2f6809a647945f92741f5c4fbf60f8e4 Mon Sep 17 00:00:00 2001 +From 4eef43e57e007a5fcaae39058b8957a3d6eb7c6f Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Mon, 2 Dec 2019 11:35:17 +0000 Subject: [PATCH] ConnectionInitEvent @@ -107,5 +107,5 @@ index 516a1350..2f27b7d7 100644 return true; } ) ); -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0048-Add-exception-reporting-event.patch b/BungeeCord-Patches/0047-Add-exception-reporting-event.patch similarity index 99% rename from BungeeCord-Patches/0048-Add-exception-reporting-event.patch rename to BungeeCord-Patches/0047-Add-exception-reporting-event.patch index ac386bcef..db050b6e4 100644 --- a/BungeeCord-Patches/0048-Add-exception-reporting-event.patch +++ b/BungeeCord-Patches/0047-Add-exception-reporting-event.patch @@ -1,4 +1,4 @@ -From afd84646489d91effdad19aa581b1f89bfe1ff32 Mon Sep 17 00:00:00 2001 +From 2b494cccd27c8fb5f4f3964b9e808abbf1a335d6 Mon Sep 17 00:00:00 2001 From: theminecoder Date: Wed, 22 Apr 2020 14:00:44 +1000 Subject: [PATCH] Add exception reporting event @@ -446,7 +446,7 @@ index 00000000..5bf57ec1 + } +} diff --git a/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java b/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java -index a7420c88..94dd956f 100644 +index 64dd59cf..0c2b70f9 100644 --- a/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java +++ b/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java @@ -31,6 +31,11 @@ import java.util.jar.JarEntry; @@ -642,7 +642,7 @@ index 014de202..40792a68 100644 @EventHandler diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index 22d3b59c..524ede4c 100644 +index b23eb863..e1123d2d 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java @@ -7,6 +7,8 @@ import com.google.common.collect.Lists; @@ -654,7 +654,7 @@ index 22d3b59c..524ede4c 100644 import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelException; -@@ -489,7 +491,11 @@ public class BungeeCord extends ProxyServer +@@ -481,7 +483,11 @@ public class BungeeCord extends ProxyServer } } catch ( Throwable t ) { @@ -695,5 +695,5 @@ index 38b75b51..02ec98fc 100644 // If we have a period of 0 or less, only run once -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0049-Allow-to-disable-tablist-rewrite.patch b/BungeeCord-Patches/0048-Allow-to-disable-tablist-rewrite.patch similarity index 97% rename from BungeeCord-Patches/0049-Allow-to-disable-tablist-rewrite.patch rename to BungeeCord-Patches/0048-Allow-to-disable-tablist-rewrite.patch index 600224b6d..d0b88b630 100644 --- a/BungeeCord-Patches/0049-Allow-to-disable-tablist-rewrite.patch +++ b/BungeeCord-Patches/0048-Allow-to-disable-tablist-rewrite.patch @@ -1,4 +1,4 @@ -From 791f637abeea59e0ae303683da1b471a8a9dbdc6 Mon Sep 17 00:00:00 2001 +From 8c17cb30bf98afdaba4a6fec6ac40266d701898c Mon Sep 17 00:00:00 2001 From: xDark Date: Fri, 31 May 2019 08:11:31 +0300 Subject: [PATCH] Allow to disable tablist rewrite @@ -71,5 +71,5 @@ index 1b6e243a..b782035e 100644 @Override -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0050-Remove-version-from-brand-info.patch b/BungeeCord-Patches/0049-Remove-version-from-brand-info.patch similarity index 94% rename from BungeeCord-Patches/0050-Remove-version-from-brand-info.patch rename to BungeeCord-Patches/0049-Remove-version-from-brand-info.patch index 30eef82ff..0bc334150 100644 --- a/BungeeCord-Patches/0050-Remove-version-from-brand-info.patch +++ b/BungeeCord-Patches/0049-Remove-version-from-brand-info.patch @@ -1,4 +1,4 @@ -From c0d7c6daa127250f002e20a5db08f080370f0a50 Mon Sep 17 00:00:00 2001 +From 3ba64cf3d61b80d7321273c5872c0ca21eaef1d4 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sat, 20 Jun 2020 18:21:17 +0100 Subject: [PATCH] Remove version from brand info @@ -18,5 +18,5 @@ index b782035e..79dd4563 100644 brand.release(); // changes in the packet are ignored so we need to send it manually -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0051-Add-auth-url-option.patch b/BungeeCord-Patches/0050-Add-auth-url-option.patch similarity index 93% rename from BungeeCord-Patches/0051-Add-auth-url-option.patch rename to BungeeCord-Patches/0050-Add-auth-url-option.patch index 0547d3670..a85b1e6ee 100644 --- a/BungeeCord-Patches/0051-Add-auth-url-option.patch +++ b/BungeeCord-Patches/0050-Add-auth-url-option.patch @@ -1,11 +1,11 @@ -From b6dbcbac2829cedbac80afad675aa22924ccf88f Mon Sep 17 00:00:00 2001 +From 809c803d86b260aeeb6e49bf3f34322ed53fe7e5 Mon Sep 17 00:00:00 2001 From: theminecoder Date: Sun, 19 Jul 2020 10:18:23 +1000 Subject: [PATCH] Add auth url option diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index 1f636aa7..f8876bab 100644 +index 163d82e6..0a9c2399 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -89,6 +89,8 @@ import net.md_5.bungee.util.QuietException; @@ -27,5 +27,5 @@ index 1f636aa7..f8876bab 100644 Callback handler = new Callback() { -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0052-Add-the-ability-to-generate-decoder-traces-for-debug.patch b/BungeeCord-Patches/0051-Add-the-ability-to-generate-decoder-traces-for-debug.patch similarity index 95% rename from BungeeCord-Patches/0052-Add-the-ability-to-generate-decoder-traces-for-debug.patch rename to BungeeCord-Patches/0051-Add-the-ability-to-generate-decoder-traces-for-debug.patch index 5409e344b..9a2590911 100644 --- a/BungeeCord-Patches/0052-Add-the-ability-to-generate-decoder-traces-for-debug.patch +++ b/BungeeCord-Patches/0051-Add-the-ability-to-generate-decoder-traces-for-debug.patch @@ -1,4 +1,4 @@ -From bc47048aecc23978a3494be003fdb4a29cc35059 Mon Sep 17 00:00:00 2001 +From a1415053865d5580212313f343b3bfa83c5eddf2 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Tue, 15 Sep 2020 18:11:49 +0100 Subject: [PATCH] Add the ability to generate decoder traces for debugging @@ -40,5 +40,5 @@ index 2583aa2c..334d5054 100644 } } -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0053-Additional-DoS-mitigations.patch b/BungeeCord-Patches/0052-Additional-DoS-mitigations.patch similarity index 99% rename from BungeeCord-Patches/0053-Additional-DoS-mitigations.patch rename to BungeeCord-Patches/0052-Additional-DoS-mitigations.patch index eb6bf97bb..3b4631e3a 100644 --- a/BungeeCord-Patches/0053-Additional-DoS-mitigations.patch +++ b/BungeeCord-Patches/0052-Additional-DoS-mitigations.patch @@ -1,4 +1,4 @@ -From cef71e6f21dfd8c79b5d197ba308b9f45b3c2230 Mon Sep 17 00:00:00 2001 +From d9028665df8867f72ef4a104e9fb7ba0c8335817 Mon Sep 17 00:00:00 2001 From: "Five (Xer)" Date: Sat, 30 Jan 2021 18:04:14 +0100 Subject: [PATCH] Additional DoS mitigations @@ -257,5 +257,5 @@ index 738f0c92..ec33d337 100644 + // Waterfall end } -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0054-Add-support-for-hex-color-codes-in-console.patch b/BungeeCord-Patches/0053-Add-support-for-hex-color-codes-in-console.patch similarity index 99% rename from BungeeCord-Patches/0054-Add-support-for-hex-color-codes-in-console.patch rename to BungeeCord-Patches/0053-Add-support-for-hex-color-codes-in-console.patch index a00ee5dc7..3b6392ce2 100644 --- a/BungeeCord-Patches/0054-Add-support-for-hex-color-codes-in-console.patch +++ b/BungeeCord-Patches/0053-Add-support-for-hex-color-codes-in-console.patch @@ -1,4 +1,4 @@ -From c26fc1eebfc0d9154db15f200c6634e136436121 Mon Sep 17 00:00:00 2001 +From 62f71d34c5d2a81dd43dc641cb9efb7aa9361755 Mon Sep 17 00:00:00 2001 From: Josh Roy <10731363+JRoy@users.noreply.github.com> Date: Sun, 21 Feb 2021 23:52:11 -0500 Subject: [PATCH] Add support for hex color codes in console @@ -242,5 +242,5 @@ index 00000000..5d1a6126 +} + -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0055-Configurable-plugin-messaging-limits.patch b/BungeeCord-Patches/0054-Configurable-plugin-messaging-limits.patch similarity index 96% rename from BungeeCord-Patches/0055-Configurable-plugin-messaging-limits.patch rename to BungeeCord-Patches/0054-Configurable-plugin-messaging-limits.patch index 23ab63a2b..90118243c 100644 --- a/BungeeCord-Patches/0055-Configurable-plugin-messaging-limits.patch +++ b/BungeeCord-Patches/0054-Configurable-plugin-messaging-limits.patch @@ -1,4 +1,4 @@ -From 9a7fd09fa106bc36fc028249894ec923bd66aaab Mon Sep 17 00:00:00 2001 +From 8f0cba3e998b4fe235a3effb42c5036ea69d843f Mon Sep 17 00:00:00 2001 From: FivePB Date: Tue, 16 Nov 2021 21:15:32 +0100 Subject: [PATCH] Configurable plugin messaging limits @@ -83,10 +83,10 @@ index ebfe9b7a..e98c673e 100644 + } } diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index f8876bab..08d5d86c 100644 +index 0a9c2399..b6cac84e 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -@@ -843,9 +843,10 @@ public class InitialHandler extends PacketHandler implements PendingConnection +@@ -825,9 +825,10 @@ public class InitialHandler extends PacketHandler implements PendingConnection for ( String id : content.split( "\0" ) ) { @@ -101,5 +101,5 @@ index f8876bab..08d5d86c 100644 } } else if ( input.getTag().equals( "UNREGISTER" ) || input.getTag().equals( "minecraft:unregister" ) ) -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0056-ServerConnectRequest-sendFeedback.patch b/BungeeCord-Patches/0055-ServerConnectRequest-sendFeedback.patch similarity index 98% rename from BungeeCord-Patches/0056-ServerConnectRequest-sendFeedback.patch rename to BungeeCord-Patches/0055-ServerConnectRequest-sendFeedback.patch index 0dd544cfe..cdc9787e5 100644 --- a/BungeeCord-Patches/0056-ServerConnectRequest-sendFeedback.patch +++ b/BungeeCord-Patches/0055-ServerConnectRequest-sendFeedback.patch @@ -1,4 +1,4 @@ -From 67bfc524b71bd00216e26013d1122d5471ea2a83 Mon Sep 17 00:00:00 2001 +From d6211b45490a5786603b700cd1ff1066a0cf9713 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Fri, 16 Apr 2021 06:29:28 +0100 Subject: [PATCH] ServerConnectRequest#sendFeedback @@ -90,5 +90,5 @@ index e76e5f1c..a4c907c8 100644 } else { -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0057-Don-t-send-exceptions-to-the-client-during-kicks-etc.patch b/BungeeCord-Patches/0056-Don-t-send-exceptions-to-the-client-during-kicks-etc.patch similarity index 94% rename from BungeeCord-Patches/0057-Don-t-send-exceptions-to-the-client-during-kicks-etc.patch rename to BungeeCord-Patches/0056-Don-t-send-exceptions-to-the-client-during-kicks-etc.patch index c53cccf8b..1c6e72fc7 100644 --- a/BungeeCord-Patches/0057-Don-t-send-exceptions-to-the-client-during-kicks-etc.patch +++ b/BungeeCord-Patches/0056-Don-t-send-exceptions-to-the-client-during-kicks-etc.patch @@ -1,4 +1,4 @@ -From bab441464c837aa2f966aeccec0a8c5418e7a8a7 Mon Sep 17 00:00:00 2001 +From 926605bf71ee8bfb9a43d96bc33b45fe31c8895f Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Tue, 22 Mar 2022 14:56:44 +0000 Subject: [PATCH] Don't send exceptions to the client during kicks, etc @@ -27,5 +27,5 @@ index a4c907c8..021988a1 100644 @Override -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0058-Improve-login-state-transition.patch b/BungeeCord-Patches/0057-Improve-login-state-transition.patch similarity index 92% rename from BungeeCord-Patches/0058-Improve-login-state-transition.patch rename to BungeeCord-Patches/0057-Improve-login-state-transition.patch index 672d2dcca..9a32f6953 100644 --- a/BungeeCord-Patches/0058-Improve-login-state-transition.patch +++ b/BungeeCord-Patches/0057-Improve-login-state-transition.patch @@ -1,11 +1,11 @@ -From 10a5842723bb3917a282996f495660738fc3bbbf Mon Sep 17 00:00:00 2001 +From 267d0ac6cd551e6c5e82e0a2d6a00c8d46a464c7 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sun, 8 May 2022 12:04:30 +0100 Subject: [PATCH] Improve login state transition diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index 08d5d86c..e5d0da53 100644 +index b6cac84e..68154411 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -515,6 +515,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection @@ -26,5 +26,5 @@ index 08d5d86c..e5d0da53 100644 } -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0059-Add-protocol-version-to-packet-not-found-message.patch b/BungeeCord-Patches/0058-Add-protocol-version-to-packet-not-found-message.patch similarity index 94% rename from BungeeCord-Patches/0059-Add-protocol-version-to-packet-not-found-message.patch rename to BungeeCord-Patches/0058-Add-protocol-version-to-packet-not-found-message.patch index 8cfeae8ce..e9501cac6 100644 --- a/BungeeCord-Patches/0059-Add-protocol-version-to-packet-not-found-message.patch +++ b/BungeeCord-Patches/0058-Add-protocol-version-to-packet-not-found-message.patch @@ -1,4 +1,4 @@ -From 32a10491bf945e71e6b7bf01ea0d9e289e77d073 Mon Sep 17 00:00:00 2001 +From a6d60c657165e0aff596fd410de39246874f368a Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sun, 12 Jun 2022 06:45:54 +0100 Subject: [PATCH] Add protocol version to packet not found message @@ -25,5 +25,5 @@ index d2665e3d..27529770 100644 } } -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0060-Expand-packet-decode-logging-usage.patch b/BungeeCord-Patches/0059-Expand-packet-decode-logging-usage.patch similarity index 95% rename from BungeeCord-Patches/0060-Expand-packet-decode-logging-usage.patch rename to BungeeCord-Patches/0059-Expand-packet-decode-logging-usage.patch index f4a2831a3..fcc84c279 100644 --- a/BungeeCord-Patches/0060-Expand-packet-decode-logging-usage.patch +++ b/BungeeCord-Patches/0059-Expand-packet-decode-logging-usage.patch @@ -1,4 +1,4 @@ -From 6bea37825c6fb6655988d52c551836259b3e9e13 Mon Sep 17 00:00:00 2001 +From e3a8ea1b818fd57d9795b2c56ba4ace80cf079eb Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sun, 19 Jun 2022 10:31:51 +0100 Subject: [PATCH] Expand packet-decode-logging usage @@ -24,5 +24,5 @@ index 684654d2..925cc346 100644 { ProxyServer.getInstance().getLogger().log( Level.WARNING, "{0} - corrupted frame: {1}", new Object[] -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0061-Add-message-for-outdated-clients-that-don-t-support-.patch b/BungeeCord-Patches/0060-Add-message-for-outdated-clients-that-don-t-support-.patch similarity index 95% rename from BungeeCord-Patches/0061-Add-message-for-outdated-clients-that-don-t-support-.patch rename to BungeeCord-Patches/0060-Add-message-for-outdated-clients-that-don-t-support-.patch index 07573880b..e6115f154 100644 --- a/BungeeCord-Patches/0061-Add-message-for-outdated-clients-that-don-t-support-.patch +++ b/BungeeCord-Patches/0060-Add-message-for-outdated-clients-that-don-t-support-.patch @@ -1,4 +1,4 @@ -From d85b5bb71c21578605051474c8c85bd3a134fdd2 Mon Sep 17 00:00:00 2001 +From f58834876756c637c7886545a6edd4598d563666 Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 18 Jul 2022 15:56:05 +0200 Subject: [PATCH] Add message for outdated clients that don't support secure @@ -8,7 +8,7 @@ Clients before 1.19 don't support secure profiles, but since secure profiles is things checked those outdated clients didn't get a useful message telling them to update. diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index e5d0da53..a97a5486 100644 +index 68154411..f01dc144 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -442,6 +442,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection @@ -32,5 +32,5 @@ index c0a41fb0..94254c9a 100644 error_occurred_player=\u00a7cAn error occurred while parsing your message. (Hover for details) error_occurred_console=\u00a7cAn error occurred while parsing your message: {0} -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0062-Replace-reflection-inside-netty-with-ChannelFactory.patch b/BungeeCord-Patches/0061-Replace-reflection-inside-netty-with-ChannelFactory.patch similarity index 97% rename from BungeeCord-Patches/0062-Replace-reflection-inside-netty-with-ChannelFactory.patch rename to BungeeCord-Patches/0061-Replace-reflection-inside-netty-with-ChannelFactory.patch index 55846ebb5..c8aa120af 100644 --- a/BungeeCord-Patches/0062-Replace-reflection-inside-netty-with-ChannelFactory.patch +++ b/BungeeCord-Patches/0061-Replace-reflection-inside-netty-with-ChannelFactory.patch @@ -1,4 +1,4 @@ -From 5b0e0dda9c0d34601b7dc96024b40305fb975215 Mon Sep 17 00:00:00 2001 +From 0f88a332cab97ed4d98a76671480d07f4d31ff3d Mon Sep 17 00:00:00 2001 From: Janmm14 Date: Mon, 21 Jun 2021 23:43:39 +0200 Subject: [PATCH] Replace reflection inside netty with ChannelFactory. @@ -6,10 +6,10 @@ Subject: [PATCH] Replace reflection inside netty with ChannelFactory. Thanks for pointing it out @MrIvanPlays diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -index 524ede4c..03677b9d 100644 +index e1123d2d..5dffdf25 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java -@@ -364,7 +364,7 @@ public class BungeeCord extends ProxyServer +@@ -356,7 +356,7 @@ public class BungeeCord extends ProxyServer } }; new ServerBootstrap() @@ -143,5 +143,5 @@ index 2f27b7d7..937c0028 100644 { return io_uring ? IoUringDatagramChannel.class : epoll ? EpollDatagramChannel.class : NioDatagramChannel.class; -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0063-reduce-log-spam-from-clients-registeirng-too-many-ch.patch b/BungeeCord-Patches/0062-reduce-log-spam-from-clients-registeirng-too-many-ch.patch similarity index 91% rename from BungeeCord-Patches/0063-reduce-log-spam-from-clients-registeirng-too-many-ch.patch rename to BungeeCord-Patches/0062-reduce-log-spam-from-clients-registeirng-too-many-ch.patch index 3fca1d635..8aea0ccba 100644 --- a/BungeeCord-Patches/0063-reduce-log-spam-from-clients-registeirng-too-many-ch.patch +++ b/BungeeCord-Patches/0062-reduce-log-spam-from-clients-registeirng-too-many-ch.patch @@ -1,11 +1,11 @@ -From 2945e5d0be6aa07ba400deffddebde7086c1f1ea Mon Sep 17 00:00:00 2001 +From c5f3ea9f6dd1d0f32b8b87eb75cd87f7b62c7130 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Fri, 21 Apr 2023 15:32:33 +0100 Subject: [PATCH] reduce log spam from clients registeirng too many channels diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java -index a97a5486..9d29bf32 100644 +index f01dc144..e785870d 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -201,6 +201,22 @@ public class InitialHandler extends PacketHandler implements PendingConnection @@ -32,5 +32,5 @@ index a97a5486..9d29bf32 100644 public void handle(LegacyHandshake legacyHandshake) throws Exception { -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0064-Prevent-proxy-commands-from-breaking-the-chat-chain-.patch b/BungeeCord-Patches/0063-Prevent-proxy-commands-from-breaking-the-chat-chain-.patch similarity index 98% rename from BungeeCord-Patches/0064-Prevent-proxy-commands-from-breaking-the-chat-chain-.patch rename to BungeeCord-Patches/0063-Prevent-proxy-commands-from-breaking-the-chat-chain-.patch index a184bb0e1..41c2673dc 100644 --- a/BungeeCord-Patches/0064-Prevent-proxy-commands-from-breaking-the-chat-chain-.patch +++ b/BungeeCord-Patches/0063-Prevent-proxy-commands-from-breaking-the-chat-chain-.patch @@ -1,4 +1,4 @@ -From 2840bc88ba72bea7f29f143dcf155db5b50d9d47 Mon Sep 17 00:00:00 2001 +From 042acd4b84272caea4fc39f15c1f9ce4508bc940 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sun, 15 Oct 2023 00:36:38 +0100 Subject: [PATCH] Prevent proxy commands from breaking the chat chain system @@ -134,5 +134,5 @@ index 1dae5d2f..abb5a3d9 100644 throw CancelSendSignal.INSTANCE; } -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0065-eol-message.patch b/BungeeCord-Patches/0064-eol-message.patch similarity index 93% rename from BungeeCord-Patches/0065-eol-message.patch rename to BungeeCord-Patches/0064-eol-message.patch index 2a3c1586c..339e1b1b6 100644 --- a/BungeeCord-Patches/0065-eol-message.patch +++ b/BungeeCord-Patches/0064-eol-message.patch @@ -1,4 +1,4 @@ -From 1d1d0afd652fe0decf5e09949682fe8b55466890 Mon Sep 17 00:00:00 2001 +From 2d60be3e0abf0a9727899f3f9e43cfcc883ec83a Mon Sep 17 00:00:00 2001 From: MiniDigger Date: Fri, 22 Mar 2024 09:20:53 +0100 Subject: [PATCH] eol message @@ -17,5 +17,5 @@ index 4e27f6d6..c7d13591 100644 if ( !options.has( "noconsole" ) ) -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0066-Default-the-native-cipher-to-off.patch b/BungeeCord-Patches/0065-Default-the-native-cipher-to-off.patch similarity index 98% rename from BungeeCord-Patches/0066-Default-the-native-cipher-to-off.patch rename to BungeeCord-Patches/0065-Default-the-native-cipher-to-off.patch index 3b4fe5eb2..1f5ef959b 100644 --- a/BungeeCord-Patches/0066-Default-the-native-cipher-to-off.patch +++ b/BungeeCord-Patches/0065-Default-the-native-cipher-to-off.patch @@ -1,4 +1,4 @@ -From 51dc436d133e67cdf2860234f33d516cd7e91062 Mon Sep 17 00:00:00 2001 +From 7facaee7f6be1ba9840b2018aef5cc75e2b64e0f Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Mon, 31 Aug 2026 19:35:59 +0200 Subject: [PATCH] Default the native cipher to off @@ -68,5 +68,5 @@ index aa4e2c07..fce63064 100644 static -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0067-Test-that-framed-packets-are-always-direct.patch b/BungeeCord-Patches/0066-Test-that-framed-packets-are-always-direct.patch similarity index 98% rename from BungeeCord-Patches/0067-Test-that-framed-packets-are-always-direct.patch rename to BungeeCord-Patches/0066-Test-that-framed-packets-are-always-direct.patch index 19c5ddd23..bc61b3aa1 100644 --- a/BungeeCord-Patches/0067-Test-that-framed-packets-are-always-direct.patch +++ b/BungeeCord-Patches/0066-Test-that-framed-packets-are-always-direct.patch @@ -1,4 +1,4 @@ -From fd479b4784c896f3fb2077e4dd09dfd9afdfe631 Mon Sep 17 00:00:00 2001 +From a5d31cf48256a327838c6b3281a649e369953686 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sat, 5 Sep 2026 19:02:58 +0200 Subject: [PATCH] Test that framed packets are always direct @@ -110,5 +110,5 @@ index 00000000..b718bd3a + } +} -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0068-Cipher-into-a-direct-buffer-in-JavaCipher.patch b/BungeeCord-Patches/0067-Cipher-into-a-direct-buffer-in-JavaCipher.patch similarity index 97% rename from BungeeCord-Patches/0068-Cipher-into-a-direct-buffer-in-JavaCipher.patch rename to BungeeCord-Patches/0067-Cipher-into-a-direct-buffer-in-JavaCipher.patch index 681d3bcaf..6e8dce2c6 100644 --- a/BungeeCord-Patches/0068-Cipher-into-a-direct-buffer-in-JavaCipher.patch +++ b/BungeeCord-Patches/0067-Cipher-into-a-direct-buffer-in-JavaCipher.patch @@ -1,4 +1,4 @@ -From 5e1fd61c298d334c96e20de0b96f67ded62bfdf5 Mon Sep 17 00:00:00 2001 +From f0803bbbf628bd63d036950785eafe8d0ecc9d17 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sat, 5 Sep 2026 19:03:06 +0200 Subject: [PATCH] Cipher into a direct buffer in JavaCipher @@ -60,5 +60,5 @@ index 94d02691..d3a6a35c 100644 @Override -- -2.43.0 +2.56.0 diff --git a/BungeeCord-Patches/0069-Use-the-protocol-exact-game-mode-encoding-in-Login-a.patch b/BungeeCord-Patches/0069-Use-the-protocol-exact-game-mode-encoding-in-Login-a.patch deleted file mode 100644 index 4754a3117..000000000 --- a/BungeeCord-Patches/0069-Use-the-protocol-exact-game-mode-encoding-in-Login-a.patch +++ /dev/null @@ -1,157 +0,0 @@ -From 1b114dac967492c97e9fd4bc110201c9d2d24c58 Mon Sep 17 00:00:00 2001 -From: Shane Freeder -Date: Mon, 14 Sep 2026 12:26:53 +0200 -Subject: [PATCH] Use the protocol-exact game mode encoding in Login and - Respawn - -26.3 changed CommonPlayerSpawnInfo, which Login and Respawn both embed: -gameType moved from a byte to a var int, and previousGameType from a byte -with a -1 sentinel to vanilla's OPTIONAL_VAR_INT, where zero means absent -and any other value is the id plus one. Upstream still reads and writes -both as plain bytes. - -For vanilla that happens to be harmless -- every legal game mode id is -small enough that its var int is a single byte, so a read-byte/write-byte -round trip reproduces the same bytes, and the proxy only ever round trips -these fields. It stops being harmless with mods, which are not bound by -vanilla's range: an id above 127 is a multi-byte var int, and the byte -path would take the first byte only and desync the rest of the packet. - -Decode as the protocol actually specifies rather than relying on the -values staying small. - -diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java b/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java -index 486dfad2..7b509e57 100644 ---- a/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java -+++ b/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java -@@ -71,6 +71,21 @@ public abstract class DefinedPacket - } - } - -+ // Waterfall start -+ public static short readOptionalGameMode(ByteBuf buf) -+ { -+ int id = readVarInt( buf ); -+ return (short) ( id == 0 ? -1 : id - 1 ); -+ } -+ -+ public static void writeOptionalGameMode(short gameMode, ByteBuf buf) -+ { -+ // -1 and 255 both denote an absent game mode, as older versions wrote it as a -+ // signed byte here but as an unsigned byte in Respawn -+ writeVarInt( ( gameMode == -1 || gameMode == 255 ) ? 0 : gameMode + 1, buf ); -+ } -+ // Waterfall end -+ - public static T readLengthPrefixed(Function reader, ByteBuf buf, int maxSize) - { - int size = readVarInt( buf ); -diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/Login.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/Login.java -index f72a9f15..f3aa3bbc 100644 ---- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/Login.java -+++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/Login.java -@@ -144,8 +144,17 @@ public class Login extends DefinedPacket - } - worldName = readString( buf ); - seed = buf.readLong(); -- gameMode = buf.readUnsignedByte(); -- previousGameMode = buf.readByte(); -+ // Waterfall start -+ if ( protocolVersion >= ProtocolConstants.MINECRAFT_26_3 ) -+ { -+ gameMode = (short) readVarInt( buf ); -+ previousGameMode = readOptionalGameMode( buf ); -+ } else -+ { -+ gameMode = buf.readUnsignedByte(); -+ previousGameMode = buf.readByte(); -+ } -+ // Waterfall end - } - if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_16 ) - { -@@ -278,8 +287,17 @@ public class Login extends DefinedPacket - } - writeString( worldName, buf ); - buf.writeLong( seed ); -- buf.writeByte( gameMode ); -- buf.writeByte( previousGameMode ); -+ // Waterfall start -+ if ( protocolVersion >= ProtocolConstants.MINECRAFT_26_3 ) -+ { -+ writeVarInt( gameMode, buf ); -+ writeOptionalGameMode( previousGameMode, buf ); -+ } else -+ { -+ buf.writeByte( gameMode ); -+ buf.writeByte( previousGameMode ); -+ } -+ // Waterfall end - } - if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_16 ) - { -diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/Respawn.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/Respawn.java -index 650932cb..48ca3524 100644 ---- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/Respawn.java -+++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/Respawn.java -@@ -60,10 +60,26 @@ public class Respawn extends DefinedPacket - { - difficulty = buf.readUnsignedByte(); - } -- gameMode = buf.readUnsignedByte(); -+ // Waterfall start -+ if ( protocolVersion >= ProtocolConstants.MINECRAFT_26_3 ) -+ { -+ gameMode = (short) readVarInt( buf ); -+ } else -+ { -+ gameMode = buf.readUnsignedByte(); -+ } -+ // Waterfall end - if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_16 ) - { -- previousGameMode = buf.readUnsignedByte(); -+ // Waterfall start -+ if ( protocolVersion >= ProtocolConstants.MINECRAFT_26_3 ) -+ { -+ previousGameMode = readOptionalGameMode( buf ); -+ } else -+ { -+ previousGameMode = buf.readUnsignedByte(); -+ } -+ // Waterfall end - debug = buf.readBoolean(); - flat = buf.readBoolean(); - if ( protocolVersion < ProtocolConstants.MINECRAFT_1_20_2 ) -@@ -123,10 +139,26 @@ public class Respawn extends DefinedPacket - { - buf.writeByte( difficulty ); - } -- buf.writeByte( gameMode ); -+ // Waterfall start -+ if ( protocolVersion >= ProtocolConstants.MINECRAFT_26_3 ) -+ { -+ writeVarInt( gameMode, buf ); -+ } else -+ { -+ buf.writeByte( gameMode ); -+ } -+ // Waterfall end - if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_16 ) - { -- buf.writeByte( previousGameMode ); -+ // Waterfall start -+ if ( protocolVersion >= ProtocolConstants.MINECRAFT_26_3 ) -+ { -+ writeOptionalGameMode( previousGameMode, buf ); -+ } else -+ { -+ buf.writeByte( previousGameMode ); -+ } -+ // Waterfall end - buf.writeBoolean( debug ); - buf.writeBoolean( flat ); - if ( protocolVersion < ProtocolConstants.MINECRAFT_1_20_2 ) --- -2.43.0 - diff --git a/BungeeCord-Patches/0070-Temp-Enable-release-protocol.patch b/BungeeCord-Patches/0070-Temp-Enable-release-protocol.patch deleted file mode 100644 index 5cb657d27..000000000 --- a/BungeeCord-Patches/0070-Temp-Enable-release-protocol.patch +++ /dev/null @@ -1,46 +0,0 @@ -From e2f1144544a49e6ff8086bd0b7f07fdd773f71ae Mon Sep 17 00:00:00 2001 -From: Shane Freeder -Date: Tue, 15 Sep 2026 11:34:38 +0100 -Subject: [PATCH] Temp: Enable release protocol - - -diff --git a/native/zlib b/native/zlib -index 3944b7d5..12731092 160000 ---- a/native/zlib -+++ b/native/zlib -@@ -1 +1 @@ --Subproject commit 3944b7d59cf50aa144d8bba69809edea072161d4 -+Subproject commit 12731092979c6d07f42da27da673a9f6c7b13586 -diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java -index 0b6d8f72..bb9f3dea 100644 ---- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java -+++ b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java -@@ -56,7 +56,7 @@ public class ProtocolConstants - public static final int MINECRAFT_1_21_11 = 774; - public static final int MINECRAFT_26_1 = 775; - public static final int MINECRAFT_26_2 = 776; -- public static final int MINECRAFT_26_3 = 1073742161; -+ public static final int MINECRAFT_26_3 = 777; - public static final List SUPPORTED_VERSIONS; - public static final List SUPPORTED_VERSION_IDS; - -@@ -128,13 +128,14 @@ public class ProtocolConstants - ProtocolConstants.MINECRAFT_1_21_9, - ProtocolConstants.MINECRAFT_1_21_11, - ProtocolConstants.MINECRAFT_26_1, -- ProtocolConstants.MINECRAFT_26_2 -+ ProtocolConstants.MINECRAFT_26_2, -+ ProtocolConstants.MINECRAFT_26_3 - ); - - if ( SNAPSHOT_SUPPORT ) - { - // supportedVersions.add( "26.2.x" ); -- supportedVersionIds.add( ProtocolConstants.MINECRAFT_26_3 ); -+ // supportedVersionIds.add( ProtocolConstants.MINECRAFT_26_3 ); - } - - SUPPORTED_VERSIONS = supportedVersions.build(); --- -2.55.0 - From eb905d5309f3d34783482c26b59310d459997509 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Fri, 13 Nov 2026 16:35:52 +0000 Subject: [PATCH 2/4] Update Fill publishing for the bundled bootstrap Modules are now bundled inside the server jar and extracted at startup, and upstream dropped the module finalName, so the per-module downloads pointed at files that no longer exist. Stop publishing them. Publish under version family 26 / version 26.1 to match the proxy. --- build.gradle.kts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 14033caca..9875f8ff8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,8 +7,8 @@ plugins { fill { project("waterfall") - versionFamily("1.21") - version("1.21") + versionFamily("26") + version("26.1") build { channel = BuildChannel.STABLE @@ -18,12 +18,7 @@ fill { file = file("Waterfall-Proxy/bootstrap/target/Waterfall.jar") nameResolver.set { project, _, version, build -> "$project-$version-$build.jar" } } - for (module in listOf("cmd_alert", "cmd_find", "cmd_kick", "cmd_list", "cmd_send", "cmd_server", "reconnect_yaml")) { - register("module:$module") { - file = file("Waterfall-Proxy/module/${module.replace("_", "-")}/target/$module.jar") - nameResolver.set { _, _, version, build -> "$module-$version-$build.jar" } - } - } + // Modules are bundled inside the server jar and extracted at startup, so they are no longer published separately } } } From cb99f854df2de082856b1fc453abbb46b04705b3 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Fri, 13 Nov 2026 16:41:23 +0000 Subject: [PATCH 3/4] Align JLine versions with upstream TerminalConsoleAppender 1.3.0 pulls in jline-reader 3.20.0 while the terminal implementations were pinned to 4.4.0 and upstream's log module uses 4.4.8. Exclude TCA's jline-reader and pin jline-reader, jline-terminal-ffm and jline-terminal-jni to 4.4.8. --- ...ogging-and-TerminalConsoleAppender-f.patch | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch b/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch index ae640b990..486631405 100644 --- a/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch +++ b/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch @@ -1,4 +1,4 @@ -From cd8e0f82e168624042bb56212a1bab4c9513afef Mon Sep 17 00:00:00 2001 +From ceb495cd679ff767fb57ac1d4f0a307b007cc9f1 Mon Sep 17 00:00:00 2001 From: Minecrell Date: Fri, 22 Sep 2017 12:46:47 +0200 Subject: [PATCH] Use Log4j2 for logging and TerminalConsoleAppender for @@ -256,7 +256,7 @@ index 80c4ea53..e69ba4a6 100644 diff --git a/proxy/pom.xml b/proxy/pom.xml -index 043d5709..947b5598 100644 +index 043d5709..0e27f723 100644 --- a/proxy/pom.xml +++ b/proxy/pom.xml @@ -45,6 +45,7 @@ @@ -291,7 +291,7 @@ index 043d5709..947b5598 100644 net.sf.jopt-simple jopt-simple -@@ -131,6 +133,42 @@ +@@ -131,6 +133,53 @@ ${project.version} runtime @@ -316,18 +316,29 @@ index 043d5709..947b5598 100644 + org.jline + jline-terminal + ++ ++ org.jline ++ jline-reader ++ + + ++ ++ ++ org.jline ++ jline-reader ++ 4.4.8 ++ compile ++ + + org.jline + jline-terminal-ffm -+ 4.4.0 ++ 4.4.8 + runtime + + + org.jline + jline-terminal-jni -+ 4.4.0 ++ 4.4.8 + runtime + + From 1796cc7d309b8f953109414fe2b8fa0a038e3f11 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Fri, 13 Nov 2026 17:03:32 +0000 Subject: [PATCH 4/4] Drop the redundant slf4j-jdk14 binding log4j-slf4j-impl already binds SLF4J to Log4j. With libraries no longer shaded, both bindings are visible and SLF4J logs a multiple-bindings error on every startup; Log4j's binding was winning anyway. --- ...for-logging-and-TerminalConsoleAppender-f.patch | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch b/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch index 486631405..a98567283 100644 --- a/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch +++ b/BungeeCord-Patches/0032-Use-Log4j2-for-logging-and-TerminalConsoleAppender-f.patch @@ -1,4 +1,4 @@ -From ceb495cd679ff767fb57ac1d4f0a307b007cc9f1 Mon Sep 17 00:00:00 2001 +From f75dec6619dd6ac8a7a01a340a42ef67ea201b3a Mon Sep 17 00:00:00 2001 From: Minecrell Date: Fri, 22 Sep 2017 12:46:47 +0200 Subject: [PATCH] Use Log4j2 for logging and TerminalConsoleAppender for @@ -256,7 +256,7 @@ index 80c4ea53..e69ba4a6 100644 diff --git a/proxy/pom.xml b/proxy/pom.xml -index 043d5709..0e27f723 100644 +index 043d5709..8051083a 100644 --- a/proxy/pom.xml +++ b/proxy/pom.xml @@ -45,6 +45,7 @@ @@ -291,17 +291,11 @@ index 043d5709..0e27f723 100644 net.sf.jopt-simple jopt-simple -@@ -131,6 +133,53 @@ +@@ -131,6 +133,47 @@ ${project.version} runtime -+ -+ -+ org.slf4j -+ slf4j-jdk14 -+ 1.7.36 -+ compile -+ ++ + + net.minecrell + terminalconsoleappender