public class MultipleCommandAlias extends Command
description, timings, usageMessage
Constructor | Description |
---|---|
MultipleCommandAlias(@NotNull String name,
@NotNull Command[] commands) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
execute(@NotNull CommandSender sender,
@NotNull String commandLabel,
@NotNull String[] args) |
Executes the command, returning its success
|
@NotNull 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
@NotNull public @NotNull Command[] getCommands()
public boolean execute(@NotNull @NotNull CommandSender sender, @NotNull @NotNull String commandLabel, @NotNull @NotNull String[] args)
Command
Copyright © 2020. All rights reserved.