Package me.efekos.simpler.commands
Annotation Interface SubOf
An interface that determines which
CoreCommand
will contain this SubCommand
. It is required to add
this annotation to SubCommand
's subclasses if you want to use Simpler.registerCommands(JavaPlugin)
.-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends CoreCommand>
Returns aCoreCommand
class.
-
Element Details
-
value
Class<? extends CoreCommand> valueReturns aCoreCommand
class.- Returns:
- A
CoreCommand
class that will contain thisSubCommand
.
-