Disable tab list rewriting by default
This mechanism generally causes more issues than it solves, and very few servers actually run in a more where this does anything benefitial, so, just disable it by default.
This commit is contained in:
parent
ef0fc26e9d
commit
a033a14504
|
@ -1,4 +1,4 @@
|
|||
From 4c98b2b4f1fdbc9d0cee68d4a10235d256886e46 Mon Sep 17 00:00:00 2001
|
||||
From 3e42daf051cb9b48d7b0ec77f9f627b76abf1059 Mon Sep 17 00:00:00 2001
|
||||
From: xDark <aleshkailyashevich@gmail.com>
|
||||
Date: Fri, 31 May 2019 08:11:31 +0300
|
||||
Subject: [PATCH] Allow to disable tablist rewrite
|
||||
|
@ -20,14 +20,14 @@ index 4a198ee9..d69463f0 100644
|
|||
+ boolean isDisableTabListRewrite();
|
||||
}
|
||||
diff --git a/proxy/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java b/proxy/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java
|
||||
index e860214f..527f310e 100644
|
||||
index e860214f..b88e3c8a 100644
|
||||
--- a/proxy/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java
|
||||
+++ b/proxy/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java
|
||||
@@ -43,6 +43,7 @@ public class WaterfallConfiguration extends Configuration {
|
||||
private boolean disableModernTabLimiter = true;
|
||||
|
||||
private boolean disableEntityMetadataRewrite = false;
|
||||
+ private boolean disableTabListRewrite = false;
|
||||
+ private boolean disableTabListRewrite = true;
|
||||
|
||||
@Override
|
||||
public void load() {
|
||||
|
@ -71,5 +71,5 @@ index e2adf3f2..74575854 100644
|
|||
|
||||
@Override
|
||||
--
|
||||
2.35.1
|
||||
2.36.1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 887e10d7d4ecb72a8204708591dc90deb0f5dd61 Mon Sep 17 00:00:00 2001
|
||||
From 2e8fb2517d4ac85d3899e73004d2b8c9909d1eca Mon Sep 17 00:00:00 2001
|
||||
From: FivePB <admin@fivepb.me>
|
||||
Date: Tue, 16 Nov 2021 21:15:32 +0100
|
||||
Subject: [PATCH] Configurable plugin messaging limits
|
||||
|
@ -31,12 +31,12 @@ index d69463f0..469fe0e1 100644
|
|||
+ int getPluginChannelNameLimit();
|
||||
}
|
||||
diff --git a/proxy/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java b/proxy/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java
|
||||
index 527f310e..e31fb00a 100644
|
||||
index b88e3c8a..da0efa36 100644
|
||||
--- a/proxy/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java
|
||||
+++ b/proxy/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java
|
||||
@@ -45,6 +45,23 @@ public class WaterfallConfiguration extends Configuration {
|
||||
private boolean disableEntityMetadataRewrite = false;
|
||||
private boolean disableTabListRewrite = false;
|
||||
private boolean disableTabListRewrite = true;
|
||||
|
||||
+ /*
|
||||
+ * Plugin Message limiting options
|
||||
|
@ -83,7 +83,7 @@ index 527f310e..e31fb00a 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 86d28d1c..51d5bde4 100644
|
||||
index 8da4708b..d55f2072 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
|
||||
@@ -708,9 +708,10 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
||||
|
@ -101,5 +101,5 @@ index 86d28d1c..51d5bde4 100644
|
|||
}
|
||||
} else if ( input.getTag().equals( "UNREGISTER" ) || input.getTag().equals( "minecraft:unregister" ) )
|
||||
--
|
||||
2.35.3
|
||||
2.36.1
|
||||
|
||||
|
|
Loading…
Reference in New Issue