Class SocialSpyManager

java.lang.Object
com.zetaplugins.essentialz.features.SocialSpyManager

public class SocialSpyManager extends Object
  • Constructor Details

    • SocialSpyManager

      public SocialSpyManager()
  • Method Details

    • getAllSpyingViewers

      public List<UUID> getAllSpyingViewers(UUID... targetUUIDs)
      Get all viewers spying on any of the specified targets.
      Parameters:
      targetUUIDs - The UUIDs of the targets.
      Returns:
      A list of viewer UUIDs spying on any of the targets.
    • toggleSpyOn

      public boolean toggleSpyOn(UUID viewerUUID, UUID targetUUID)
      Toggle spying status for a viewer on a target.
      Parameters:
      viewerUUID - The UUID of the viewer.
      targetUUID - The UUID of the target.
      Returns:
      True if now spying, false if no longer spying.
    • turnOffAllSpying

      public void turnOffAllSpying(UUID viewerUUID)
      Turn off all spying for a viewer.
      Parameters:
      viewerUUID - The UUID of the viewer.