The "messageflood" Module (v3)
Description
This module adds channel mode f
(flood) which helps protect against spammers which mass-message channels.
Configuration
To load this module use the following <module>
tag:
<module name="messageflood">
<messageflood>
The <messageflood>
tag defines settings about how the messageflood module should behave. This tag can only be defined once.
Name | Type | Default Value | Description |
---|---|---|---|
notice | Decimal | 1.0 | New in v3.2.0! The number of lines that a single NOTICE message is equivalent to. |
privmsg | Decimal | 1.0 | New in v3.2.0! The number of lines that a single PRIVMSG message is equivalent to. |
tagmsg | Decimal | 0.2 | New in v3.2.0! The number of lines that a single TAGMSG message is equivalent to. This should be lower than the other commands to avoid users being kicked by automated client features such as typing notifications. |
Example Usage
<messageflood notice="1.0"
privmsg="1.0"
tagmsg="0.2">
Channel Modes
Name | Character | Type | Parameter Syntax | Usable By | Description |
---|---|---|---|---|---|
flood | f | Parameter | [*]<lines>:<seconds> | Channel operators | Kicks users who send more than <lines> messages in the last <seconds> seconds. If prefixed with * then offending users are also banned. |
Example Usage
Prevents more than four messages in the last two seconds:
/MODE #channel +f 4:2
Exemptions
Name | Description |
---|---|
flood | Allows exempted users to send messages at a higher rate than channel mode f (flood) allows. |