Class PartyCommand

java.lang.Object
net.md_5.bungee.api.plugin.Command
de.simonsator.partyandfriends.api.TopCommand<PartySubCommand>
de.simonsator.partyandfriends.party.command.PartyCommand
All Implemented Interfaces:
net.md_5.bungee.api.plugin.TabExecutor

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

    • PartyCommand

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

    • getInstance

      public static PartyCommand getInstance()
    • onCommand

      protected void onCommand(OnlinePAFPlayer pPlayer, 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.