Class BridgeProxyPlayerLoginEvent

java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.modules.bridge.event.BridgeProxyPlayerLoginEvent

public final class BridgeProxyPlayerLoginEvent extends eu.cloudnetservice.driver.event.Event
Called after the cloud player connected to the proxy AND connected successfully to a downstream server. This event is called both on all nodes in the cluster and all services running the bridge.
Since:
4.0
  • Field Details

  • Constructor Details

    • BridgeProxyPlayerLoginEvent

      public BridgeProxyPlayerLoginEvent(@NonNull @NonNull CloudPlayer cloudPlayer)
      Constructs a new proxy login event with the given cloud player.
      Parameters:
      cloudPlayer - the cloud player that connected.
      Throws:
      NullPointerException - if the given player is null.
  • Method Details

    • cloudPlayer

      @NonNull public @NonNull CloudPlayer cloudPlayer()
      Gets the cloud player that connected to a proxy and a service.
      Returns:
      the connected cloud player.