| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
aliases |
protected String |
name |
protected T |
plugin |
| Constructor and Description |
|---|
ConfigCommand(T plugin,
String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(CommandData data,
String[] args) |
@NotNull List<String> |
getAliases() |
T |
getPlugin() |
boolean |
onCommand(@NotNull org.bukkit.command.CommandSender sender,
@NotNull org.bukkit.command.Command command,
@NotNull String label,
@NotNull String[] args) |
protected final T extends org.bukkit.plugin.java.JavaPlugin plugin
protected final String name
public final boolean onCommand(@NotNull
@NotNull org.bukkit.command.CommandSender sender,
@NotNull
@NotNull org.bukkit.command.Command command,
@NotNull
@NotNull String label,
@NotNull
@NotNull String[] args)
onCommand in interface org.bukkit.command.CommandExecutorpublic abstract void execute(CommandData data, String[] args)
@NotNull public final T getPlugin()
@NotNull public final @NotNull List<String> getAliases()
getAliases in interface ICommand<T extends org.bukkit.plugin.java.JavaPlugin>Copyright © 2023. All rights reserved.