From 28f52ebef14bfd5a814614a1f96d1c017b652bfe Mon Sep 17 00:00:00 2001 From: luk Date: Thu, 19 Feb 2026 16:43:06 +0000 Subject: [PATCH] dev --- README.md | 3 ++ build.gradle.kts | 2 +- .../hytale/server/core/asset/AssetModule.java | 11 ------- .../server/core/plugin/PluginManager.java | 30 +++++++------------ 4 files changed, 14 insertions(+), 32 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..52c18ea3 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# 'Optimized' Hytale Server + +docs are AI slop you have been warned. \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 6de1a458..c77e0e71 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -55,7 +55,7 @@ val hytaleServer: Configuration by configurations.creating val patchedJar = rootDir.resolve("repo/applications/HytaleServerPatched.jar") dependencies { - hytaleServer("com.hypixel.hytale:Server:2026.02.18-f3b8fff95") + hytaleServer("com.hypixel.hytale:Server:2026.02.19-1a311a592") } configurations { diff --git a/generated/com/hypixel/hytale/server/core/asset/AssetModule.java b/generated/com/hypixel/hytale/server/core/asset/AssetModule.java index 1af4a947..08f4e9cd 100644 --- a/generated/com/hypixel/hytale/server/core/asset/AssetModule.java +++ b/generated/com/hypixel/hytale/server/core/asset/AssetModule.java @@ -17,7 +17,6 @@ import com.hypixel.hytale.common.util.PathUtil; import com.hypixel.hytale.common.util.java.ManifestUtil; import com.hypixel.hytale.event.EventPriority; import com.hypixel.hytale.logger.HytaleLogger; -import com.hypixel.hytale.server.core.Constants; import com.hypixel.hytale.server.core.HytaleServer; import com.hypixel.hytale.server.core.HytaleServerConfig; import com.hypixel.hytale.server.core.Message; @@ -54,7 +53,6 @@ import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; -import java.time.Duration; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; @@ -161,15 +159,6 @@ public class AssetModule extends JavaPlugin { this.getLogger() .at(Level.SEVERE) .log("One or more asset packs are targeting an older server version. It is recommended to update these plugins to ensure compatibility."); - - try { - if (!Constants.SINGLEPLAYER) { - Thread.sleep(Duration.ofSeconds(2L)); - } - } catch (InterruptedException var9) { - throw new RuntimeException(var9); - } - HytaleServer.get().getEventBus().registerGlobal(AddPlayerToWorldEvent.class, event -> { PlayerRef playerRef = event.getHolder().getComponent(PlayerRef.getComponentType()); Player player = event.getHolder().getComponent(Player.getComponentType()); diff --git a/generated/com/hypixel/hytale/server/core/plugin/PluginManager.java b/generated/com/hypixel/hytale/server/core/plugin/PluginManager.java index 1ce2d175..40845a0f 100644 --- a/generated/com/hypixel/hytale/server/core/plugin/PluginManager.java +++ b/generated/com/hypixel/hytale/server/core/plugin/PluginManager.java @@ -51,7 +51,6 @@ import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; -import java.time.Duration; import java.util.Collections; import java.util.Enumeration; import java.util.HashMap; @@ -157,8 +156,8 @@ public class PluginManager { Path self; try { self = Paths.get(PluginManager.class.getProtectionDomain().getCodeSource().getLocation().toURI()); - } catch (URISyntaxException var30) { - throw new RuntimeException(var30); + } catch (URISyntaxException var28) { + throw new RuntimeException(var28); } this.loadPluginsFromDirectory(pending, self.getParent().resolve("builtin"), false, this.availablePlugins); @@ -183,8 +182,8 @@ public class PluginManager { try { this.validatePluginDeps(pendingLoadPlugin, pending); - } catch (MissingPluginDependencyException var29) { - LOGGER.at(Level.SEVERE).log(var29.getMessage()); + } catch (MissingPluginDependencyException var27) { + LOGGER.at(Level.SEVERE).log(var27.getMessage()); iterator.remove(); } } @@ -195,15 +194,6 @@ public class PluginManager { if (this.hasOutdatedPlugins && System.getProperty("hytale.allow_outdated_mods") == null) { LOGGER.at(Level.SEVERE) .log("One or more plugins are targeting a different server version. It is recommended to update these plugins to ensure compatibility."); - - try { - if (!Constants.SINGLEPLAYER) { - Thread.sleep(Duration.ofSeconds(2L)); - } - } catch (InterruptedException var32) { - throw new RuntimeException(var32); - } - HytaleServer.get().getEventBus().registerGlobal(AddPlayerToWorldEvent.class, event -> { PlayerRef playerRef = event.getHolder().getComponent(PlayerRef.getComponentType()); Player player = event.getHolder().getComponent(Player.getComponentType()); @@ -236,14 +226,14 @@ public class PluginManager { if (future != null) { preLoadFutures.add(future); } - } catch (ClassNotFoundException var26) { - LOGGER.at(Level.SEVERE).withCause(var26).log("Failed to load plugin %s. Failed to find main class!", pendingLoadPlugin.getPath()); + } catch (ClassNotFoundException var24) { + LOGGER.at(Level.SEVERE).withCause(var24).log("Failed to load plugin %s. Failed to find main class!", pendingLoadPlugin.getPath()); failedBootPlugins.add(pendingLoadPlugin.getIdentifier()); - } catch (NoSuchMethodException var27) { - LOGGER.at(Level.SEVERE).withCause(var27).log("Failed to load plugin %s. Requires default constructor!", pendingLoadPlugin.getPath()); + } catch (NoSuchMethodException var25) { + LOGGER.at(Level.SEVERE).withCause(var25).log("Failed to load plugin %s. Requires default constructor!", pendingLoadPlugin.getPath()); failedBootPlugins.add(pendingLoadPlugin.getIdentifier()); - } catch (Throwable var28) { - LOGGER.at(Level.SEVERE).withCause(var28).log("Failed to load plugin %s", pendingLoadPlugin.getPath()); + } catch (Throwable var26) { + LOGGER.at(Level.SEVERE).withCause(var26).log("Failed to load plugin %s", pendingLoadPlugin.getPath()); failedBootPlugins.add(pendingLoadPlugin.getIdentifier()); } }