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 TypeMethodDescriptionbooleanExecutes the command, returning its successGets the commands associated with the multi-command alias.Methods inherited from class org.bukkit.command.CommandbroadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, 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 @NotNull CommandSender sender, @NotNull @NotNull String commandLabel, @NotNull @NotNull String[] args) Description copied from class:CommandExecutes the command, returning its success
 
-