Contents
Class NPCCommand
A command collection for NPC-related commands.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractCommand
AbstractCommand.SuggestionOverrideEntry -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SingleArgumentType<BuilderInfo> An argument type for NPC role names.Fields inherited from class AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractCommandCollection
getFullUsage, getUsageString, isNoArgVariantMethods 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, getVariantByArgCount, getVariantCommands, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requireNoPermission, requirePermission, requirePermission, setAllowsExtraArguments, setOwner, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Field Details
-
NPC_ROLE
An argument type for NPC role names. This validates against available role template names and returns the BuilderInfo instance.Note: This requires the NPC plugin to be loaded. If it's not available, validation will fail gracefully.
-
-
Constructor Details
-
NPCCommand
public NPCCommand()Default Constructor for anNPCCommandinstance.
-