Class TwoFactorRemoveEvent
java.lang.Object
com.nickuc.login.api.event.velocity.twofactor.TwoFactorRemoveEvent
- All Implemented Interfaces:
EventWithPlayer
Event triggered when a 2FA account is removed.
-
Constructor Summary
ConstructorsConstructorDescriptionTwoFactorRemoveEvent
(TwoFactorType type, com.velocitypowered.api.proxy.Player player, String account) -
Method Summary
Modifier and TypeMethodDescriptionReturn the twofactor account.com.velocitypowered.api.proxy.Player
Return the player instance.getType()
Returns the two factor type.
-
Constructor Details
-
TwoFactorRemoveEvent
public TwoFactorRemoveEvent(TwoFactorType type, com.velocitypowered.api.proxy.Player player, String account)
-
-
Method Details
-
getType
Returns the two factor type. -
getPlayer
public com.velocitypowered.api.proxy.Player getPlayer()Return the player instance.- Specified by:
getPlayer
in interfaceEventWithPlayer
-
getAccount
Return the twofactor account.
-