Contents
Class AbstractAsyncWorldCommand
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.command.system.basecommands.AbstractAsyncWorldCommand
- Direct Known Subclasses:
CancelCommand.CancelAssetCommand, CancelCommand.CancelUuidCommand, ListCommand, ResetCommand, StartCommand.StartAssetCommand, WorldGenReloadCommand, WorldRocksDbCommand.CompactCommand
An asynchronous command base for commands that require world data.
World commands are executed via the world thread, ensuring thread safety when interacting with world resources.
-
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
ConstructorsConstructorDescriptionAbstractAsyncWorldCommand(String description) Variant Constructor for aAbstractAsyncWorldCommandinstanceAbstractAsyncWorldCommand(String name, String description) Constructor for aAbstractAsyncWorldCommandinstanceAbstractAsyncWorldCommand(String name, String description, boolean requiresConfirmation) Constructor for aAbstractAsyncWorldCommandinstance -
Method Summary
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
-
AbstractAsyncWorldCommand
Constructor for aAbstractAsyncWorldCommandinstance- Parameters:
name- The name of the commanddescription- The description of the command
-
AbstractAsyncWorldCommand
public AbstractAsyncWorldCommand(@Nonnull String name, @Nonnull String description, boolean requiresConfirmation) Constructor for aAbstractAsyncWorldCommandinstance- Parameters:
name- The name of the commanddescription- The description of the commandrequiresConfirmation- Determines whether a confirmation parameter is required to execute
-
AbstractAsyncWorldCommand
Variant Constructor for aAbstractAsyncWorldCommandinstance- Parameters:
description- The description of the command
-