Interface CommandHelpStyle<S>

All Known Implementing Classes:
CommandHelpStyle.ImmutableHelpStyle

public interface CommandHelpStyle<S>
  • Method Details

    • builder

      static <S> CommandHelpStyle.Builder<S> builder()
    • lineStyle

      @NotNull @NotNull net.kyori.adventure.text.format.Style lineStyle()
      The line style of the help topic
      Returns:
      how the line is displayed in the help topic e.g: "[style]========== Help Menu [style]============
      See Also:
      • Style
    • header

      @NotNull @NotNull net.kyori.adventure.text.TextComponent header(String label)
      The header of the help topic
      Parameters:
      label - the command label (name)
      Returns:
      the header of the help topic
    • syntaxStyle

      @NotNull @NotNull net.kyori.adventure.text.format.Style syntaxStyle(@NotNull @NotNull CommandSyntax<S> syntax)
      The style of the syntax of a command
      Parameters:
      syntax - the syntax of a command
      Returns:
      The style of the syntax of a command