The "services_account" Module (v3)
Description
This module adds various channel and user modes relating to services accounts.
Configuration
To load this module use the following <module>
tag:
<module name="services_account">
<connect>
This module extends the core <connect>
tags with the following fields:
Name | Type | Default Value | Description |
---|---|---|---|
requireaccount | Boolean | No | Whether users must be logged into a services account to use this class. |
Example Usage
Requires users to be logged into a services account to be assigned to the Authenticated class:
<connect name="Authenticated"
...
requireaccount="yes">
Channel Modes
Name | Character | Type | Parameter Syntax | Usable By | Description |
---|---|---|---|---|---|
c_registered | r | Switch | None | Channel operators | Marks the channel as being registered. |
reginvite | R | Switch | None | Channel operators | Prevents users who are not logged into a services account from joining the channel. |
regmoderated | M | Switch | None | Channel operators | Prevents users who are not logged into a services account from speaking in the channel. |
User Modes
Name | Character | Type | Parameter Syntax | Usable By | Description |
---|---|---|---|---|---|
regdeaf | R | Switch | None | Anyone | Prevents users who are not logged into a services account from messaging the user. |
u_registered | r | Switch | None | Anyone | Marks the user as being logged into a services account. |
Exemptions
Name | Description |
---|---|
regmoderated | Allows exempted users to send messages to the channel without being logged in. |
Extended Bans
Name | Character | Type | Ban Syntax | Description |
---|---|---|---|---|
account | R | Matching | R:<pattern> | Checks whether users are logged into a services account matching <pattern>. |
unauthed | U | Matching | U:<pattern> | Checks whether users matching <pattern> are not logged into a services account. |
Example Usage
Bans users logged into the services account named Soni:
/MODE #channel +b R:Soni
Bans users matching *!*@example.com
that are not logged into a services account:
/MODE #channel +b U:*!*@example.com