Add config option to specify timings url (#6256)

This commit is contained in:
Max Lee 2021-07-25 08:10:30 +01:00 committed by GitHub
parent e905eb1986
commit 2f1f1b7f0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 85 additions and 80 deletions

View file

@ -14,7 +14,7 @@ forwarding, and is integrated into the Minecraft login process by using the 1.13
login plugin message packet.
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
index 585be2fcbd63a59f911df69136eae07ce665053c..9768c591e72ce2ef5fdb43e2fc63378c57773216 100644
index 50d099d4c9d61bf4679d0efce8617f662e2ba971..0e0afdea5b9d6bdd706414cf615fa826d5efb8c7 100644
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
@@ -9,6 +9,7 @@ import java.io.IOException;
@ -25,7 +25,7 @@ index 585be2fcbd63a59f911df69136eae07ce665053c..9768c591e72ce2ef5fdb43e2fc63378c
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -253,7 +254,7 @@ public class PaperConfig {
@@ -258,7 +259,7 @@ public class PaperConfig {
}
public static boolean isProxyOnlineMode() {
@ -34,7 +34,7 @@ index 585be2fcbd63a59f911df69136eae07ce665053c..9768c591e72ce2ef5fdb43e2fc63378c
}
public static int packetInSpamThreshold = 300;
@@ -326,6 +327,20 @@ public class PaperConfig {
@@ -331,6 +332,20 @@ public class PaperConfig {
tabSpamLimit = getInt("settings.spam-limiter.tab-spam-limit", tabSpamLimit);
}