public class FloodgatePlayer extends Object
| Modifier and Type | Method and Description |
|---|---|
LinkedPlayer |
fetchLinkedPlayer()
This will return the LinkedPlayer object if the player is linked.
Please note that the LinkedPlayer will be loaded (sync) when used for the first time. This method also checks if linking is enabled |
CompletableFuture<LinkedPlayer> |
fetchLinkedPlayerAsync()
Async alternative to
fetchLinkedPlayer(). |
UUID |
getCorrectUniqueId() |
String |
getCorrectUsername() |
public UUID getCorrectUniqueId()
public String getCorrectUsername()
public LinkedPlayer fetchLinkedPlayer()
for the async alternativepublic CompletableFuture<LinkedPlayer> fetchLinkedPlayerAsync()
fetchLinkedPlayer().for the sync versionCopyright © 2020 GeyserMC. All rights reserved.