Class CommandHelpGenerator
java.lang.Object
id.luckynetwork.lyrams.lyralibs.core.command.CommandHelpGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateHelpCommand(String pluginName, String version, String type, List<String> authors, List<CommandInfo> commandInfoList) It generates a help command for a plugingenerateHelpCommand(String pluginName, String version, List<String> authors, List<CommandInfo> commandInfoList) It generates a help command for a plugin
-
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 pluginauthors- 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 plugintype- 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.
-