Class NameOnlinePlayerStrategy
java.lang.Object
com.janboerman.invsee.spigot.api.resolve.NameOnlinePlayerStrategy
- All Implemented Interfaces:
NameResolveStrategy
A strategy which resolves player's usernames if they are online.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NameOnlinePlayerStrategy
-
-
Method Details
-
resolveUserName
Description copied from interface:NameResolveStrategy
Resove the player's username- Specified by:
resolveUserName
in interfaceNameResolveStrategy
- Parameters:
uniqueId
- the player's unique id- Returns:
- a future which, when completed, will supply the player's username optionally, if it could be found.
-