Interface PlayerSet

All Superinterfaces:
Collection<org.bukkit.entity.Player>, Iterable<org.bukkit.entity.Player>, Set<org.bukkit.entity.Player>

public interface PlayerSet extends Set<org.bukkit.entity.Player>
Set of players

Instances of this interface are mutable, unless isServerPlayerSet() returns true, players cannot be removed from a set containing all the server's players.

  • Method Details

    • isServerPlayerSet

      boolean isServerPlayerSet()
      Tests if this set is simply a wrapper around the server's whole player list
      Returns:
      true, if this set contains all online player, false otherwise