Thresholds can be reached by players if they receive too many warnings. An example configuration:
- name: STEALING
expiresAfter: 1 WEEK
- name: GRIEFING
- name: BULLYING
- score: 3
- command: "tempban %target% 4 days"
- score: 6
- command: "ban %target%"
command: "unban %target%"
We defined two thresholds. When the player reaches the first threshold of a total warning score of 3 he will be temporarily banned. Keep in mind that his total score wont be reset. Which means that if he gets another warning for stealing for example, his total score will be 4 and he will immediately get temporarily banned again. So once you reach a threshold you will be punished more severely on subsequent warnings.
However warnings can be expired. This mean they will no longer be counted during threshold calculations.
You will notice you can also define rollback-commands here. These will get executed if the warning that originally caused a threshold breach gets deleted or appealed.
The second threshold bans a player when he reaches a total score of 6. This also means that a warning for bullying in this example will immediately ban the player.
Consider player "myman" has following warning history:
In this example the player his total score will be: 9
- The first warning does not count because it was successfully appealed
- The second warning counts
- The third warning does not count because it is expired
- The fourth warning does not count because it was successfully appealed AND expired
- The fifth warning counts