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-12-01 08:42:51 +01:00
|
|
|
index e21ef1bdc61b7ae98eb752130a4d125c78c652d9..d0ee3aeb973146b55c3b194c9407e9e5f91a0f62 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);
|
|
|
|
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-12-04 07:34:51 +01:00
|
|
|
index 5ffc5af1de3bb94806832c302a6150419f80fd34..0505ec7fb5512017fbc4ad1abc32cd7b1102e8d3 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-11-15 14:39:13 +01:00
|
|
|
@@ -598,7 +598,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"));
|