Class OnlyTopCommand

  • All Implemented Interfaces:
    net.md_5.bungee.api.plugin.Listener
    Direct Known Subclasses:
    MSG, PartyChat, Reply

    public abstract class OnlyTopCommand
    extends TopCommand
    • Constructor Detail

      • OnlyTopCommand

        protected OnlyTopCommand​(java.lang.String[] pCommandNames,
                                 java.lang.String pPermission,
                                 java.lang.String pPrefix)
        Parameters:
        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().
    • Method Detail

      • tabComplete

        public void tabComplete​(net.md_5.bungee.api.event.TabCompleteEvent pEvent)
        Overrides:
        tabComplete in class TopCommand