®️Command registration

The CommandRgistration has two methods to register commands.

Every command must be register in main class.

Create instance of command registration with one param, this is your main class

CommandRegistration commandRegistration = new CommandRegistration(this)

Registering command without tabcompleter

commandRegistration.registerCommand(new MyCommand());

Registering command with tabcompleter

commandRegistration.registerCommandWithTabCompleter(new MyCommand());

Last updated