Class Constants

java.lang.Object
com.hypixel.hytale.server.core.Constants

public final class Constants extends Object
A class containing a variety of constants used throughout the server.
  • Field Details

    • DEBUG

      public static final boolean DEBUG
      See Also:
    • SINGLEPLAYER

      public static final boolean SINGLEPLAYER
    • BOOTSTRAP

      public static final boolean BOOTSTRAP
    • ALLOWS_SELF_OP_COMMAND

      public static final boolean ALLOWS_SELF_OP_COMMAND
    • FRESH_UNIVERSE

      public static final boolean FRESH_UNIVERSE
    • FORCE_NETWORK_FLUSH

      public static final boolean FORCE_NETWORK_FLUSH
    • UNIVERSE_PATH

      public static final Path UNIVERSE_PATH
    • BOOTSTRAP_PLUGINS

      @Nonnull public static final PluginManifest[] BOOTSTRAP_PLUGINS
      Minimal plugin set loaded when the server is started with Options.BOOTSTRAP. Just enough to log, authenticate, run commands, localize console output, and perform the first-run download. I18nModule's AssetModule dependency is declared as optional so it can run here without asset packs — in bootstrap it loads the fallback catalog bundled in the JAR under bundledDefaults/*.lang. TelemetryModule is excluded because it depends on Universe (which would drag the world stack in); LiveConfigModule is excluded because nothing in the bootstrap subset consults feature flags.
    • CORE_PLUGINS

      @Nonnull public static final PluginManifest[] CORE_PLUGINS
      An array of core plugins that are required for the server to run.
  • Constructor Details

    • Constants

      public Constants()
  • Method Details

    • init

      public static void init()
      Called to initialize the constants class.

      This method is intentionally left blank, but it triggers the class loading.