Class CommodoreProvider

java.lang.Object
revxrsal.commands.bukkit.brigadier.CommodoreProvider

public final class CommodoreProvider extends Object
Factory for obtaining instances of Commodore.
  • Method Details

    • isSupported

      public static boolean isSupported()
      Checks to see if the Brigadier command system is supported by the server.
      Returns:
      true if commodore is supported.
    • getCommodore

      public static revxrsal.commands.bukkit.brigadier.Commodore getCommodore(org.bukkit.plugin.Plugin plugin)
      Obtains a Commodore instance for the given plugin.
      Parameters:
      plugin - the plugin
      Returns:
      the commodore instance