Interface IUpdateName
-
- All Superinterfaces:
LastLoginEvent
- All Known Implementing Classes:
BukkitLastLoginUpdateNameEvent,BungeeLastLoginUpdateNameEvent,VelocityLastLoginUpdateNameEvent
public interface IUpdateName extends LastLoginEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNewName()Get the new name that is gonna be setStringgetOldName()Get the old name@NotNull LastLoginPlayergetPlayer()Get the player-
Methods inherited from interface com.alessiodp.lastloginapi.api.events.LastLoginEvent
getApi, setApi
-
-
-
-
Method Detail
-
getPlayer
@NotNull @NotNull LastLoginPlayer getPlayer()
Get the player- Returns:
- the
LastLoginPlayer
-
getNewName
String getNewName()
Get the new name that is gonna be set- Returns:
- the new name
-
getOldName
String getOldName()
Get the old name- Returns:
- the old name
-
-