Interface ViolationDialect


public interface ViolationDialect
Since:
CAC v. 5.4.30
Author:
micartey
  • Method Details

    • addViolations

      void addViolations(String uniqueId, List<String> violations)
      Add numerus violations to the players violation history
      Parameters:
      uniqueId - UUID of the player
      violations - List of violations
    • removeViolations

      void removeViolations(String uniqueId)
      Remove violations which have been collected so far
      Parameters:
      uniqueId - UUID of the player
    • getViolations

      List<String> getViolations(String uniqueId)
      Returns a list of collected violations
      Parameters:
      uniqueId - UUID of the player
      Returns:
      List of violations
    • getViolations

      List<String> getViolations()
      Returns a list of collected violations
      Parameters:
      uniqueId - UUID of the player
      Returns:
      List of violations