Class CommandRegistry
java.lang.Object
me.tayebyassine.homestead.commands.CommandRegistry
Central registry for all top-level Homestead commands.
Every command (and its aliases) is bound to the plugin's CommandExecutor
and TabCompleter here.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(CommandBuilder command) Binds a single command, together with all of its aliases, to the plugin.static voidRegisters every top-level command of the plugin.
-
Method Details
-
registerAll
public static void registerAll()Registers every top-level command of the plugin. -
register
Binds a single command, together with all of its aliases, to the plugin.- Parameters:
command- the command to register
-