Interface IgnoresRepository
- All Known Implementing Classes:
SQLIgnoresRepository
public interface IgnoresRepository
Repository interface for managing player ignore relationships.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisPlayerIgnoring(UUID playerUuid, UUID targetUuid) Checks if a player is ignoring a target player.booleantogglePlayerIgnore(UUID playerUuid, UUID targetUuid) Toggles the ignore status of a target player for a specific player.
-
Method Details
-
togglePlayerIgnore
Toggles the ignore status of a target player for a specific player.- Parameters:
playerUuid- The UUID of the player who is toggling the ignore status.targetUuid- The UUID of the target player to be ignored or unignored.- Returns:
- true if the target player is now ignored, false if unignored.
-
isPlayerIgnoring
Checks if a player is ignoring a target player.- Parameters:
playerUuid- The UUID of the player.targetUuid- The UUID of the target player.- Returns:
- true if the player is ignoring the target player, false otherwise.
-