Interface AltDetectionQuery.Builder

Enclosing interface:
AltDetectionQuery

public static interface AltDetectionQuery.Builder
Builder for detection queries
  • Method Details

    • punishmentTypes

      default AltDetectionQuery.Builder punishmentTypes(PunishmentType... types)
      The punishment types to scan alts for.

      If enabled, the alt detection will attempt to look for punishment types applying to the specified alts on a best effort basis.
      Parameters:
      types - the punishment types to match alts with
      Returns:
      this builder
    • punishmentTypes

      AltDetectionQuery.Builder punishmentTypes(Set<PunishmentType> types)
      The punishment types to scan alts for.

      If enabled, the alt detection will attempt to look for punishment types applying to the specified alts on a best effort basis.
      Parameters:
      types - the punishment types to match alts with
      Returns:
      this builder
    • build

      Builds into a detection query
      Returns:
      the alt detection query