Class AsyncUserDataLoadEvent

java.lang.Object
org.bukkit.event.Event
net.essentialsx.api.v2.events.AsyncUserDataLoadEvent

public class AsyncUserDataLoadEvent extends Event
Called during player login after the user's data has been loaded. This is useful for printing login messages once EssentialsX has updated a player's display name.
  • Constructor Details

    • AsyncUserDataLoadEvent

      public AsyncUserDataLoadEvent(IUser user, String joinMessage)
  • Method Details

    • getUser

      public IUser getUser()
      Returns:
      The user whose data has been loaded.
    • getJoinMessage

      public String getJoinMessage()
      Returns:
      The join message of this user who joined or null if none was displayed.
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()