public class TwoFactorRemoveEvent extends BungeeEvent implements EventWithPlayer
Constructor and Description |
---|
TwoFactorRemoveEvent(TwoFactorType type,
net.md_5.bungee.api.connection.ProxiedPlayer player,
java.lang.String account) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccount()
Return the twofactor account.
|
net.md_5.bungee.api.connection.ProxiedPlayer |
getPlayer()
Return the player instance.
|
TwoFactorType |
getType()
Returns the two factor type.
|
public TwoFactorRemoveEvent(TwoFactorType type, net.md_5.bungee.api.connection.ProxiedPlayer player, java.lang.String account)
public TwoFactorType getType()
public net.md_5.bungee.api.connection.ProxiedPlayer getPlayer()
getPlayer
in interface EventWithPlayer
public java.lang.String getAccount()