config_example

# enable/disable plugin
enabled: true

# log spam violations
log-spam: true

# enable/disable whitelist
whitelist-enabled: true

# caps settings --------------------
# enable/disable check for capslock violations
filter-enabled-caps: true
# enable/disable execution of the triggers on violations
trigger-enabled-caps: false
# if a chat message consists of more % than this of caps, filter it
filter-caps-max: 20

# char flood settings --------------------
# enable/disable check for char flood violations
filter-enabled-chars: true
# enable/disable execution of the triggers on violations
trigger-enabled-chars: false

# line flood settings --------------------
# enable/disable check for line flood violations
filter-enabled-flood: true
# enable/disable execution of the triggers on violations
trigger-enabled-flood: false
# players have to wait for this long until they are allowed to send the next message (in seconds)
filter-flood-lock: 1

# similar text settings --------------------
# enable/disable check for similar chat lines violations
filter-enabled-similar: true
# enable/disable execution of the triggers on violations
trigger-enabled-similar: false
# timespan players are forbidden to post a similar chatline (seconds)
filter-lines-similar: 120

# url settings --------------------
# enable/disable check for url posting violations
filter-enabled-urls: true
# enable/disable execution of the triggers on violations
trigger-enabled-urls: false

# blacklist settings --------------------
# enable/disable check for blacklisted words
filter-enabled-blacklist: true
# enable/disable execution of the triggers on violations
trigger-enabled-blacklist: false

# reset trigger violation counter in this many seconds
trigger-counter-reset: 300

# the commands who get triggered on violations --------------------
# /raw <message> sends a raw message to the player
trigger-caps:
 1: # use this commands if this is the players first violation
  - "/raw &cPlease stick to the Chatiquette. No Capslock"
 2: # use this commands if this is the players second violation
  - "/raw &cPlease stick to the Chatiquette. No Capslock"
  - "/eco take {u} 50"
 0: #use this commands if no specific violation number is defined
  - "/raw &cNo Capslock! You are now muted for 5 minutes"
  - "/mute {u} 5m"
trigger-chars:
 1:
  - "/raw &cPlease stick to the Chatiquette. No Spam"
 2:
  - "/raw &cPlease stick to the Chatiquette. No Spam"
  - "/eco take {u} 50"
 0:
  - "/raw &cNo Spam! You are now muted for 5 minutes"
  - "/mute {u} 5m"
trigger-flood:
 0:
  - "/raw &cPlease stick to the Chatiquette. No Spam"
  - "/eco take {u} 10"
trigger-similar:
 0:
  - "/raw &cPlease do not Spam!"
  - "/eco take {u} 10"
trigger-urls:
 0:
  - "/raw &cYou are not allowed to post this URL"
trigger-blacklist:
 0:
  - "/raw &cYou are not allowed to post this word"

# here you can add commands that should get filtered (don't forget the /)
filter-commands:
- /me
- /msg
- /tell
- /r

Comments

Posts Quoted:
Reply
Clear All Quotes