Class BungeeCommandManager

java.lang.Object
net.orbyfied.j8.command.CommandManager
net.orbyfied.j8.command.impl.BungeeCommandManager

public class BungeeCommandManager extends CommandManager
  • Field Details

    • CONSOLE_SENDER

      public static final Sender CONSOLE_SENDER
  • Constructor Details

    • BungeeCommandManager

      public BungeeCommandManager(net.md_5.bungee.api.plugin.Plugin plugin)
  • Method Details

    • wrapSender

      public static Sender wrapSender(net.md_5.bungee.api.CommandSender sender)
    • setFallbackPrefix

      public BungeeCommandManager setFallbackPrefix(String fallbackPrefix)
    • getFallbackPrefix

      public String getFallbackPrefix()
    • registerPlatform

      protected void registerPlatform(Node root)
      Description copied from class: CommandManager
      Should do whatever it needs to do when a node gets registered to make it work.
      Specified by:
      registerPlatform in class CommandManager
      Parameters:
      root - The command node.
    • unregisterPlatform

      protected void unregisterPlatform(Node root)
      Description copied from class: CommandManager
      Should do whatever it needs to do when a node gets unregistered to make it work.
      Specified by:
      unregisterPlatform in class CommandManager
      Parameters:
      root - The command node.
    • enablePlatform

      public void enablePlatform()
      Description copied from class: CommandManager
      Should prepare the command engine for usage. Called whenever the system is ready for operation.
      Specified by:
      enablePlatform in class CommandManager
    • disablePlatform

      public void disablePlatform()
      Description copied from class: CommandManager
      Should shut down the command engine and clean up any resources.
      Specified by:
      disablePlatform in class CommandManager