The "joinflood" Module (v4)
Description
This module adds channel mode j (joinflood) which helps protect against spammers which mass-join channels.
Configuration
To load this module use the following <module> tag:
<module name="joinflood">
<joinflood>
The <joinflood> tag defines settings about how the joinflood module should behave. This tag can only be defined once.
| Name | Type | Default Value | Description |
|---|---|---|---|
| bootwait | Duration | 30s | The time period to wait after booting before blocking join floods. |
| duration | Duration | 1m | The time period that a channel should be locked for once a join flood has been detected. |
| notifyrank | Number | 0 | The lowest prefix rank that can receive a notification that a join flood has been detected. |
| splitwait | Duration | 30s | The time period to wait after a netsplit before blocking join floods. |
The notifyrank field should be set to one of the following values:
| Value | Description |
|---|---|
| 0 | All users on the channel can receive join flood messages. |
| 10000 | Users with channel prefix mode v (voice) and above can receive join flood messages. |
| 30000 | Users with channel prefix mode o (op) and above can receive join flood messages. |
| custom | Users with a channel prefix mode created by the customprefix module can receive join flood messages. |
Example Usage
<joinflood bootwait="30s"
duration="1m"
notifyrank="0"
splitwait="30s">
Channel Modes
| Name | Character | Type | Parameter Syntax | Usable By | Description |
|---|---|---|---|---|---|
| joinflood | j | Parameter | <joins>:<seconds> | Channel operators | Prevents more than <joins> joins in the last <seconds> seconds. |
Example Usage
Prevents more than two joins in the last five seconds:
/MODE #channel +j 2:5