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
|
2020-08-05 02:27:24 +02:00
|
|
|
index 29200d223cf7c5948ebd0907ef5a1d9ea8114c81..1febe2aff4eab2f15e9bc4b21e6d0c350f122c87 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
|
|
|
|
@@ -201,7 +201,7 @@ public class PaperConfig {
|
|
|
|
|
|
|
|
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);
|
|
|
|
TimingsManager.hiddenConfigs = getList("timings.hidden-config-entries", Lists.newArrayList("database", "settings.bungeecord-addresses"));
|
|
|
|
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
2020-08-05 02:27:24 +02:00
|
|
|
index 8cc8134f701d2517d134077b2fcd223106c09478..c2d5f7d22beb4c4829dfcb55fa842eaf727e906c 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
|
2020-06-30 16:39:06 +02:00
|
|
|
@@ -600,7 +600,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"));
|