public abstract class OnlyTopCommand extends TopCommand
subCommands
Modifier | Constructor | Description |
---|---|---|
protected |
OnlyTopCommand(java.lang.String[] pCommandNames,
java.lang.String pPermission,
java.lang.String pPrefix) |
Modifier and Type | Method | Description |
---|---|---|
void |
tabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent) |
canEqual, equals, getAliases, getName, getPermission, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addCommand, execute, getPrefix, getSubCommand, isPlayer, onCommand, sort
protected OnlyTopCommand(java.lang.String[] pCommandNames, java.lang.String pPermission, java.lang.String pPrefix)
pCommandNames
- The command name and the different aliases of this command.
By these names the method can be called.pPermission
- The permission which is needed to execute this command.
If it is blank no permission is needed to execute this command.pPrefix
- The prefix which should be used by all subcommands.
The prefix gets returned by the method TopCommand.getPrefix()
.public void tabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent)
tabComplete
in class TopCommand