public class MultipleCommandAlias extends Command
description, timings, usageMessage
Constructor | Description |
---|---|
MultipleCommandAlias(java.lang.String name,
Command[] commands) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
execute(CommandSender sender,
java.lang.String commandLabel,
java.lang.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, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
public MultipleCommandAlias(java.lang.String name, Command[] commands)
public Command[] getCommands()
public boolean execute(CommandSender sender, java.lang.String commandLabel, java.lang.String[] args)
Command
Copyright © 2018. All rights reserved.