Package org.bukkit.command
Class MultipleCommandAlias
java.lang.Object
org.bukkit.command.Command
org.bukkit.command.MultipleCommandAlias
Represents a command that delegates to one or more other commands
- 
Field SummaryFields inherited from class org.bukkit.command.Commanddescription, timings, usageMessage
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanexecute(CommandSender sender, String commandLabel, String[] args) Executes the command, returning its successCommand[]Gets the commands associated with the multi-command alias.Methods inherited from class org.bukkit.command.CommandbroadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
- 
Constructor Details- 
MultipleCommandAlias
 
- 
- 
Method Details- 
getCommandsGets the commands associated with the multi-command alias.- Returns:
- commands associated with alias
 
- 
executepublic boolean execute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args) Description copied from class:CommandExecutes the command, returning its success
 
-