Modules/2.0/customprefix

From the makers of InspIRCd.
Jump to: navigation, search

customprefix module (2.0 version)

Current Future
2.0 Documentation 3.0 Documentation
Return to the 2.0 Module List
Description
Allows custom prefix modes to be created. This can be used to achieve a certain ranking system. Note that this module replaces m_chanprotect and m_halfop.
Configuration Tags
Example:
<customprefix name="founder" letter="q" prefix="~" rank="50000" ranktoset="50000">
<customprefix name="admin" letter="a" prefix="&" rank="40000" ranktoset="50000">
<customprefix name="halfop" letter="h" prefix="%" rank="20000" ranktoset="30000">
<customprefix name="halfvoice" letter="V" prefix="-" rank="1" ranktoset="20000">
  • name The name of the mode, must be unique from other modes
  • letter The letter used for this mode. Required.
  • prefix The prefix used for nicks with this mode. Not required.
  • rank A numeric rank for this prefix, defining what permissions it gives; VOICE_VALUE is 10000, HALFOP_VALUE is 20000, OP_VALUE is 30000
  • ranktoset The numeric rank required to set/unset this mode. Defaults to rank.
  • depriv Can you remove the mode from yourself? Defaults to yes.
Modes
With this module you can make almost any letter to a channelmode that has to represent a prefix. Make sure you don't use channelmodes that are being used by other modules!
Extended Bans (Extbans)
This module implements no extended bans.
Commands
This module adds no extra commands.
Special Notes
Some clients may not recognise the prefixes which you have defined. This module is often used as a vanity thing and a common purpose is to display the rank within a team of people.