redirectingAlias

fun redirectingAlias(mainNode: LiteralCommandNode<ClientCommandSource>, alias: String): LiteralCommandNode<ClientCommandSource>

A sibling literal that redirects to mainNode, copying requires and a no-argument command so gating is not bypassed and a bare alias still executes.