class

Universe

Top-level container for all game worlds. Represents the entire game session. Access worlds via getWorld(name).

Methods

java.util.concurrent.CompletableFutureWorld> addWorld()
void delayedTick()
void disconnectAllPLayers()
Universe get()
static

Gets the singleton Universe instance

com.hypixel.hytale.server.core.universe.Universe get()
static
com.hypixel.hytale.server.core.universe.world.World getDefaultWorld()
java.nio.file.Path getPath()
java.util.concurrent.CompletableFuture getUniverseReady()
com.hypixel.hytale.server.core.universe.world.World getWorld()
MapWorld> getWorlds()

Gets all loaded worlds in the universe

boolean isWorldLoadable()
java.util.concurrent.CompletableFutureWorld> loadWorld()
java.util.concurrent.CompletableFutureWorld> makeWorld()
boolean removeWorld()
void removeWorldExceptionally()
CompletableFuture runBackup()

Triggers a server backup. Returns future that completes when backup is done.

java.util.concurrent.CompletableFuture runBackup()
java.util.concurrent.CompletableFuture saveWorldConfigAndResources()
static
void shutdownAllWorlds()
com.hypixel.hytale.metrics.MetricResults toMetricResults()