To setup the warning configuration checkout the quick start
Configuration
# Requires "permissions.warn" permission.warnings-module:# Whether or not the plugin will use "/warn" features.enabled:true# The sound that is played to the player when warned.# Set to "NONE" to disable.sound:ORB_PICKUP# Whether or not the player issued the warning will be visible in GUIs.show-issuer:true# Enables the ability to notify a user when he has warnings# User will be notified the moment he comes online.user-notifications:enabled:false# Enable this to show the message every time the user comes online.# If Disabled the warnings will be marked as "read" when the player views his warnings # and he will only be notified of new warningsalways-notify:falseactions: []severity-levels: - name:MINORscore:1# After how much time warnings with this severity should expire.# Expired warnings are not counted when doing threshold calculations.expiresAfter:1 WEEK - name:MAJORscore:3expiresAfter:1 MONTH - name:CRITICALscore:5# Define thresholds for the warning system. Whenever the player reaches a threshold the actions are triggeredthresholds: - score:6actions: - command:"ban %target% &4Met three warnings. Appeal @ &7www.shithcf.net&4."target:targettarget-run-strategy:DELAY
You can enable user notifications. This will notify the player that he has warnings. To do so change this part of the warnings-module inside the config file:
# Enables the ability to notify a user when he has warnings# User will be notified the moment he comes online.user-notifications:enabled:true# Enable this to show the message every time the user comes online.# If Disabled the warnings will be marked as "read" and he will only be notified of new warningsalways-notify:false
Whenever a user opens his warning GUI all his warnings are marked as 'read'. If always-notify is disabled, a user will only be notified if he has unread warnings. Keep in mind that to open the warnings GUI the player has to have the following permission: staff.warn.view-my-warnings