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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddress(org.bukkit.command.CommandSender sender) voidhelp(org.bukkit.command.CommandSender sender) voidreload(org.bukkit.command.CommandSender sender) voidrestart(org.bukkit.command.CommandSender sender) voidstart(org.bukkit.command.CommandSender sender) voidstatus(org.bukkit.command.CommandSender sender) voidstop(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
-
Constructor Details
-
BridgeCommands
-
-
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)
-