Package xyz.jpenilla.squaremap.api
Interface PlayerManager
public interface PlayerManager
Interface for interacting with players on the map
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGet whether a player is hidden on the mapdefault voidSet whether a player is hidden on the map temporarilyvoidSet whether a player is hidden on the mapdefault voidSet a player to be temporarily hidden on the mapvoidSet a player to be hidden on the mapdefault voidSet a player to temporarily not be hidden on the mapvoidSet a player to not be hidden on the map
-
Method Details
-
hide
Set a player to be temporarily hidden on the mapThe status will last until the server restarts or the plugin reloads
- Parameters:
uuid- player UUID
-
hide
Set a player to be hidden on the map- Parameters:
uuid- player UUIDpersistent- persist the hide status
-
show
Set a player to temporarily not be hidden on the mapThe status will last until the server restarts or the plugin reloads
- Parameters:
uuid- player UUID
-
show
Set a player to not be hidden on the map- Parameters:
uuid- player UUIDpersistent- persist the show status
-