diff --git a/README.md b/README.md index 06ec1ec..97e08df 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@

Gale

A Minecraft server fork of Paper

-

Master branch: no known issues! ✅

+
Master branch: no known issues! ✅
[![Discord](https://img.shields.io/discord/1045402468416233592?color=5865F2&label=discord&style=for-the-badge)](https://discord.com/invite/pbsPkpUjG4)
@@ -27,7 +27,7 @@ In order to distribute and use this server software, you need a Paperclip file: This fork would not exist without the years-long work of all the contributors to the [Paper](https://github.com/PaperMC/Paper) and [Spigot](https://www.spigotmc.org/) projects, including the dedication of their community to stability and trust among all users. Over the years, many forks of Paper have appeared, including some that contain changes that are too minor to be worth inclusion and maintaining by the Paper project. -We gratefully include various tested and carefully individually reviewed changes from Paper forks, including [Airplane](https://github.com/TECHNOVE/Airplane), [Mirai](https://github.com/etil2jz/Mirai), [Purpur](https://github.com/PurpurMC/Purpur), [JettPack](https://gitlab.com/Titaniumtown/JettPack), [Patina](https://github.com/PatinaMC/Patina), [EmpireCraft](https://github.com/starlis/empirecraft) and [Slice](https://github.com/Cryptite/Slice), and from various Fabric mods, including [Lithium](https://github.com/CaffeineMC/lithium-fabric), [VMP](https://github.com/RelativityMC/VMP-fabric) and [C2ME](https://github.com/RelativityMC/C2ME-fabric). +We gratefully include various tested and carefully individually reviewed changes from Paper forks, including [Airplane](https://github.com/TECHNOVE/Airplane), [Mirai](https://github.com/etil2jz/Mirai), [Purpur](https://github.com/PurpurMC/Purpur), [JettPack](https://gitlab.com/Titaniumtown/JettPack), [Patina](https://github.com/PatinaMC/Patina), [KeYi](https://github.com/KeYiMC/KeYi), [EmpireCraft](https://github.com/starlis/empirecraft) and [Slice](https://github.com/Cryptite/Slice), and from various Fabric mods, including [Lithium](https://github.com/CaffeineMC/lithium-fabric), [VMP](https://github.com/RelativityMC/VMP-fabric) and [C2ME](https://github.com/RelativityMC/C2ME-fabric). We would also like to thank our friends at [MultiPaper](https://github.com/MultiPaper/MultiPaper) and MCMT ([Fabric](https://github.com/himekifee/MCMTFabric), [Forge](https://github.com/jediminer543/JMT-MCMT)) for their shared knowledge and hard work towards a common goal. ## License diff --git a/patches/server/0053-Do-not-log-run-as-root-warning.patch b/patches/server/0053-Do-not-log-run-as-root-warning.patch new file mode 100644 index 0000000..b8adc3a --- /dev/null +++ b/patches/server/0053-Do-not-log-run-as-root-warning.patch @@ -0,0 +1,42 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: MartijnMuijsers +Date: Thu, 1 Dec 2022 16:43:50 +0100 +Subject: [PATCH] Do not log run as root warning + +License: MIT (https://opensource.org/licenses/MIT) + +This patch is based on the following patch: +"Options of warnings" +By: nostalgic853 +As part of: KeYi (https://github.com/KeYiMC/KeYi) +Licensed under: MIT (https://opensource.org/licenses/MIT) + +* KeYi description * + +Let users decide if we should warn while running in a root user + +diff --git a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java +index 007fe6820e208c04e81acbd7bb7eaf0a22f6f64f..95a33f2e9c91831f1fdf903558a088594dcf41c4 100644 +--- a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java ++++ b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java +@@ -184,7 +184,7 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface + } + + // Paper start - detect running as root +- if (io.papermc.paper.util.ServerEnvironment.userIsRootOrAdmin()) { ++ if (GaleGlobalConfiguration.get().logToConsole.runningAsRootOrAdminWarning && io.papermc.paper.util.ServerEnvironment.userIsRootOrAdmin()) { // Gale - KeYi - do not log run as root warning + DedicatedServer.LOGGER.warn("****************************"); + DedicatedServer.LOGGER.warn("YOU ARE RUNNING THIS SERVER AS AN ADMINISTRATIVE OR ROOT USER. THIS IS NOT ADVISED."); + DedicatedServer.LOGGER.warn("YOU ARE OPENING YOURSELF UP TO POTENTIAL RISKS WHEN DOING THIS."); +diff --git a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +index ce8c7032dff4e119d018d42fa579f9231cf41961..f4e20ea5f59e0709cf2dd485a0e5798822e5301d 100644 +--- a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java ++++ b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +@@ -61,6 +61,7 @@ public class GaleGlobalConfiguration extends ConfigurationPart { + public boolean setBlockInFarChunk = true; // Gale - Purpur - do not log setBlock in far chunks + public boolean unrecognizedRecipes = false; // Gale - Purpur - do not log unrecognized recipes + public boolean legacyMaterialInitialization = false; // Gale - Purpur - do not log legacy Material initialization ++ public boolean runningAsRootOrAdminWarning = true; // Gale - KeYi - do not log run as root warning + + public Chat chat; + public class Chat extends ConfigurationPart { diff --git a/patches/server/0054-Do-not-log-offline-mode-warning.patch b/patches/server/0054-Do-not-log-offline-mode-warning.patch new file mode 100644 index 0000000..a9afa4d --- /dev/null +++ b/patches/server/0054-Do-not-log-offline-mode-warning.patch @@ -0,0 +1,42 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: MartijnMuijsers +Date: Thu, 1 Dec 2022 16:52:27 +0100 +Subject: [PATCH] Do not log offline mode warning + +License: MIT (https://opensource.org/licenses/MIT) + +This patch is based on the following patch: +"Options of warnings" +By: nostalgic853 +As part of: KeYi (https://github.com/KeYiMC/KeYi) +Licensed under: MIT (https://opensource.org/licenses/MIT) + +* KeYi description * + +Let users decide if we should warn while running in offline mode + +diff --git a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java +index 95a33f2e9c91831f1fdf903558a088594dcf41c4..61ab44d572b3ef4b6837aafa7e184de7bc0a7327 100644 +--- a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java ++++ b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java +@@ -298,7 +298,7 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface + server.enablePlugins(org.bukkit.plugin.PluginLoadOrder.STARTUP); + // CraftBukkit end + +- if (!this.usesAuthentication()) { ++ if (GaleGlobalConfiguration.get().logToConsole.offlineModeWarning && !this.usesAuthentication()) { // Gale - KeYi - do not log offline mode warning + DedicatedServer.LOGGER.warn("**** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!"); + DedicatedServer.LOGGER.warn("The server will make no attempt to authenticate usernames. Beware."); + // Spigot start +diff --git a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +index f4e20ea5f59e0709cf2dd485a0e5798822e5301d..cf4a354fd3a68f8a0639ed98c7c2e842c6459389 100644 +--- a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java ++++ b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +@@ -62,6 +62,7 @@ public class GaleGlobalConfiguration extends ConfigurationPart { + public boolean unrecognizedRecipes = false; // Gale - Purpur - do not log unrecognized recipes + public boolean legacyMaterialInitialization = false; // Gale - Purpur - do not log legacy Material initialization + public boolean runningAsRootOrAdminWarning = true; // Gale - KeYi - do not log run as root warning ++ public boolean offlineModeWarning = true; // Gale - KeYi - do not log offline mode warning + + public Chat chat; + public class Chat extends ConfigurationPart { diff --git a/patches/server/0053-Softly-log-invalid-pool-element-errors.patch b/patches/server/0055-Softly-log-invalid-pool-element-errors.patch similarity index 96% rename from patches/server/0053-Softly-log-invalid-pool-element-errors.patch rename to patches/server/0055-Softly-log-invalid-pool-element-errors.patch index 0875920..e07aa95 100644 --- a/patches/server/0053-Softly-log-invalid-pool-element-errors.patch +++ b/patches/server/0055-Softly-log-invalid-pool-element-errors.patch @@ -38,7 +38,7 @@ index d2b4654a9095a678bbc9e004af969cf54da0fcab..d797bac97ec1adec7a25a26c8e052e70 }); this.rotation = Rotation.valueOf(nbt.getString("rotation")); diff --git a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -index ce8c7032dff4e119d018d42fa579f9231cf41961..24ed4fb7ddacba24873755edfa88912ffdf81cc8 100644 +index cf4a354fd3a68f8a0639ed98c7c2e842c6459389..bc44c8537ea69a7682584db57ec566ecb4e76b3b 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java @@ -4,8 +4,12 @@ package org.galemc.gale.configuration; @@ -63,7 +63,7 @@ index ce8c7032dff4e119d018d42fa579f9231cf41961..24ed4fb7ddacba24873755edfa88912f public boolean invalidStatistics = true; // Gale - EMC - do not log invalid statistics public boolean ignoredAdvancements = true; // Gale - Purpur - do not log ignored advancements -@@ -69,6 +73,21 @@ public class GaleGlobalConfiguration extends ConfigurationPart { +@@ -71,6 +75,21 @@ public class GaleGlobalConfiguration extends ConfigurationPart { public boolean notSecureMarker = true; // Gale - do not log Not Secure marker } diff --git a/patches/server/0054-Fix-legacy-colors-in-console.patch b/patches/server/0056-Fix-legacy-colors-in-console.patch similarity index 98% rename from patches/server/0054-Fix-legacy-colors-in-console.patch rename to patches/server/0056-Fix-legacy-colors-in-console.patch index 64be92a..041ff85 100644 --- a/patches/server/0054-Fix-legacy-colors-in-console.patch +++ b/patches/server/0056-Fix-legacy-colors-in-console.patch @@ -106,7 +106,7 @@ index b4d0b7ecd56ab952319946854168c1299cb0b1be..beea5c17f07f85825ed1ba5a016f6edc + } diff --git a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -index 24ed4fb7ddacba24873755edfa88912ffdf81cc8..0965f43068d12a85090906568e2c1b731730f015 100644 +index bc44c8537ea69a7682584db57ec566ecb4e76b3b..0217977e15ae30918ce6e1dbddb5bdb5d4365c1c 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java @@ -60,6 +60,7 @@ public class GaleGlobalConfiguration extends ConfigurationPart { diff --git a/patches/server/0055-Fix-outdated-server-showing-in-ping-before-server-fu.patch b/patches/server/0057-Fix-outdated-server-showing-in-ping-before-server-fu.patch similarity index 100% rename from patches/server/0055-Fix-outdated-server-showing-in-ping-before-server-fu.patch rename to patches/server/0057-Fix-outdated-server-showing-in-ping-before-server-fu.patch diff --git a/patches/server/0056-Make-sand-duping-fix-configurable.patch b/patches/server/0058-Make-sand-duping-fix-configurable.patch similarity index 100% rename from patches/server/0056-Make-sand-duping-fix-configurable.patch rename to patches/server/0058-Make-sand-duping-fix-configurable.patch diff --git a/patches/server/0057-Fix-MC-238526.patch b/patches/server/0059-Fix-MC-238526.patch similarity index 100% rename from patches/server/0057-Fix-MC-238526.patch rename to patches/server/0059-Fix-MC-238526.patch diff --git a/patches/server/0058-Fix-MC-123848.patch b/patches/server/0060-Fix-MC-123848.patch similarity index 100% rename from patches/server/0058-Fix-MC-123848.patch rename to patches/server/0060-Fix-MC-123848.patch diff --git a/patches/server/0059-Fix-cow-rotation-when-shearing-mooshroom.patch b/patches/server/0061-Fix-cow-rotation-when-shearing-mooshroom.patch similarity index 100% rename from patches/server/0059-Fix-cow-rotation-when-shearing-mooshroom.patch rename to patches/server/0061-Fix-cow-rotation-when-shearing-mooshroom.patch diff --git a/patches/server/0060-Fix-MC-121706.patch b/patches/server/0062-Fix-MC-121706.patch similarity index 100% rename from patches/server/0060-Fix-MC-121706.patch rename to patches/server/0062-Fix-MC-121706.patch diff --git a/patches/server/0061-End-gateway-should-check-if-entity-can-use-portal.patch b/patches/server/0063-End-gateway-should-check-if-entity-can-use-portal.patch similarity index 100% rename from patches/server/0061-End-gateway-should-check-if-entity-can-use-portal.patch rename to patches/server/0063-End-gateway-should-check-if-entity-can-use-portal.patch diff --git a/patches/server/0062-Prevent-entities-eating-blocks-in-non-ticking-chunks.patch b/patches/server/0064-Prevent-entities-eating-blocks-in-non-ticking-chunks.patch similarity index 100% rename from patches/server/0062-Prevent-entities-eating-blocks-in-non-ticking-chunks.patch rename to patches/server/0064-Prevent-entities-eating-blocks-in-non-ticking-chunks.patch diff --git a/patches/server/0063-Make-arrow-movement-resetting-despawn-counter-config.patch b/patches/server/0065-Make-arrow-movement-resetting-despawn-counter-config.patch similarity index 100% rename from patches/server/0063-Make-arrow-movement-resetting-despawn-counter-config.patch rename to patches/server/0065-Make-arrow-movement-resetting-despawn-counter-config.patch diff --git a/patches/server/0064-Reduce-array-allocations.patch b/patches/server/0066-Reduce-array-allocations.patch similarity index 100% rename from patches/server/0064-Reduce-array-allocations.patch rename to patches/server/0066-Reduce-array-allocations.patch diff --git a/patches/server/0065-Optimize-sun-burn-tick.patch b/patches/server/0067-Optimize-sun-burn-tick.patch similarity index 100% rename from patches/server/0065-Optimize-sun-burn-tick.patch rename to patches/server/0067-Optimize-sun-burn-tick.patch diff --git a/patches/server/0066-Reduce-lambda-and-Optional-allocation-in-EntityBased.patch b/patches/server/0068-Reduce-lambda-and-Optional-allocation-in-EntityBased.patch similarity index 100% rename from patches/server/0066-Reduce-lambda-and-Optional-allocation-in-EntityBased.patch rename to patches/server/0068-Reduce-lambda-and-Optional-allocation-in-EntityBased.patch diff --git a/patches/server/0067-Replace-AI-goal-set-with-optimized-collection.patch b/patches/server/0069-Replace-AI-goal-set-with-optimized-collection.patch similarity index 100% rename from patches/server/0067-Replace-AI-goal-set-with-optimized-collection.patch rename to patches/server/0069-Replace-AI-goal-set-with-optimized-collection.patch diff --git a/patches/server/0068-Replace-game-rules-map-with-optimized-collection.patch b/patches/server/0070-Replace-game-rules-map-with-optimized-collection.patch similarity index 100% rename from patches/server/0068-Replace-game-rules-map-with-optimized-collection.patch rename to patches/server/0070-Replace-game-rules-map-with-optimized-collection.patch diff --git a/patches/server/0069-Replace-AI-attributes-with-optimized-collections.patch b/patches/server/0071-Replace-AI-attributes-with-optimized-collections.patch similarity index 100% rename from patches/server/0069-Replace-AI-attributes-with-optimized-collections.patch rename to patches/server/0071-Replace-AI-attributes-with-optimized-collections.patch diff --git a/patches/server/0070-Replace-class-map-with-optimized-collection.patch b/patches/server/0072-Replace-class-map-with-optimized-collection.patch similarity index 100% rename from patches/server/0070-Replace-class-map-with-optimized-collection.patch rename to patches/server/0072-Replace-class-map-with-optimized-collection.patch diff --git a/patches/server/0071-Replace-shape-full-block-cache-with-hashtable.patch b/patches/server/0073-Replace-shape-full-block-cache-with-hashtable.patch similarity index 100% rename from patches/server/0071-Replace-shape-full-block-cache-with-hashtable.patch rename to patches/server/0073-Replace-shape-full-block-cache-with-hashtable.patch diff --git a/patches/server/0072-Avoid-Class-isAssignableFrom-call-in-ClassInstanceMu.patch b/patches/server/0074-Avoid-Class-isAssignableFrom-call-in-ClassInstanceMu.patch similarity index 100% rename from patches/server/0072-Avoid-Class-isAssignableFrom-call-in-ClassInstanceMu.patch rename to patches/server/0074-Avoid-Class-isAssignableFrom-call-in-ClassInstanceMu.patch diff --git a/patches/server/0073-Cache-BlockStatePairKey-hash.patch b/patches/server/0075-Cache-BlockStatePairKey-hash.patch similarity index 100% rename from patches/server/0073-Cache-BlockStatePairKey-hash.patch rename to patches/server/0075-Cache-BlockStatePairKey-hash.patch diff --git a/patches/server/0074-Cache-CubeVoxelShape-shape-array.patch b/patches/server/0076-Cache-CubeVoxelShape-shape-array.patch similarity index 100% rename from patches/server/0074-Cache-CubeVoxelShape-shape-array.patch rename to patches/server/0076-Cache-CubeVoxelShape-shape-array.patch diff --git a/patches/server/0075-Replace-division-by-multiplication-in-CubePointRange.patch b/patches/server/0077-Replace-division-by-multiplication-in-CubePointRange.patch similarity index 100% rename from patches/server/0075-Replace-division-by-multiplication-in-CubePointRange.patch rename to patches/server/0077-Replace-division-by-multiplication-in-CubePointRange.patch diff --git a/patches/server/0076-Replace-parts-by-size-in-CubePointRange.patch b/patches/server/0078-Replace-parts-by-size-in-CubePointRange.patch similarity index 100% rename from patches/server/0076-Replace-parts-by-size-in-CubePointRange.patch rename to patches/server/0078-Replace-parts-by-size-in-CubePointRange.patch diff --git a/patches/server/0077-Check-frozen-ticks-before-landing-block.patch b/patches/server/0079-Check-frozen-ticks-before-landing-block.patch similarity index 100% rename from patches/server/0077-Check-frozen-ticks-before-landing-block.patch rename to patches/server/0079-Check-frozen-ticks-before-landing-block.patch diff --git a/patches/server/0078-Faster-chunk-serialization.patch b/patches/server/0080-Faster-chunk-serialization.patch similarity index 100% rename from patches/server/0078-Faster-chunk-serialization.patch rename to patches/server/0080-Faster-chunk-serialization.patch diff --git a/patches/server/0079-Update-boss-bar-within-tick.patch b/patches/server/0081-Update-boss-bar-within-tick.patch similarity index 100% rename from patches/server/0079-Update-boss-bar-within-tick.patch rename to patches/server/0081-Update-boss-bar-within-tick.patch diff --git a/patches/server/0080-Cache-ominous-banner-item.patch b/patches/server/0082-Cache-ominous-banner-item.patch similarity index 100% rename from patches/server/0080-Cache-ominous-banner-item.patch rename to patches/server/0082-Cache-ominous-banner-item.patch diff --git a/patches/server/0081-Precompute-piston-shapes.patch b/patches/server/0083-Precompute-piston-shapes.patch similarity index 100% rename from patches/server/0081-Precompute-piston-shapes.patch rename to patches/server/0083-Precompute-piston-shapes.patch diff --git a/patches/server/0082-Optimize-world-generation-chunk-and-block-access.patch b/patches/server/0084-Optimize-world-generation-chunk-and-block-access.patch similarity index 100% rename from patches/server/0082-Optimize-world-generation-chunk-and-block-access.patch rename to patches/server/0084-Optimize-world-generation-chunk-and-block-access.patch diff --git a/patches/server/0083-Cache-world-generator-sea-level.patch b/patches/server/0085-Cache-world-generator-sea-level.patch similarity index 100% rename from patches/server/0083-Cache-world-generator-sea-level.patch rename to patches/server/0085-Cache-world-generator-sea-level.patch diff --git a/patches/server/0084-Skip-entity-move-if-movement-is-zero.patch b/patches/server/0086-Skip-entity-move-if-movement-is-zero.patch similarity index 100% rename from patches/server/0084-Skip-entity-move-if-movement-is-zero.patch rename to patches/server/0086-Skip-entity-move-if-movement-is-zero.patch diff --git a/patches/server/0085-Store-mob-counts-in-an-array.patch b/patches/server/0087-Store-mob-counts-in-an-array.patch similarity index 100% rename from patches/server/0085-Store-mob-counts-in-an-array.patch rename to patches/server/0087-Store-mob-counts-in-an-array.patch diff --git a/patches/server/0086-Use-linked-map-for-entity-trackers.patch b/patches/server/0088-Use-linked-map-for-entity-trackers.patch similarity index 100% rename from patches/server/0086-Use-linked-map-for-entity-trackers.patch rename to patches/server/0088-Use-linked-map-for-entity-trackers.patch diff --git a/patches/server/0087-Optimize-noise-generation.patch b/patches/server/0089-Optimize-noise-generation.patch similarity index 100% rename from patches/server/0087-Optimize-noise-generation.patch rename to patches/server/0089-Optimize-noise-generation.patch diff --git a/patches/server/0088-Ignore-durability-change-equipment-updates.patch b/patches/server/0090-Ignore-durability-change-equipment-updates.patch similarity index 100% rename from patches/server/0088-Ignore-durability-change-equipment-updates.patch rename to patches/server/0090-Ignore-durability-change-equipment-updates.patch diff --git a/patches/server/0089-Hide-flames-on-entities-with-fire-resistance.patch b/patches/server/0091-Hide-flames-on-entities-with-fire-resistance.patch similarity index 100% rename from patches/server/0089-Hide-flames-on-entities-with-fire-resistance.patch rename to patches/server/0091-Hide-flames-on-entities-with-fire-resistance.patch diff --git a/patches/server/0090-Skip-cloning-advancement-criteria.patch b/patches/server/0092-Skip-cloning-advancement-criteria.patch similarity index 100% rename from patches/server/0090-Skip-cloning-advancement-criteria.patch rename to patches/server/0092-Skip-cloning-advancement-criteria.patch diff --git a/patches/server/0091-Player-canSee-by-entity-UUID.patch b/patches/server/0093-Player-canSee-by-entity-UUID.patch similarity index 100% rename from patches/server/0091-Player-canSee-by-entity-UUID.patch rename to patches/server/0093-Player-canSee-by-entity-UUID.patch diff --git a/patches/server/0092-Spread-out-sending-all-player-info.patch b/patches/server/0094-Spread-out-sending-all-player-info.patch similarity index 100% rename from patches/server/0092-Spread-out-sending-all-player-info.patch rename to patches/server/0094-Spread-out-sending-all-player-info.patch diff --git a/patches/server/0093-Optimize-player-list-for-sending-player-info.patch b/patches/server/0095-Optimize-player-list-for-sending-player-info.patch similarity index 100% rename from patches/server/0093-Optimize-player-list-for-sending-player-info.patch rename to patches/server/0095-Optimize-player-list-for-sending-player-info.patch diff --git a/patches/server/0094-Skip-PlayerCommandSendEvent-if-there-are-no-listener.patch b/patches/server/0096-Skip-PlayerCommandSendEvent-if-there-are-no-listener.patch similarity index 100% rename from patches/server/0094-Skip-PlayerCommandSendEvent-if-there-are-no-listener.patch rename to patches/server/0096-Skip-PlayerCommandSendEvent-if-there-are-no-listener.patch diff --git a/patches/server/0095-Send-multiple-keep-alive-packets.patch b/patches/server/0097-Send-multiple-keep-alive-packets.patch similarity index 97% rename from patches/server/0095-Send-multiple-keep-alive-packets.patch rename to patches/server/0097-Send-multiple-keep-alive-packets.patch index 038cb83..c0abdc1 100644 --- a/patches/server/0095-Send-multiple-keep-alive-packets.patch +++ b/patches/server/0097-Send-multiple-keep-alive-packets.patch @@ -84,10 +84,10 @@ index 9de597c11c3bd0f23e87c3a6187b2036987356e0..c171c272d5fcf0900514e18eafaa1b5e if (this.keepAlivePending && packet.getId() == this.keepAliveChallenge) { int i = (int) (Util.getMillis() - this.keepAliveTime); diff --git a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -index 0965f43068d12a85090906568e2c1b731730f015..024cf924592999726458976b4d73df4b71843a2e 100644 +index 0217977e15ae30918ce6e1dbddb5bdb5d4365c1c..5c0eaad8dd65917802dcd714f1af77bbd91d1651 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -@@ -91,4 +91,16 @@ public class GaleGlobalConfiguration extends ConfigurationPart { +@@ -93,4 +93,16 @@ public class GaleGlobalConfiguration extends ConfigurationPart { } diff --git a/patches/server/0096-Prevent-entities-random-strolling-into-non-ticking-c.patch b/patches/server/0098-Prevent-entities-random-strolling-into-non-ticking-c.patch similarity index 100% rename from patches/server/0096-Prevent-entities-random-strolling-into-non-ticking-c.patch rename to patches/server/0098-Prevent-entities-random-strolling-into-non-ticking-c.patch diff --git a/patches/server/0097-Specific-interval-TPS-API.patch b/patches/server/0099-Specific-interval-TPS-API.patch similarity index 100% rename from patches/server/0097-Specific-interval-TPS-API.patch rename to patches/server/0099-Specific-interval-TPS-API.patch diff --git a/patches/server/0098-5-second-TPS-average.patch b/patches/server/0100-5-second-TPS-average.patch similarity index 100% rename from patches/server/0098-5-second-TPS-average.patch rename to patches/server/0100-5-second-TPS-average.patch diff --git a/patches/server/0099-Measure-last-tick-time.patch b/patches/server/0101-Measure-last-tick-time.patch similarity index 100% rename from patches/server/0099-Measure-last-tick-time.patch rename to patches/server/0101-Measure-last-tick-time.patch diff --git a/patches/server/0100-Last-tick-time-API.patch b/patches/server/0102-Last-tick-time-API.patch similarity index 100% rename from patches/server/0100-Last-tick-time-API.patch rename to patches/server/0102-Last-tick-time-API.patch diff --git a/patches/server/0101-Show-last-tick-time-in-tps-command.patch b/patches/server/0103-Show-last-tick-time-in-tps-command.patch similarity index 97% rename from patches/server/0101-Show-last-tick-time-in-tps-command.patch rename to patches/server/0103-Show-last-tick-time-in-tps-command.patch index 8a1add0..fbc7977 100644 --- a/patches/server/0101-Show-last-tick-time-in-tps-command.patch +++ b/patches/server/0103-Show-last-tick-time-in-tps-command.patch @@ -12,10 +12,10 @@ As part of: YAPFA (https://github.com/tr7zw/YAPFA) Licensed under: MIT (https://opensource.org/licenses/MIT) diff --git a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -index 024cf924592999726458976b4d73df4b71843a2e..eb1a5b20810cbad9f47505a8534a42b20b8653d5 100644 +index 5c0eaad8dd65917802dcd714f1af77bbd91d1651..e92a4fc4a503a420b09e5373a6c1f5d2d71d32d6 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -@@ -101,6 +101,14 @@ public class GaleGlobalConfiguration extends ConfigurationPart { +@@ -103,6 +103,14 @@ public class GaleGlobalConfiguration extends ConfigurationPart { } diff --git a/patches/server/0102-Increase-time-statistics-in-intervals.patch b/patches/server/0104-Increase-time-statistics-in-intervals.patch similarity index 98% rename from patches/server/0102-Increase-time-statistics-in-intervals.patch rename to patches/server/0104-Increase-time-statistics-in-intervals.patch index def8748..01de761 100644 --- a/patches/server/0102-Increase-time-statistics-in-intervals.patch +++ b/patches/server/0104-Increase-time-statistics-in-intervals.patch @@ -64,7 +64,7 @@ index 8818ca46af000926ed9eacb47953f440bdac1342..2bf1663dc1e969ea9e192c9941155eb9 int i = 29999999; diff --git a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -index eb1a5b20810cbad9f47505a8534a42b20b8653d5..44c69a6104f19d799510e349448b8a15805c38c0 100644 +index e92a4fc4a503a420b09e5373a6c1f5d2d71d32d6..1a8e57b9891a8f54da6024284ba0ed0cb4562a23 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java @@ -43,6 +43,25 @@ public class GaleGlobalConfiguration extends ConfigurationPart { diff --git a/patches/server/0103-For-collision-check-has-physics-before-same-vehicle.patch b/patches/server/0105-For-collision-check-has-physics-before-same-vehicle.patch similarity index 100% rename from patches/server/0103-For-collision-check-has-physics-before-same-vehicle.patch rename to patches/server/0105-For-collision-check-has-physics-before-same-vehicle.patch diff --git a/patches/server/0104-Skip-negligible-planar-movement-multiplication.patch b/patches/server/0106-Skip-negligible-planar-movement-multiplication.patch similarity index 100% rename from patches/server/0104-Skip-negligible-planar-movement-multiplication.patch rename to patches/server/0106-Skip-negligible-planar-movement-multiplication.patch diff --git a/patches/server/0105-Variable-main-thread-task-delay.patch b/patches/server/0107-Variable-main-thread-task-delay.patch similarity index 99% rename from patches/server/0105-Variable-main-thread-task-delay.patch rename to patches/server/0107-Variable-main-thread-task-delay.patch index 4bd51f3..d1043bc 100644 --- a/patches/server/0105-Variable-main-thread-task-delay.patch +++ b/patches/server/0107-Variable-main-thread-task-delay.patch @@ -864,7 +864,7 @@ index 0000000000000000000000000000000000000000..4b82aea23b99180f13c71a1797c4d829 + +} diff --git a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -index 44c69a6104f19d799510e349448b8a15805c38c0..02e9a61635078af3d31a112984f4c20dddc8ac7b 100644 +index 1a8e57b9891a8f54da6024284ba0ed0cb4562a23..9bf34c19b41058108af5bc7be4f8d9fa89f3d8bd 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java @@ -2,11 +2,14 @@ diff --git a/patches/server/0106-Reduce-RandomSource-instances.patch b/patches/server/0108-Reduce-RandomSource-instances.patch similarity index 100% rename from patches/server/0106-Reduce-RandomSource-instances.patch rename to patches/server/0108-Reduce-RandomSource-instances.patch diff --git a/patches/server/0107-CPU-cores-estimation.patch b/patches/server/0109-CPU-cores-estimation.patch similarity index 94% rename from patches/server/0107-CPU-cores-estimation.patch rename to patches/server/0109-CPU-cores-estimation.patch index dbbb186..57ef626 100644 --- a/patches/server/0107-CPU-cores-estimation.patch +++ b/patches/server/0109-CPU-cores-estimation.patch @@ -6,7 +6,7 @@ Subject: [PATCH] CPU cores estimation License: AGPL-3.0 (https://www.gnu.org/licenses/agpl-3.0.html) diff --git a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java -index 007fe6820e208c04e81acbd7bb7eaf0a22f6f64f..b48eddfa0cdd2c03f6dce974c71d72dd9935448c 100644 +index 61ab44d572b3ef4b6837aafa7e184de7bc0a7327..62fba9eb2d4a8a0e6e77f463ee67add446099a5a 100644 --- a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java +++ b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java @@ -54,6 +54,7 @@ import net.minecraft.world.level.block.entity.SkullBlockEntity; @@ -44,13 +44,13 @@ index 947ad1463a973546bdaf68654086291a3414aa9b..69bde99acff7bdae9af7cfe60e222167 import org.yaml.snakeyaml.constructor.SafeConstructor; import org.yaml.snakeyaml.error.MarkedYAMLException; diff --git a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -index 02e9a61635078af3d31a112984f4c20dddc8ac7b..ea85ba6b26a71479571f994b09808b210275fc02 100644 +index 9bf34c19b41058108af5bc7be4f8d9fa89f3d8bd..871f8866982b4b1dd1990e522dc9c9447df7652f 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleGlobalConfiguration.java -@@ -305,6 +305,7 @@ public class GaleGlobalConfiguration extends ConfigurationPart { - public boolean setBlockInFarChunk = true; // Gale - Purpur - do not log setBlock in far chunks - public boolean unrecognizedRecipes = false; // Gale - Purpur - do not log unrecognized recipes +@@ -307,6 +307,7 @@ public class GaleGlobalConfiguration extends ConfigurationPart { public boolean legacyMaterialInitialization = false; // Gale - Purpur - do not log legacy Material initialization + public boolean runningAsRootOrAdminWarning = true; // Gale - KeYi - do not log run as root warning + public boolean offlineModeWarning = true; // Gale - KeYi - do not log offline mode warning + public boolean cpuCoresEstimation = true; // Gale - CPU core estimation public Chat chat; diff --git a/patches/server/0108-Add-centralized-AsyncExecutor.patch b/patches/server/0110-Add-centralized-AsyncExecutor.patch similarity index 100% rename from patches/server/0108-Add-centralized-AsyncExecutor.patch rename to patches/server/0110-Add-centralized-AsyncExecutor.patch diff --git a/patches/server/0109-Remove-Paper-async-executor.patch b/patches/server/0111-Remove-Paper-async-executor.patch similarity index 100% rename from patches/server/0109-Remove-Paper-async-executor.patch rename to patches/server/0111-Remove-Paper-async-executor.patch diff --git a/patches/server/0110-Remove-Paper-cleaner-executor.patch b/patches/server/0112-Remove-Paper-cleaner-executor.patch similarity index 100% rename from patches/server/0110-Remove-Paper-cleaner-executor.patch rename to patches/server/0112-Remove-Paper-cleaner-executor.patch diff --git a/patches/server/0111-Remove-background-executor.patch b/patches/server/0113-Remove-background-executor.patch similarity index 100% rename from patches/server/0111-Remove-background-executor.patch rename to patches/server/0113-Remove-background-executor.patch diff --git a/patches/server/0112-Remove-bootstrap-executor.patch b/patches/server/0114-Remove-bootstrap-executor.patch similarity index 100% rename from patches/server/0112-Remove-bootstrap-executor.patch rename to patches/server/0114-Remove-bootstrap-executor.patch diff --git a/patches/server/0113-Remove-world-upgrade-executors.patch b/patches/server/0115-Remove-world-upgrade-executors.patch similarity index 100% rename from patches/server/0113-Remove-world-upgrade-executors.patch rename to patches/server/0115-Remove-world-upgrade-executors.patch diff --git a/patches/server/0114-Remove-tab-complete-executor.patch b/patches/server/0116-Remove-tab-complete-executor.patch similarity index 100% rename from patches/server/0114-Remove-tab-complete-executor.patch rename to patches/server/0116-Remove-tab-complete-executor.patch diff --git a/patches/server/0115-Remove-text-filter-executor.patch b/patches/server/0117-Remove-text-filter-executor.patch similarity index 100% rename from patches/server/0115-Remove-text-filter-executor.patch rename to patches/server/0117-Remove-text-filter-executor.patch