Class PlayerLeaveEvent

java.lang.Object
me.hackware.api.event.Event
me.hackware.api.event.impl.PlayerLeaveEvent

public class PlayerLeaveEvent extends Event
Fired when another player leaves the server (removed from the tab list).
  • Constructor Details

    • PlayerLeaveEvent

      public PlayerLeaveEvent(@Nullable @Nullable String name, UUID uuid)
  • Method Details

    • getName

      @Nullable public @Nullable String getName()
      The leaving player's name (may be null if unavailable).
    • getUuid

      public UUID getUuid()
      The leaving player's UUID.