aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorgecko10000 <[email protected]>2024-04-12 10:21:31 -0700
committerGitHub <[email protected]>2024-04-12 18:21:31 +0100
commita7f1dc6a0700d984dc8d147d754c9d58f74ecb38 (patch)
tree358ab947e4c70b0f0cfc1123874aa061b56197fa
parent5436d44bf2509ff89129f8790ee4643f09c72871 (diff)
downloadPaper-a7f1dc6a0700d984dc8d147d754c9d58f74ecb38.tar.gz
Paper-a7f1dc6a0700d984dc8d147d754c9d58f74ecb38.zip
Change online mode default for Velocity configuration (#10413)
-rw-r--r--patches/server/0005-Paper-config-files.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0005-Paper-config-files.patch b/patches/server/0005-Paper-config-files.patch
index 21f0044039..a1510b54e6 100644
--- a/patches/server/0005-Paper-config-files.patch
+++ b/patches/server/0005-Paper-config-files.patch
@@ -15,7 +15,7 @@ public net.minecraft.server.dedicated.DedicatedServerProperties reload(Lnet/mine
public net.minecraft.world.level.NaturalSpawner SPAWNING_CATEGORIES
diff --git a/build.gradle.kts b/build.gradle.kts
-index beb50d67ea2c1933a115766627b2adabd2032929..b8970d0064b9b64e1c50ab373818c38611fd9f5e 100644
+index 69155f6badcd79b3479654363ca1f1d8a138a7ad..8332781de54d73cb5803828e98882a731daed81f 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -11,6 +11,7 @@ dependencies {
@@ -482,7 +482,7 @@ index 0000000000000000000000000000000000000000..c01b4393439838976965823298f12e47
+}
diff --git a/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java b/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
new file mode 100644
-index 0000000000000000000000000000000000000000..0aab42ac5d5b0fb8b59eb71d8d3b1ebbc7c76da7
+index 0000000000000000000000000000000000000000..a8268886d4a039975b6fed94b8dc325a8270f5fd
--- /dev/null
+++ b/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
@@ -0,0 +1,313 @@
@@ -575,7 +575,7 @@ index 0000000000000000000000000000000000000000..0aab42ac5d5b0fb8b59eb71d8d3b1ebb
+
+ public class Velocity extends ConfigurationPart {
+ public boolean enabled = false;
-+ public boolean onlineMode = false;
++ public boolean onlineMode = true;
+ public String secret = "";
+
+ @PostProcess
@@ -4985,7 +4985,7 @@ index 680a308c466c0056d4213e61f69cf13ee3ff5c61..cd39509d383c47319b71797e5d1df41c
world.serverLevelData.setDifficulty(config.difficulty);
world.setSpawnSettings(config.spawnMonsters, config.spawnAnimals);
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
-index 96210dd54e8ff6dc0375a8d03bf14fec1b26aaeb..19725db76dc3a12356993aed7edba507b52fe4d7 100644
+index 67d347741db1c5a9a6568ee084388a59e35b16ea..cc6d96c5015b4e5614e8091dc9113e82e9babc25 100644
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
@@ -141,6 +141,19 @@ public class Main {