Class PremiumVanishIntegration
java.lang.Object
dev.unnm3d.redischat.integrations.PremiumVanishIntegration
- All Implemented Interfaces:
VanishIntegration
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
PremiumVanishIntegration
-
-
Method Details
-
canSee
Description copied from interface:VanishIntegration
Check if a player can see another player- Specified by:
canSee
in interfaceVanishIntegration
- Parameters:
viewer
- The player who is viewing the possible vanished playerplayerName
- The playerName- Returns:
- true if the viewer can see the player
-
isVanished
public boolean isVanished(org.bukkit.entity.Player player) Description copied from interface:VanishIntegration
Check if a player is vanished Default implementation checks for the PremiumVanish metadata- Specified by:
isVanished
in interfaceVanishIntegration
- Parameters:
player
- The player- Returns:
- true if the player is vanished
-