Class BridgeCommands

java.lang.Object
co.aikar.commands.BaseCommand
dev.despical.portbridge.command.BridgeCommands

public final class BridgeCommands extends co.aikar.commands.BaseCommand
Receives ACF command invocations for tunnel status and lifecycle management.

The portbridge, port and pb aliases share the same command handlers. Subcommands declare their individual permissions and delegate to the plugin and tunnel owner, so manual requests follow the same lifecycle as automatic startup.

Status, help and address requests render configured chat panels on the server thread. Reload failures are shown to the sender while the previous settings remain active.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    address(org.bukkit.command.CommandSender sender)
     
    void
    help(org.bukkit.command.CommandSender sender)
     
    void
    reload(org.bukkit.command.CommandSender sender)
     
    void
    restart(org.bukkit.command.CommandSender sender)
     
    void
    start(org.bukkit.command.CommandSender sender)
     
    void
    status(org.bukkit.command.CommandSender sender)
     
    void
    stop(org.bukkit.command.CommandSender sender)
     

    Methods inherited from class co.aikar.commands.BaseCommand

    canExecute, doHelp, doHelp, getCommandHelp, getContextFlags, getCurrentCommandIssuer, getCurrentCommandManager, getDefaultRegisteredCommand, getExceptionHandler, getExecCommandLabel, getExecSubcommand, getLastCommandOperationContext, getName, getOrigArgs, getRegisteredCommands, getRequiredPermissions, getSubCommands, hasPermission, hasPermission, help, help, requiresPermission, setContextFlags, setExceptionHandler, showCommandHelp, showSyntax, tabComplete, tabComplete

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • status

      public void status(org.bukkit.command.CommandSender sender)
    • help

      public void help(org.bukkit.command.CommandSender sender)
    • address

      public void address(org.bukkit.command.CommandSender sender)
    • start

      public void start(org.bukkit.command.CommandSender sender)
    • stop

      public void stop(org.bukkit.command.CommandSender sender)
    • restart

      public void restart(org.bukkit.command.CommandSender sender)
    • reload

      public void reload(org.bukkit.command.CommandSender sender)