Hytale plugins run in a managed Java environment with specific class loading rules to ensure stability and compatibility.
com.hypixel.hytale.server.core.plugin.PluginClassLoaderPluginClassLoader.
PluginManager.PluginBridgeClassLoader connects plugins, allowing them to share classes if dependencies are declared.ClassLoaderName.isFromThirdPartyPlugin checks in stack traces to attribute crashes to specific plugins.basePermission calculated from "group.name". This interacts with the internal permission system (likely used for command access).HytaleServer.SCHEDULED_EXECUTOR or ForkJoinPool to avoid lagging game ticks.PluginState (NONE, SETUP, START, ENABLED, DISABLED, SHUTDOWN) tracks the lifecycle. If a plugin throws an error during setup/start, it is automatically set to DISABLED.