java.lang.Object
net.md_5.bungee.api.plugin.Command
All Implemented Interfaces:
net.md_5.bungee.api.plugin.TabExecutor

public class PartyChat extends OnlyTopCommand
The /p command
  • Constructor Details

    • PartyChat

      public PartyChat(String[] pCommandNames, String pPrefix)
  • Method Details

    • getInstance

      public static PartyChat 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
      Parameters:
      pPlayer - The player who executed the command.
      args - The arguments which were given by the player.
    • send

      public void send(OnlinePAFPlayer pPlayer, String[] args)