Interface VanishIntegration

All Known Implementing Classes:
PremiumVanishIntegration

public interface VanishIntegration
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canSee(org.bukkit.command.CommandSender viewer, String playerName)
    Check if a player can see another player
    boolean
    isVanished(org.bukkit.entity.Player player)
    Check if a player is vanished Default implementation checks for the PremiumVanish metadata
  • Method Details

    • canSee

      boolean canSee(org.bukkit.command.CommandSender viewer, String playerName)
      Check if a player can see another player
      Parameters:
      viewer - The player who is viewing the possible vanished player
      playerName - 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