Contents
Class UpdateDownloadCommand
java.lang.Object
com.hypixel.hytale.server.core.command.system.AbstractCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
com.hypixel.hytale.server.core.update.command.UpdateDownloadCommand
Downloads available update to staging directory.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractCommand
AbstractCommand.SuggestionOverrideEntry -
Field Summary
Fields inherited from class AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<Void> runBootstrapInstall(CommandContext context) Runs the first-run bootstrap install: authenticates, fetches the current patchline manifest, downloads and extracts the payload into the cwd, then shuts the server down so the freshly-written launcher scripts can take over.Methods inherited from class AbstractAsyncCommand
runAsyncMethods inherited from class AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, completeRegistration, countParents, getAliases, getDescription, getFullyQualifiedName, getName, getOptionalArgument, getOptionalArguments, getOwner, getPermission, getPermissionGroups, getPermissionGroupsRecursive, getRequiredArguments, getSubCommand, getSubCommands, getSuggestionOverrides, getUsageShort, getUsageString, getVariantByArgCount, getVariantCommands, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requireNoPermission, requirePermission, requirePermission, setAllowsExtraArguments, setOwner, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Constructor Details
-
UpdateDownloadCommand
public UpdateDownloadCommand()
-
-
Method Details
-
runBootstrapInstall
Runs the first-run bootstrap install: authenticates, fetches the current patchline manifest, downloads and extracts the payload into the cwd, then shuts the server down so the freshly-written launcher scripts can take over. Shared by/update downloadand/update setupin bootstrap mode so either command does the right thing.
-