Class BridgeUpdateCloudOfflinePlayerEvent

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

public final class BridgeUpdateCloudOfflinePlayerEvent extends eu.cloudnetservice.driver.event.Event
Called after a cloud offline player was updated in both the database and all caches. This event is called both on all nodes in the cluster and all services running the bridge.
Since:
4.0
  • Field Details

  • Constructor Details

    • BridgeUpdateCloudOfflinePlayerEvent

      public BridgeUpdateCloudOfflinePlayerEvent(@NonNull @NonNull CloudOfflinePlayer cloudOfflinePlayer)
      Constructs a new cloud offline player update event with the given cloud offline player.
      Parameters:
      cloudOfflinePlayer - the cloud offline player that was updated.
      Throws:
      NullPointerException - if the given cloud offline player is null.
  • Method Details

    • cloudOfflinePlayer

      @NonNull public @NonNull CloudOfflinePlayer cloudOfflinePlayer()
      Gets the cloud offline player that was updated.
      Returns:
      the updated cloud offline player.