AntiSpam
Overview
Section titled “Overview”AntiSpam contains two checks: duplicate-message protection and repeated-character protection. Both are controlled by anti-spam.enabled.
How It Works
Section titled “How It Works”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 statusChanging AntiSpam enabled state resets AntiSpam history while preserving unrelated moderation state.
Configuration
Section titled “Configuration”Relevant settings:
anti-spam.enabledanti-spam.duplicate.max-consecutiveanti-spam.duplicate.reset-after-secondsanti-spam.repeated-characters.max-consecutive
See Configuration for defaults, limits, and legacy-key compatibility.
Permissions
Section titled “Permissions”nyxorachatmanager.antispam— manage AntiSpam commands.nyxorachatmanager.antispam.bypass— bypass AntiSpam checks.nyxorachatmanager.admin— administrative command override only.