Interface OfflinePlayerProvider

All Known Implementing Classes:
OfflinePlayerProvider.Dummy

public interface OfflinePlayerProvider
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Set<String>
    Deprecated.
    void
    getAll(Consumer<String> consumer)
    Gets all usernames of players that are known to the server.
    default Set<String>
    Deprecated.
    void
    getWithPrefix(String prefix, Consumer<String> consumer)
    Gets all usernames that starts with the specified prefix of players that are known to the server.
  • Method Details

    • getAll

      void getAll(Consumer<String> consumer)
      Gets all usernames of players that are known to the server. Usernames will be passed to the consumer as they are discovered.
    • getAll

      @Deprecated default Set<String> getAll()
      Deprecated.
    • getWithPrefix

      void getWithPrefix(String prefix, Consumer<String> consumer)
      Gets all usernames that starts with the specified prefix of players that are known to the server. Usernames will be passed to the consumer as they are discovered.
    • getWithPrefix

      @Deprecated default Set<String> getWithPrefix(String prefix)
      Deprecated.