Set Cooldown!
Block repeating!
Mute or kick spammers!
Code (YAML):
action: #For disable action use any word, except command value: "command" command: "mute %player% 5m Spam" #For disable cooldown use -1 cooldown: value: -1
#If action false - message will be block, if action true will be used action action: false
#Block repeating message repeat:
rangedmode: #If player send in local chat, then send in same message in global chat - message not be blocked check: true
symbol: "!"
#If strongmode is true plugin will be check CONTEINS repeat in new message: #1:"123" 2:"1234" - will be blocked, but 1:"64 diamonds" 2:"64 diamonds blocks" also will be blocked #If strongmode is false. Message will be blocked if it EQUALS new message: #1:"123" 2:"1234" - will not be blocked, but 1:"HERE!" 2:"HERE!!" also will not be blocked strongmode: false
#If action false - message will be block, if action true will be used action action: false
messages:
spam: "Do not spam!" repeat: "Do not repeat!" noperm: "No perm!"