Class ConnectCommand
java.lang.Object
dev.booky.cloudutilities.commands.AbstractCommand
dev.booky.cloudutilities.commands.ConnectCommand
-
Field Summary
Fields inherited from class dev.booky.cloudutilities.commands.AbstractCommand
COMMAND_PERMISSION_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.tree.LiteralCommandNode<com.velocitypowered.api.command.CommandSource> intconnectTo(com.velocitypowered.api.command.CommandSource source, com.velocitypowered.api.proxy.Player target, com.velocitypowered.api.proxy.server.RegisteredServer server) intconnectTo(com.velocitypowered.api.command.CommandSource source, com.velocitypowered.api.proxy.Player target, String host, int port) intconnectTo(com.velocitypowered.api.command.CommandSource source, com.velocitypowered.api.proxy.Player target, InetSocketAddress address) Methods inherited from class dev.booky.cloudutilities.commands.AbstractCommand
argument, getAliases, getLabel, getPermission, getPermission, getPermission, literal, register
-
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:
buildNodein classAbstractCommand
-
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)
-