Package net.luckperms.api.event.user
Interface UserFirstLoginEvent
- All Superinterfaces:
LuckPermsEvent
Called when the user logs into the network for the first time.
Particularly useful for networks with multiple lobbies, who want to welcome a user when they join for the first time.
This event is fired before the player has actually joined the game on the async login / auth event. If you want to do something with the user, store the UUID in a set, and then check the set in the PlayerJoinEvent o.e.
The users data will not be loaded when this event is called.
-
Method Summary
Modifier and TypeMethodDescriptionGets the UUID of the userGets the username of the userMethods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
Method Details
-
getUniqueId
Gets the UUID of the user- Returns:
- the uuid of the user
-
getUsername
Gets the username of the user- Returns:
- the username of the user
-