public interface CompleteCommand extends CommandExecutor, TabCompleter
You might prefer WrappedCommand
s.
Modifier and Type | Method and Description |
---|---|
@NotNull String |
getCommand() |
default @Nullable List<String> |
getCompletions(int i) |
default @Nullable List<String> |
getCompletions(int i,
@NotNull CommandSender sender,
@NotNull Command command,
@NotNull String alias,
@NotNull String[] args) |
default @NotNull net.md_5.bungee.api.chat.BaseComponent[] |
getHelpMessage(int i,
@NotNull String[] args) |
default @Nullable List<String> |
onTabComplete(@NotNull CommandSender sender,
@NotNull Command command,
@NotNull String alias,
@NotNull String[] args) |
onCommand
@NotNull @NotNull String getCommand()
@NotNull default @NotNull net.md_5.bungee.api.chat.BaseComponent[] getHelpMessage(int i, @NotNull @NotNull String[] args)
@Nullable default @Nullable List<String> getCompletions(int i, @NotNull @NotNull CommandSender sender, @NotNull @NotNull Command command, @NotNull @NotNull String alias, @NotNull @NotNull String[] args)
@Nullable default @Nullable List<String> onTabComplete(@NotNull @NotNull CommandSender sender, @NotNull @NotNull Command command, @NotNull @NotNull String alias, @NotNull @NotNull String[] args)
onTabComplete
in interface TabCompleter
Copyright © 2020. All rights reserved.