CommandRegistry

class CommandRegistry(plugin: JavaPlugin)

コマンドの登録処理を司るクラス.

このクラスは RuneCommand の継承クラスを mutableListOf で受け取り,それを LifecycleEvents で登録する.

Constructors

Link copied to clipboard
constructor(plugin: JavaPlugin)

Functions

Link copied to clipboard

コマンド RuneCommandCommandRegistryruneCommands に登録する.

Link copied to clipboard
fun registerAll(lifecycleManager: LifecycleEventManager<Plugin>)

LifecycleEventManager を Paper サーバーに登録する,