aliases

fun aliases(vararg aliases: String, creator: CommandCreator<LiteralArgumentBuilder<CommandSourceStack>>.() -> Unit = {}): CommandCreator<T>

Adds multiple literal aliases to the command that all execute the same block.

Return

this CommandCreator instance for chaining

Parameters

aliases

the literal strings to match as aliases

creator

the configuration block for the subcommand identified by the aliases