Class CommandUtils
java.lang.Object
com.zetaplugins.zetacore.commands.CommandUtils
Utility class for command-related operations.
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayOptions(Collection<String> options, String input) Gets a list of options that start with the inputgetPlayerOptions(JavaPlugin plugin, String input) Get a list of player options that start with the input
-
Method Details
-
getDisplayOptions
Gets a list of options that start with the input- Parameters:
options- The available optionsinput- The input- Returns:
- A list of options that start with the input
-
getPlayerOptions
Get a list of player options that start with the input- Parameters:
plugin- The instance of the plugin- Returns:
- A list of player options
-