Class PostLoginEvent

java.lang.Object
me.internalizable.numdrassl.api.event.connection.PostLoginEvent

public class PostLoginEvent extends Object
Event fired after a player has successfully logged in and authenticated. At this point, the player's UUID and name are known.

This event is not cancellable. To prevent a player from logging in, use PreLoginEvent or LoginEvent.

  • Constructor Details

    • PostLoginEvent

      public PostLoginEvent(@Nonnull Player player)
  • Method Details

    • getPlayer

      @Nonnull public Player getPlayer()
      Get the player who logged in.
      Returns:
      the player