public class MultipleCommandAlias extends Command
description, timings, usageMessage| Constructor and Description | 
|---|
MultipleCommandAlias(String name,
                    Command[] commands)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
execute(CommandSender sender,
       String commandLabel,
       String[] args)
Executes the command, returning its success 
 | 
Command[] | 
getCommands()
Gets the commands associated with the multi-command alias. 
 | 
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister@NotNull public Command[] getCommands()
public boolean execute(@NotNull
                       CommandSender sender,
                       @NotNull
                       String commandLabel,
                       @NotNull
                       String[] args)
CommandCopyright © 2022. All rights reserved.