The "customprefix" Module (v3)

Description

This module allows the server administrator to configure custom channel prefix modes.

Configuration

To load this module use the following <module> tag:

<module name="customprefix">

<customprefix>

The <customprefix> tag defines a custom channel prefix mode. This tag can be defined as many times as required.

Name Type Default Value Description
name Text None Required! The unique name of the mode.
letter Text None Required! The character used for the mode.
prefix Text None The prefix character used for the mode.
rank Number None The rank of the mode. Users with higher ranked prefix modes have privileges over users with lower ranks or no rank.
ranktoset Number None The rank which is required to set this prefix mode.
ranktounset Number None The rank which is required to unset this prefix mode.
depriv Boolean Yes Whether a user with this prefix mode can remove it from themself.
change Boolean No If enabled then allow modifying a channel prefix mode not created by the customprefix module.
Example Usage

Adds the founder and admin channel prefix modes as seen in other IRC servers:

<customprefix name="founder"
              letter="q"
              prefix="~"
              rank="50000"
              ranktoset="50000"
              ranktounset="50000"
              depriv="yes">

<customprefix name="admin"
              letter="a"
              prefix="&amp;"
              rank="40000"
              ranktoset="50000"
              ranktounset="50000"
              depriv="yes">

Adds the half-operator channel prefix mode as seen in other IRC servers:

<customprefix name="halfop"
              letter="h"
              prefix="%"
              rank="20000"
              ranktoset="30000"
              ranktounset="30000"
              depriv="yes">

Allows users with channel prefix mode v (voice) to remove it:

<customprefix name="voice"
              change="yes"
              depriv="yes">

Special Notes

The ranks of the built-in channel prefix modes are:

You should take note of this when adding new modes.