Class BungeeLastLoginUpdateNameEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- com.alessiodp.lastloginapi.api.events.bungee.BungeeLastLoginEvent
-
- com.alessiodp.lastloginapi.api.events.bungee.BungeeLastLoginUpdateNameEvent
-
- All Implemented Interfaces:
IUpdateName,LastLoginEvent
public class BungeeLastLoginUpdateNameEvent extends BungeeLastLoginEvent implements IUpdateName
-
-
Constructor Summary
Constructors Constructor Description BungeeLastLoginUpdateNameEvent(LastLoginPlayer player, String newName, String oldName)
-
Method Summary
All Methods Instance Methods Concrete 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 class com.alessiodp.lastloginapi.api.events.bungee.BungeeLastLoginEvent
getApi, setApi
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alessiodp.lastloginapi.api.events.LastLoginEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
BungeeLastLoginUpdateNameEvent
public BungeeLastLoginUpdateNameEvent(LastLoginPlayer player, String newName, String oldName)
-
-
Method Detail
-
getPlayer
@NotNull public @NotNull LastLoginPlayer getPlayer()
Description copied from interface:IUpdateNameGet the player- Specified by:
getPlayerin interfaceIUpdateName- Returns:
- the
LastLoginPlayer
-
getNewName
public String getNewName()
Description copied from interface:IUpdateNameGet the new name that is gonna be set- Specified by:
getNewNamein interfaceIUpdateName- Returns:
- the new name
-
getOldName
public String getOldName()
Description copied from interface:IUpdateNameGet the old name- Specified by:
getOldNamein interfaceIUpdateName- Returns:
- the old name
-
-