ColosseumCommandRegistrant

A registrant for Colosseum commands that handles their registration based on server version compatibility.

Constructors

Link copied to clipboard
constructor(plugin: ColosseumPlugin)

Properties

Link copied to clipboard

A mutable list of command classes to be registered.

Functions

Link copied to clipboard

Adds a command class to the registrant.

Link copied to clipboard

Adds multiple command classes to the registrant.

Link copied to clipboard
fun register()

Registers all commands that are compatible with the current server version.

Link copied to clipboard

Registers a main command that will serve as a parent for all other commands.