Interface PlayerLocator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Service for finding which server a player is currently connected to.
-
Method Summary
Modifier and TypeMethodDescriptionResolves the server target for a player UUID.
-
Method Details
-
locate
Resolves the server target for a player UUID.- Parameters:
player- the UUID of the player to locate- Returns:
- the server target, or empty if the player is offline or not found
-