Skip to content
ID

AntiSpam

AntiSpam contains two checks: duplicate-message protection and repeated-character protection. Both are controlled by anti-spam.enabled.

For duplicate comparison, the plugin applies moderation Unicode canonicalization, converts text to lowercase, collapses Unicode whitespace to one space, and trims normalized leading and trailing whitespace.

With the shipped defaults, the same normalized message may be accepted four consecutive times inside the reset window. The fifth consecutive duplicate is blocked. A different accepted message or an expired reset window starts a new sequence.

Repeated-character protection counts identical consecutive Unicode code points. With the default limit of 5, a run of six identical consecutive code points is blocked.

AntiSpam proposes its next state before AntiFlood, but commits it only if the message also passes AntiFlood. A message blocked by AntiFlood does not become the accepted AntiSpam baseline.

/chat antispam on
/chat antispam off
/chat antispam status

Changing AntiSpam enabled state resets AntiSpam history while preserving unrelated moderation state.

Relevant settings:

  • anti-spam.enabled
  • anti-spam.duplicate.max-consecutive
  • anti-spam.duplicate.reset-after-seconds
  • anti-spam.repeated-characters.max-consecutive

See Configuration for defaults, limits, and legacy-key compatibility.

  • nyxorachatmanager.antispam — manage AntiSpam commands.
  • nyxorachatmanager.antispam.bypass — bypass AntiSpam checks.
  • nyxorachatmanager.admin — administrative command override only.