Class PartyCommand

  • All Implemented Interfaces:
    net.md_5.bungee.api.plugin.Listener

    public class PartyCommand
    extends TopCommand<PartySubCommand>
    The /party command
    • Constructor Detail

      • PartyCommand

        public PartyCommand​(java.lang.String[] pCommandNames,
                            java.lang.String pPrefix)
        Parameters:
        pCommandNames - The alias for the command
        pPrefix - The prefix for this command (e.g. [Party])
    • Method Detail

      • onCommand

        protected void onCommand​(OnlinePAFPlayer pPlayer,
                                 java.lang.String[] args)
        Description copied from class: TopCommand
        Decides if a subcommand should be called and if which one. If no subcommand should be called it shows the help of the commands.
        Specified by:
        onCommand in class TopCommand<PartySubCommand>
        Parameters:
        pPlayer - The player who executed the command.
        args - The arguments which were given by the player.
      • onTabComplete

        public void onTabComplete​(net.md_5.bungee.api.event.TabCompleteEvent pEvent)