Class ConnectCommand

java.lang.Object
dev.booky.cloudutilities.commands.AbstractCommand
dev.booky.cloudutilities.commands.ConnectCommand

@Singleton public class ConnectCommand extends AbstractCommand
  • Constructor Details

    • ConnectCommand

      @Inject public ConnectCommand(com.velocitypowered.api.proxy.ProxyServer server)
  • Method Details

    • buildNode

      public com.mojang.brigadier.tree.LiteralCommandNode<com.velocitypowered.api.command.CommandSource> buildNode()
      Specified by:
      buildNode in class AbstractCommand
    • connectTo

      public int connectTo(com.velocitypowered.api.command.CommandSource source, com.velocitypowered.api.proxy.Player target, String host, int port)
    • connectTo

      public int connectTo(com.velocitypowered.api.command.CommandSource source, com.velocitypowered.api.proxy.Player target, InetSocketAddress address)
    • connectTo

      public int connectTo(com.velocitypowered.api.command.CommandSource source, com.velocitypowered.api.proxy.Player target, com.velocitypowered.api.proxy.server.RegisteredServer server)