Contents
Class AbstractTargetPlayersCommand
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.AbstractTargetPlayersCommand
- Direct Known Subclasses:
AudioMusicClearCommand, AudioMusicForceCommand
A command base for operations that act on one or more players. Resolves a target set
from optional arguments and dispatches a single
execute(CommandContext, World, Store, List) call on the appropriate
world thread.-
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
ConstructorsConstructorDescriptionAbstractTargetPlayersCommand(String description) AbstractTargetPlayersCommand(String name, String description) AbstractTargetPlayersCommand(String name, String description, boolean requiresConfirmation) -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the initialization of various systems that require the command to be in a state where it should not be modified further in the future.Methods inherited from class AbstractAsyncCommand
runAsyncMethods inherited from class AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, 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
-
AbstractTargetPlayersCommand
-
AbstractTargetPlayersCommand
-
AbstractTargetPlayersCommand
-
-
Method Details
-
completeRegistration
Description copied from class:AbstractCommandHandles the initialization of various systems that require the command to be in a state where it should not be modified further in the future.- Overrides:
completeRegistrationin classAbstractCommand- Throws:
GeneralCommandException- if validation of default arguments failed.
-