Class AllPlayersSelector

java.lang.Object
xyz.srnyx.annoyingapi.command.selector.Selector<org.bukkit.OfflinePlayer>
xyz.srnyx.annoyingapi.command.selector.selectors.AllPlayersSelector

public class AllPlayersSelector extends Selector<org.bukkit.OfflinePlayer>
A selector that selects all players (online and offline)
  • Constructor Details

    • AllPlayersSelector

      public AllPlayersSelector()
      Constructor for AllPlayersSelector
  • Method Details

    • getType

      @NotNull public @NotNull Class<org.bukkit.OfflinePlayer> getType()
      Description copied from class: Selector
      Gets the type of object the selector expands to
      Specified by:
      getType in class Selector<org.bukkit.OfflinePlayer>
      Returns:
      the type of object the selector expands to
    • expandImplementation

      @NotNull public @NotNull List<org.bukkit.OfflinePlayer> expandImplementation(@NotNull @NotNull AnnoyingSender sender)
      Specified by:
      expandImplementation in class Selector<org.bukkit.OfflinePlayer>