public class HelpCommand extends VanillaCommand
description, timings, usageMessage| Constructor and Description |
|---|
HelpCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected static int |
damerauLevenshteinDistance(String s1,
String s2)
Computes the Dameraur-Levenshtein Distance between two strings.
|
boolean |
execute(CommandSender sender,
String currentAlias,
String[] args)
Executes the command, returning its success
|
protected HelpTopic |
findPossibleMatches(String searchString) |
List<String> |
tabComplete(CommandSender sender,
String alias,
String[] args)
Executed on tab completion for this command, returning a list of
options the player can tab through.
|
getDouble, getDouble, getInteger, getRelativeDouble, matchesbroadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregisterpublic boolean execute(CommandSender sender, String currentAlias, String[] args)
Commandpublic List<String> tabComplete(CommandSender sender, String alias, String[] args)
CommandtabComplete in class Commandsender - Source object which is executing this commandalias - the alias being usedargs - All arguments passed to the command, split via ' 'protected static int damerauLevenshteinDistance(String s1, String s2)
s1 - The first string being compared.s2 - The second string being compared.Copyright © 2015. All rights reserved.