Class BrigadierCommands

java.lang.Object
me.tayebyassine.homestead.commands.brigadier.BrigadierCommands

public final class BrigadierCommands extends Object
Registers the Brigadier command trees that mirror the plugin's Bukkit commands.

Registration is a no-op on server software that does not support Brigadier, since BrigadierCommands is only instantiated when support is detected.

  • Constructor Details

    • BrigadierCommands

      public BrigadierCommands(me.lucko.commodore.Commodore commodore)
      Creates the Brigadier command trees.
      Parameters:
      commodore - the Commodore instance used to register the trees