Class PremiumVanishIntegration

java.lang.Object
dev.unnm3d.redischat.integrations.PremiumVanishIntegration
All Implemented Interfaces:
VanishIntegration

public class PremiumVanishIntegration extends Object implements VanishIntegration
  • Constructor Details

    • PremiumVanishIntegration

      public PremiumVanishIntegration(RedisChat plugin)
  • Method Details

    • canSee

      public boolean canSee(org.bukkit.command.CommandSender viewer, String playerName)
      Description copied from interface: VanishIntegration
      Check if a player can see another player
      Specified by:
      canSee in interface VanishIntegration
      Parameters:
      viewer - The player who is viewing the possible vanished player
      playerName - 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 interface VanishIntegration
      Parameters:
      player - The player
      Returns:
      true if the player is vanished