public interface LastLoginPlayer
Modifier and Type | Method and Description |
---|---|
long |
getLastLogin()
Get the last login timestamp
|
long |
getLastLogout()
Get the last logout timestamp
|
@NotNull String |
getName()
Get the name
|
@NotNull UUID |
getPlayerUUID()
Get the player
UUID |
boolean |
isOnline()
Is the player online?
|
void |
setLastLogin(long timestamp)
Set the last login timestamp
|
void |
setLastLogout(long timestamp)
Set the last logout timestamp
|
void |
setName(@NotNull String name)
Set the name
|
@NotNull @NotNull UUID getPlayerUUID()
UUID
UUID
of the player@NotNull @NotNull String getName()
void setName(@NotNull @NotNull String name)
name
- the name to setlong getLastLogin()
void setLastLogin(long timestamp)
timestamp
- the timestamp to setlong getLastLogout()
void setLastLogout(long timestamp)
timestamp
- the timestamp to setboolean isOnline()
Copyright © 2023. All rights reserved.