The "nickflood" Module (v4)
Description
This module adds channel mode F (nickflood) which helps protect against spammers which mass-change nicknames.
Configuration
To load this module use the following <module> tag:
<module name="nickflood">
<nickflood>
The <nickflood> tag defines settings about how the nickflood module should behave. This tag can only be defined once.
| Name | Type | Default Value | Description |
|---|---|---|---|
| duration | Duration | 1m | The time period that nick changes should be locked for once a nick flood has been detected. |
| notifyrank | Number | 0 | New in v4.11.0! The lowest prefix rank that can receive a notification that a nick flood has been detected. |
The notifyrank field should be set to one of the following values:
| Value | Description |
|---|---|
| 0 | All users on the channel can receive nick flood messages. |
| 10000 | Users with channel prefix mode v (voice) and above can receive nick flood messages. |
| 30000 | Users with channel prefix mode o (op) and above can receive nick flood messages. |
| custom | Users with a channel prefix mode created by the customprefix module can receive nick flood messages. |
Example Usage
<nickflood duration="1m"
notifyrank="0">
Channel Modes
| Name | Character | Type | Parameter Syntax | Usable By | Description |
|---|---|---|---|---|---|
| nickflood | F | Parameter | <changes>:<seconds> | Channel operators | Prevents more than <changes> nickname changes in the last <seconds> seconds. |
Example Usage
Prevents more than three nickname changes in the last five seconds:
/MODE #channel +F 3:5
Exemptions
| Name | Description |
|---|---|
| nickflood | Allows exempted users to change nicknames at a higher rate than channel mode F (nickflood) allows. |