Skip to content

SpamControl Plugin

Prevents chat flooding and message repetition by tracking message frequency per player.

Plugin name: spamcontrolRequires config: Yes Requires: admin plugin

Behavior

  • Tracks messages per player within a time window
  • Detects repeated identical messages
  • Warns then kicks chronic spammers

Settings

toml
[[plugins]]
name = "spamcontrol"
enabled = true

[plugins.settings]
max_messages = 5
time_window_secs = 10
max_repeats = 3
SettingTypeDefaultDescription
max_messagesinteger5Max messages in time window before warning
time_window_secsinteger10Time window for flood detection (seconds)
max_repeatsinteger3Max identical consecutive messages allowed

Events

EVT_CLIENT_SAY, EVT_CLIENT_TEAM_SAY

Released under the GPL-2.0 License.