Add config option to specify timings url (#6256)

This commit is contained in:
Max Lee
2021-07-25 08:10:30 +01:00
parent 8b32eebc95
commit b7ac1102ba
2 changed files with 7 additions and 2 deletions

View File

@@ -1722,7 +1722,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+import org.bukkit.plugin.java.PluginClassLoader;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+import java.util.concurrent.ConcurrentHashMap;
@@ -1737,6 +1736,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ public static final FullServerTickHandler FULL_SERVER_TICK = new FullServerTickHandler();
+ public static final TimingHandler TIMINGS_TICK = Timings.ofSafe("Timings Tick", FULL_SERVER_TICK);
+ public static final Timing PLUGIN_GROUP_HANDLER = Timings.ofSafe("Plugins");
+ public static String url = "https://timings.aikar.co/";
+ public static List<String> hiddenConfigs = new ArrayList<String>();
+ public static boolean privacy = false;
+