InspIRCd v4 is still early in development!
If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.
You probably want to use InspIRCd v3 instead.
The "hidemode" Module (v4)
Description
This module allows mode changes to be hidden from users without a prefix mode ranked equal to or higher than a defined level.
Configuration
To load this module use the following <module>
tag:
<module name="hidemode">
<hidemode>
The <hidemode>
tag defines settings about how the hidemode module should behave. This tag can be defined as many times as required.
Name | Type | Default Value | Description |
---|---|---|---|
mode | Text | None | The name of the mode this rule applies to. |
rank | Number | 0 | The rank to restrict viewing this mode change to. |
Example Usage
Hides channel mode b
(ban) changes from non-voiced users:
<hidemode mode="ban"
rank="10000">
Special Notes
The ranks of the built-in channel prefix modes are:
-
op (+o) — 30000
-
voice (+v) — 10000