Class CommandHelpGenerator

java.lang.Object
id.luckynetwork.lyrams.lyralibs.core.command.CommandHelpGenerator

public class CommandHelpGenerator extends Object
  • Constructor Details

    • CommandHelpGenerator

      public CommandHelpGenerator()
  • Method Details

    • generateHelpCommand

      public List<String> generateHelpCommand(String pluginName, String version, List<String> authors, List<CommandInfo> commandInfoList)
      It generates a help command for a plugin
      Parameters:
      pluginName - The name of your plugin.
      version - The version of the plugin
      authors - A list of authors for the plugin.
      commandInfoList - This is a list of CommandHelpInfo objects.
      Returns:
      A list of strings that will be sent to the player.
    • generateHelpCommand

      public List<String> generateHelpCommand(String pluginName, String version, String type, List<String> authors, List<CommandInfo> commandInfoList)
      It generates a help command for a plugin
      Parameters:
      pluginName - The name of your plugin.
      version - The version of the plugin
      type - The type of command.
      authors - A list of authors of the plugin.
      commandInfoList - This is a list of CommandHelpInfo objects.
      Returns:
      A list of strings.