register

fun register(description: String?, aliases: Collection<String>)

Registers this command with the given plugin.

This method must be called on the top-level CommandCreator (which should wrap a LiteralArgumentBuilder) to actually register the command with the Minecraft server.

Parameters

description

the command description, or null if not provided

aliases

the command aliases, or empty list if not provided