public class DisabledCommand extends java.lang.Object implements AnnoyingCommand
| Constructor and Description |
|---|
DisabledCommand(@NotNull AnnoyingPlugin plugin)
Constructor for
DisabledCommand |
| Modifier and Type | Method and Description |
|---|---|
@NotNull AnnoyingPlugin |
getPlugin()
The
AnnoyingPlugin that this command belongs to |
void |
onCommand(@NotNull AnnoyingSender sender)
REQUIRED This is everything that's executed when the command is run |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArgsPredicate, getName, getPermission, isPlayerOnly, onCommand, onTabComplete, onTabComplete, register, unregisterpublic DisabledCommand(@NotNull
@NotNull AnnoyingPlugin plugin)
DisabledCommandplugin - the AnnoyingPlugin instance@NotNull public @NotNull AnnoyingPlugin getPlugin()
AnnoyingPlugin that this command belongs togetPlugin in interface AnnoyingCommandpublic void onCommand(@NotNull
@NotNull AnnoyingSender sender)
REQUIRED This is everything that's executed when the command is runonCommand in interface AnnoyingCommandsender - the sender of the command