Interface ViolationSetting
- All Known Implementing Classes:
Message.Format.Moderation.Caps, Message.Format.Moderation.Flood, Message.Format.Moderation.Swear
public interface ViolationSetting
Configuration interface for violation settings.
Defines the threshold and reset timing for violation tracking.
- Since:
- 1.9.4
-
Method Summary
Modifier and TypeMethodDescriptionGets the maximum number of violations allowed before triggering an action.Gets the time period (in ticks) after which violation should be reset.
-
Method Details
-
violationLimit
Integer violationLimit()Gets the maximum number of violations allowed before triggering an action.- Returns:
- the violation limit threshold
-
violationResetTime
Long violationResetTime()Gets the time period (in ticks) after which violation should be reset.- Returns:
- the violation reset time in seconds
-