Package net.luckperms.api.event.user
Interface UserFirstLoginEvent
-
- All Superinterfaces:
LuckPermsEvent
public interface UserFirstLoginEvent extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull UUIDgetUniqueId()Gets the UUID of the user@NonNull StringgetUsername()Gets the username of the user-
Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
-