CommandRegistry

Central registry for all LunaticChat commands. Handles registration with Paper's LifecycleEventManager.

Constructors

Link copied to clipboard
constructor(plugin: LunaticChat)

Functions

Link copied to clipboard

Initializes command registration with Paper's LifecycleEventManager. This should be called from the plugin's onEnable().

Link copied to clipboard

Registers a command to be registered with the server. Must be called before initialize().

Link copied to clipboard

Registers multiple commands at once.