Interface ViolationDialect
public interface ViolationDialect
- Since:
- CAC v. 5.4.30
- Author:
- micartey
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddViolations(String uniqueId, List<String> violations) Add numerus violations to the players violation historyReturns a list of collected violationsgetViolations(String uniqueId) Returns a list of collected violationsvoidremoveViolations(String uniqueId) Remove violations which have been collected so far
-
Method Details
-
addViolations
Add numerus violations to the players violation history- Parameters:
uniqueId- UUID of the playerviolations- List of violations
-
removeViolations
Remove violations which have been collected so far- Parameters:
uniqueId- UUID of the player
-
getViolations
Returns a list of collected violations- Parameters:
uniqueId- UUID of the player- Returns:
- List of violations
-
getViolations
Returns a list of collected violations- Parameters:
uniqueId- UUID of the player- Returns:
- List of violations
-