2020-07-17 18:05:50 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2020-06-27 19:00:18 +02:00
|
|
|
From: tr7zw <tr7zw@live.de>
|
|
|
|
Date: Tue, 21 Apr 2020 16:14:10 +0200
|
|
|
|
Subject: [PATCH] Modify default configs
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
2021-01-03 12:41:36 +01:00
|
|
|
index ce14283dd1a1fddbea17c2fbaf1c4ef9d7a7479f..4a21a83c448355d61fb946bd0eb5d752767d536a 100644
|
2020-06-27 19:00:18 +02:00
|
|
|
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
|
|
|
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
2020-12-01 08:42:51 +01:00
|
|
|
@@ -206,7 +206,7 @@ public class PaperConfig {
|
2020-06-27 19:00:18 +02:00
|
|
|
|
|
|
|
public static String timingsServerName;
|
|
|
|
private static void timings() {
|
|
|
|
- boolean timings = getBoolean("timings.enabled", true);
|
2020-08-03 18:48:42 +02:00
|
|
|
+ boolean timings = getBoolean("timings.enabled", false); // Yatopia don't profile by default
|
2020-06-27 19:00:18 +02:00
|
|
|
boolean verboseTimings = getBoolean("timings.verbose", true);
|
|
|
|
TimingsManager.privacy = getBoolean("timings.server-name-privacy", false);
|
2021-01-03 12:41:36 +01:00
|
|
|
TimingsManager.hiddenConfigs = getList("timings.hidden-config-entries", Lists.newArrayList("database", "settings.bungeecord-addresses", "settings.velocity-support.secret"));
|
2020-06-27 19:00:18 +02:00
|
|
|
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
2021-01-15 15:20:46 +01:00
|
|
|
index 234d2daecc5d0bf6a99c0a5f4a87f947a15029d9..e11a180f7a45660ac278a3b45a971caa06eb3043 100644
|
2020-06-27 19:00:18 +02:00
|
|
|
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
|
|
|
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
2021-01-15 15:20:46 +01:00
|
|
|
@@ -627,7 +627,7 @@ public class PaperWorldConfig {
|
2020-06-27 19:00:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean cooldownHopperWhenFull = true;
|
|
|
|
- public boolean disableHopperMoveEvents = false;
|
2020-08-03 18:48:42 +02:00
|
|
|
+ public boolean disableHopperMoveEvents = true; // Yatopia disable by default
|
2020-06-27 19:00:18 +02:00
|
|
|
private void hopperOptimizations() {
|
|
|
|
cooldownHopperWhenFull = getBoolean("hopper.cooldown-when-full", cooldownHopperWhenFull);
|
|
|
|
log("Cooldown Hoppers when Full: " + (cooldownHopperWhenFull ? "enabled" : "disabled"));
|