common / me.schlaubi.regnumutils.command / CommandClientBuilder / registerCommands

registerCommands

@NotNull open fun registerCommands(vararg commands: Command!): @NotNull CommandClientBuilder

Registers commands without overwriting already registered command.

Parameters

commands - Command!: the Commands

Return
CommandClientBuilder: the CommandClientBuilder

@NotNull open fun registerCommands(commands: MutableCollection<Command!>!): @NotNull CommandClientBuilder

Registers commands without overwriting already registered command.

Parameters

commands - MutableCollection<Command!>!: a Collection of Commands

Return
CommandClientBuilder: the CommandClientBuilder