Interface PaperBasicCommand

All Superinterfaces:
io.papermc.paper.command.brigadier.BasicCommand

public interface PaperBasicCommand extends io.papermc.paper.command.brigadier.BasicCommand
Interface for Paper BasicCommand wrappers.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets all registered aliases for the command.
    Gets the description of the command.
    Gets the main name of the command.

    Methods inherited from interface io.papermc.paper.command.brigadier.BasicCommand

    canUse, execute, permission, suggest
  • Method Details

    • getName

      String getName()
      Gets the main name of the command.
      Returns:
      the command name
    • getDescription

      String getDescription()
      Gets the description of the command.
      Returns:
      the description
    • getAliases

      Collection<String> getAliases()
      Gets all registered aliases for the command.
      Returns:
      the command aliases