Interface LastLoginAPI
-
public interface LastLoginAPI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull LastLoginPlayergetPlayer(@NotNull UUID playerUuid)Get the player by hisUUIDSet<? extends LastLoginPlayer>getPlayerByName(@NotNull String name)Get the player by his name.voidreloadPlugin()Reload plugin configuration files
-
-
-
Method Detail
-
reloadPlugin
void reloadPlugin()
Reload plugin configuration files
-
getPlayer
@NotNull @NotNull LastLoginPlayer getPlayer(@NotNull @NotNull UUID playerUuid)
Get the player by hisUUID- Parameters:
playerUuid- theUUIDof the player- Returns:
- the
LastLoginPlayerinstance of the relative player
-
getPlayerByName
Set<? extends LastLoginPlayer> getPlayerByName(@NotNull @NotNull String name)
Get the player by his name. It can be possible to have multiple players with the same name.- Parameters:
name- the name of the player- Returns:
- a list of
LastLoginPlayerthat have the given name
-
-