Package me.lucko.commodore
Class CommodoreProvider
- java.lang.Object
-
- me.lucko.commodore.CommodoreProvider
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommodoregetCommodore(org.bukkit.plugin.Plugin plugin)Obtains aCommodoreinstance for the given plugin.static booleanisSupported()Checks to see if the Brigadier command system is supported by the server.
-
-
-
Method Detail
-
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 Commodore getCommodore(org.bukkit.plugin.Plugin plugin) throws BrigadierUnsupportedException
Obtains aCommodoreinstance for the given plugin.- Parameters:
plugin- the plugin- Returns:
- the commodore instance
- Throws:
BrigadierUnsupportedException- if brigadier is notsupportedby the server.
-
-