Package net.orbyfied.j8.command.impl
Class BungeeCommandManager
java.lang.Object
net.orbyfied.j8.command.CommandManager
net.orbyfied.j8.command.impl.BungeeCommandManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidShould shut down the command engine and clean up any resources.voidShould prepare the command engine for usage.protected voidregisterPlatform(Node root) Should do whatever it needs to do when a node gets registered to make it work.setFallbackPrefix(String fallbackPrefix) protected voidunregisterPlatform(Node root) Should do whatever it needs to do when a node gets unregistered to make it work.static SenderwrapSender(net.md_5.bungee.api.CommandSender sender) Methods inherited from class net.orbyfied.j8.command.CommandManager
command, dispatch, getTypeResolver, newCommand, register, setTypeResolver, unregister
-
Field Details
-
CONSOLE_SENDER
-
-
Constructor Details
-
BungeeCommandManager
public BungeeCommandManager(net.md_5.bungee.api.plugin.Plugin plugin)
-
-
Method Details
-
wrapSender
-
setFallbackPrefix
-
getFallbackPrefix
-
registerPlatform
Description copied from class:CommandManagerShould do whatever it needs to do when a node gets registered to make it work.- Specified by:
registerPlatformin classCommandManager- Parameters:
root- The command node.
-
unregisterPlatform
Description copied from class:CommandManagerShould do whatever it needs to do when a node gets unregistered to make it work.- Specified by:
unregisterPlatformin classCommandManager- Parameters:
root- The command node.
-
enablePlatform
public void enablePlatform()Description copied from class:CommandManagerShould prepare the command engine for usage. Called whenever the system is ready for operation.- Specified by:
enablePlatformin classCommandManager
-
disablePlatform
public void disablePlatform()Description copied from class:CommandManagerShould shut down the command engine and clean up any resources.- Specified by:
disablePlatformin classCommandManager
-