command

inline fun command(name: String, register: Boolean = true, builder: LiteralArgumentBuilder<CommandListenerWrapper>.() -> Unit): LiteralArgumentBuilder<CommandListenerWrapper>

Create a new command.

Parameters

name

the name of the root command

register

if true, the command will be automatically registered when the plugin is fully enabled