Class PremiumVanishIntegration
java.lang.Object
dev.unnm3d.redischat.integrations.PremiumVanishIntegration
- All Implemented Interfaces:
VanishIntegration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if a player can see another playerbooleanisVanished(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:VanishIntegrationCheck if a player can see another player- Specified by:
canSeein 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:VanishIntegrationCheck if a player is vanished Default implementation checks for the PremiumVanish metadata- Specified by:
isVanishedin interfaceVanishIntegration- Parameters:
player- The player- Returns:
- true if the player is vanished
-