Interface ViolationDialect
-
public interface ViolationDialect- Since:
- CAC v. 1.0
- Author:
- Clientastisch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddViolations(java.lang.String uniqueId, java.util.List<java.lang.String> violations)Add numerus violations to the players violation historyjava.util.List<java.lang.String>getViolations()Returns all uniqueIds which have at least one violation storedjava.util.List<java.lang.String>getViolations(java.lang.String uniqueId)Returns a list of collected violationsvoidremoveViolations(java.lang.String uniqueId)Remove violations which have been collected so far
-
-
-
Method Detail
-
addViolations
void addViolations(java.lang.String uniqueId, java.util.List<java.lang.String> violations)Add numerus violations to the players violation history- Parameters:
uniqueId- UUID of the playerviolations- List of violations
-
removeViolations
void removeViolations(java.lang.String uniqueId)
Remove violations which have been collected so far- Parameters:
uniqueId- UUID of the player
-
getViolations
java.util.List<java.lang.String> getViolations(java.lang.String uniqueId)
Returns a list of collected violations- Parameters:
uniqueId- UUID of the player- Returns:
- List of violations
-
getViolations
java.util.List<java.lang.String> getViolations()
Returns all uniqueIds which have at least one violation stored- Returns:
- List of uniqueId
-
-