ToolSet / com.zndevs.toolset.tools / ToolSetOptions / getHelpFormat
getHelpFormat
fun getHelpFormat(commandName: String, commandOptions: Array<String>): String?
Get help text from command
Parameters
commandName - The command name to be displayed
commandOptions - The different ways the command can be run. For example: { "help <page-number>" or "<player>" }
Return Command help string
fun getHelpFormat(commandName: String, commandOptions: Iterable<Node<String>>): String?
Get help text from a command using Nodes
Parameters
commandName - The command name to be displayed
commandOptions - The different ways the command can be run
Return Command help string