public class BungeeLastLoginUpdateNameEvent extends BungeeLastLoginEvent implements IUpdateName
Constructor and Description |
---|
BungeeLastLoginUpdateNameEvent(LastLoginPlayer player,
String newName,
String oldName) |
Modifier and Type | Method and Description |
---|---|
String |
getNewName()
Get the new name that is gonna be set
|
String |
getOldName()
Get the old name
|
@NotNull LastLoginPlayer |
getPlayer()
Get the player
|
getApi, setApi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApi, setApi
public BungeeLastLoginUpdateNameEvent(LastLoginPlayer player, String newName, String oldName)
@NotNull public @NotNull LastLoginPlayer getPlayer()
IUpdateName
getPlayer
in interface IUpdateName
LastLoginPlayer
public String getNewName()
IUpdateName
getNewName
in interface IUpdateName
public String getOldName()
IUpdateName
getOldName
in interface IUpdateName
Copyright © 2023. All rights reserved.