public abstract class CommandX
extends net.md_5.bungee.api.plugin.Command
implements net.md_5.bungee.api.plugin.TabExecutor
Constructor and Description |
---|
CommandX(java.lang.String name)
Create a Command
|
CommandX(java.lang.String name,
java.lang.String permission,
java.lang.String... aliases)
Create a Command
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.lang.String> |
onTabComplete(net.md_5.bungee.api.CommandSender sender,
java.lang.String[] args)
Override the BungeeCord Method of
suggestArguments(CommandSender, String[]) |
abstract NamedContainer<java.lang.String,java.util.List<java.lang.String>> |
suggestArguments(net.md_5.bungee.api.CommandSender sender,
java.lang.String[] args)
Suggest Arguments
|
public CommandX(java.lang.String name)
name
- Command Namepublic CommandX(java.lang.String name, java.lang.String permission, java.lang.String... aliases)
name
- Command Namepermission
- Command Permissionaliases
- Command Aliasespublic abstract NamedContainer<java.lang.String,java.util.List<java.lang.String>> suggestArguments(net.md_5.bungee.api.CommandSender sender, java.lang.String[] args)
sender
- Senderargs
- Arguments (including the final unfinished one)public java.lang.Iterable<java.lang.String> onTabComplete(net.md_5.bungee.api.CommandSender sender, java.lang.String[] args)
suggestArguments(CommandSender, String[])
onTabComplete
in interface net.md_5.bungee.api.plugin.TabExecutor
sender
- Senderargs
- Arguments (including the final unfinished one)