Interface LastLoginAPI


  • public interface LastLoginAPI
    • Method Detail

      • reloadPlugin

        void reloadPlugin()
        Reload plugin configuration files
      • getPlayer

        @NotNull
        @NotNull LastLoginPlayer getPlayer​(@NotNull
                                           @NotNull UUID playerUuid)
        Get the player by his UUID
        Parameters:
        playerUuid - the UUID of the player
        Returns:
        the LastLoginPlayer instance 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 LastLoginPlayer that have the given name