VelocityNetworkKeyGrantListener

Hands this proxy's network key to each backend as players connect to it.

The proxy owns the key; backends receive it and persist it. The push direction is deliberate and explained on provision.

Constructors

Link copied to clipboard
public void VelocityNetworkKeyGrantListener(ProxyServer proxy, Logger slf4j, String networkKey, Path forwardingSecretFile)

Properties

Link copied to clipboard
public final static MinecraftChannelIdentifier CHANNEL
Must match the backend's channel exactly.

Functions

Link copied to clipboard
public void provision(ServerConnection backend)
Pushes the key to a backend as soon as a player lands on it.
Link copied to clipboard
public void register()
Registers the channel so Velocity will carry it on backend connections.