public class BukkitLastLoginUpdateNameEvent extends BukkitLastLoginEvent implements IUpdateName
| Constructor and Description |
|---|
BukkitLastLoginUpdateNameEvent(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, getHandlerList, getHandlers, setApiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApi, setApipublic BukkitLastLoginUpdateNameEvent(LastLoginPlayer player, String newName, String oldName)
@NotNull public @NotNull LastLoginPlayer getPlayer()
IUpdateNamegetPlayer in interface IUpdateNameLastLoginPlayerpublic String getNewName()
IUpdateNamegetNewName in interface IUpdateNamepublic String getOldName()
IUpdateNamegetOldName in interface IUpdateNameCopyright © 2023. All rights reserved.