Class ICommand<T>
java.lang.Object
me.lorenzo0111.pluginslib.command.ICommand<T>
- Type Parameters:
T- Command
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubcommand(SubCommand subCommand) findSubcommand(Class<? extends Annotation> annotation) Find a subcommand annotated with somethingabstract void
-
Field Details
-
subcommands
-
-
Constructor Details
-
ICommand
- Parameters:
plugin- Owner of the commandcommand- Name of the command ( /name )customization- Optional Command customization
-
-
Method Details
-
register
-
getPlugin
- Returns:
- Owner of the command
-
addSubcommand
- Parameters:
subCommand- SubCommand to add
-
findSubcommand
Find a subcommand annotated with something- Parameters:
annotation- Annotation to find- Returns:
- Optional subcommand
-
getPermission
-
getCustomization
-
getSubcommands
-
getMessage
-
getCommand
-