Class CommandInfo

java.lang.Object
io.github.projectunified.craftcommand.CommandInfo

public class CommandInfo extends Object
Metadata for a command or subcommand (path, usage, description).
  • Constructor Details

  • Method Details

    • getPath

      public List<String> getPath()
      Command path (e.g. ["teleport", "player"]).
    • getUsage

      public String getUsage()
      Usage syntax (e.g. <target>).
    • getDescription

      public String getDescription()
      Description string.