Class CommodoreProvider
java.lang.Object
revxrsal.commands.bukkit.brigadier.CommodoreProvider
Factory for obtaining instances of
Commodore
.-
Method Summary
Modifier and TypeMethodDescriptionstatic revxrsal.commands.bukkit.brigadier.Commodore
getCommodore
(org.bukkit.plugin.Plugin plugin) Obtains aCommodore
instance for the given plugin.static boolean
Checks to see if the Brigadier command system is supported by the server.
-
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 aCommodore
instance for the given plugin.- Parameters:
plugin
- the plugin- Returns:
- the commodore instance
-