Class SessionIdleEvent

java.lang.Object
com.sk89q.worldedit.event.Event
com.sk89q.worldedit.event.platform.SessionIdleEvent

public final class SessionIdleEvent extends Event
An event fired when a session becomes idle.

This can happen when a player leaves the server.

  • Constructor Details

    • SessionIdleEvent

      public SessionIdleEvent(SessionKey key)
  • Method Details

    • getKey

      public SessionKey getKey()
      Get a key identifying the session that has become idle.
      Returns:
      the key for the session