Interface PlanFabricEvents.OnLogin
- Enclosing class:
PlanFabricEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLogin
(SocketAddress address, com.mojang.authlib.GameProfile profile, net.minecraft.text.Text reason) Called when a player attempts to login
-
Method Details
-
onLogin
void onLogin(SocketAddress address, com.mojang.authlib.GameProfile profile, net.minecraft.text.Text reason) Called when a player attempts to login- Parameters:
address
- the address of the playerprofile
- the profile of the playerreason
- the provided kick reason (null if player is permitted to join)
-