Contents
Class CommandBase
java.lang.Object
com.hypixel.hytale.server.core.command.system.AbstractCommand
com.hypixel.hytale.server.core.command.system.basecommands.CommandBase
- Direct Known Subclasses:
AssetTagsCommand, AuthCancelCommand, AuthLoginBrowserCommand, AuthLoginDeviceCommand, AuthLogoutCommand, AuthPersistenceCommand, AuthSelectCommand, AuthStatusCommand, BindingsCommand, BlockSetCommand, DebugShapeShowForceCommand, DesyncDamageCommand, DiscoveryLinkCommand, DiscoveryUnlinkCommand, DroplistCommand, DumpCommandsCommand, EchoCommand, EnableTmpTagsCommand, EntityLodCommand, EntitySnapshotLengthCommand, EventTitleCommand, HitDetectionCommand, InteractionSetSnapshotSourceCommand, InteractionSnapshotSourceCommand, KickCommand, KnockbackPresetsCommand, LANDiscoveryCommand, LogCommand, MaxPlayersCommand, MaxViewRadiusCommand, MemoriesClearCommand, MessageTranslationTestCommand, NotifyCommand, NPCBenchmarkCommand, OpAddCommand, OpRemoveCommand, PacksListCommand, PermListCommand, PermReloadCommand, PermTestCommand, PIDCheckCommand, PlayCommandBase, SayCommand, ServerDumpCommand, ServerGCCommand, ServerStatsCpuCommand, ServerStatsGcCommand, ServerStatsMemoryCommand, SetToolHistorySizeCommand, SleepOffsetCommand, SleepTestCommand, StopCommand, SudoCommand, TagPatternCommand, TeleportAllCommand, TeleportOtherToPlayerCommand, TeleportPlayerToCoordinatesCommand, UpdateApplyCommand, UpdateCancelCommand, UpdatePatchlineCommand, UpdateSetupCommand, UpdateStatusCommand, VersionCommand, WarpListCommand, WarpReloadCommand, WarpRemoveCommand, WhitelistClearCommand, WhitelistListCommand, WhitelistStatusCommand, WorldGenBenchmarkCommand, WorldListCommand, WorldLoadCommand, WorldRemoveCommand, WorldSetDefaultCommand
The basic, synchronous, command base class for use with most commands.
-
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
ConstructorsConstructorDescriptionCommandBase(String description) This constructor is specifically only for variant commands, added withAbstractCommand.addUsageVariant(AbstractCommand).CommandBase(String name, String description) Constructor for aCommandBaseinstance.CommandBase(String name, String description, boolean requiresConfirmation) Constructor for aCommandBaseinstance. -
Method Summary
Methods 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
-
CommandBase
Constructor for aCommandBaseinstance.- Parameters:
name- The name of the command.description- The description of the command.
-
CommandBase
Constructor for aCommandBaseinstance.- Parameters:
name- The name of the command.description- The description of the command.requiresConfirmation- Whether the command requires additional confirmation.
-
CommandBase
This constructor is specifically only for variant commands, added withAbstractCommand.addUsageVariant(AbstractCommand).- Parameters:
description- The description of the command.
-