Package dev.unnm3d.redischat.api
Interface VanishIntegration
- All Known Implementing Classes:
PremiumVanishIntegration
public interface VanishIntegration
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if a player can see another playerboolean
isVanished
(org.bukkit.entity.Player player) Check if a player is vanished Default implementation checks for the PremiumVanish metadata
-
Method Details
-
canSee
Check if a player can see another player- Parameters:
viewer
- The player who is viewing the possible vanished playerplayerName
- The playerName- Returns:
- true if the viewer can see the player
-
isVanished
boolean isVanished(org.bukkit.entity.Player player) Check if a player is vanished Default implementation checks for the PremiumVanish metadata- Parameters:
player
- The player- Returns:
- true if the player is vanished
-