| Package | Description |
|---|---|
| me.lucko.helper.network | |
| me.lucko.helper.profiles |
| Modifier and Type | Method and Description |
|---|---|
Map<UUID,Profile> |
Server.getOnlinePlayers()
Gets the players known to be online on this server.
|
Map<UUID,Profile> |
AbstractNetwork.getOnlinePlayers() |
Map<UUID,Profile> |
Network.getOnlinePlayers()
Gets the players known to be online in the network.
|
| Modifier and Type | Method and Description |
|---|---|
static Profile |
Profile.create(HumanEntity player)
Creates a new profile instance
|
static Profile |
Profile.create(UUID uniqueId,
String name)
Creates a new profile instance
|
Profile |
ProfileRepository.getProfile(UUID uniqueId)
Gets a profile from this repository, using the unique id as the base for
the request.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Profile> |
ProfileRepository.getKnownProfiles()
Gets a collection of profiles known to the repository.
|
Optional<Profile> |
ProfileRepository.getProfile(String name)
Gets a profile from this repository, using the name as the base
for the request.
|
default Map<UUID,Profile> |
ProfileRepository.getProfiles(Iterable<UUID> uniqueIds)
Populates a map of unique id to profile for the given iterable of unique ids.
|
default Map<String,Profile> |
ProfileRepository.getProfilesByName(Iterable<String> names)
Populates a map of name to profile for the given iterable of names.
|
Promise<Collection<Profile>> |
ProfileRepository.lookupKnownProfiles()
Gets a collection of profiles known to the repository.
|
Promise<Optional<Profile>> |
ProfileRepository.lookupProfile(String name)
Gets a profile from this repository, using the name as the base
for the request.
|
Promise<Profile> |
ProfileRepository.lookupProfile(UUID uniqueId)
Gets a profile from this repository, using the unique id as the base for
the request.
|
Promise<Map<UUID,Profile>> |
ProfileRepository.lookupProfiles(Iterable<UUID> uniqueIds)
Populates a map of unique id to profile for the given iterable of unique ids.
|
Promise<Map<String,Profile>> |
ProfileRepository.lookupProfilesByName(Iterable<String> names)
Populates a map of name to profile for the given iterable of names.
|
Copyright © 2020. All rights reserved.