public class DisabledCommand extends AnnoyingCommand
Registrable.Ignore| Constructor and Description |
|---|
DisabledCommand(@NotNull AnnoyingPlugin plugin)
Constructor for
DisabledCommand |
| Modifier and Type | Method and Description |
|---|---|
@NotNull AnnoyingPlugin |
getAnnoyingPlugin()
The
AnnoyingPlugin that this command belongs to |
void |
onCommand(@NotNull AnnoyingSender sender)
REQUIRED This is everything that's executed when the command is run |
getArgsPredicate, getName, getPermission, isPlayerOnly, onCommand, onTabComplete, onTabComplete, register, unregisterisRegistered, setRegisteredpublic DisabledCommand(@NotNull
@NotNull AnnoyingPlugin plugin)
DisabledCommandplugin - the AnnoyingPlugin instance@NotNull public @NotNull AnnoyingPlugin getAnnoyingPlugin()
AnnoyingPlugin that this command belongs topublic void onCommand(@NotNull
@NotNull AnnoyingSender sender)
REQUIRED This is everything that's executed when the command is runonCommand in class AnnoyingCommandsender - the sender of the command