Class VelocityRoutingBridge

java.lang.Object
dev.shamoo.runtime.platform.velocity.VelocityRoutingBridge

public final class VelocityRoutingBridge extends Object
Controlled connection/backend routing using Velocity's public API.
  • Constructor Details

    • VelocityRoutingBridge

      public VelocityRoutingBridge(com.velocitypowered.api.proxy.ProxyServer server)
  • Method Details

    • backend

      public Optional<com.velocitypowered.api.proxy.server.RegisteredServer> backend(String name)
    • backends

      public Collection<com.velocitypowered.api.proxy.server.RegisteredServer> backends()
    • connect

      public CompletableFuture<com.velocitypowered.api.proxy.ConnectionRequestBuilder.Result> connect(com.velocitypowered.api.proxy.Player player, com.velocitypowered.api.proxy.server.RegisteredServer backend)