Channel Modes – UnrealIRCd 6
Complete, official list of UnrealIRCd 6 channel modes: user prefixes, protection modes, anti-flood (+f), ExtBans and advanced modes. Source: the official help.it.conf.
How to use modes
Syntax
/MODE #canale +[mode] [parametri] ← attiva
/MODE #canale -[mode] [parametri] ← disattiva
/MODE #canale ← mostra mode attive
Several modes can be combined: /MODE #dillo +mntR
The minimum rank required is in square brackets: [h] = halfop, [o] = op, [q] = owner, Staff only = requires IRCop.
User prefixes
| Mode | Prefix | Name | Description |
|---|---|---|---|
+v | + | Voice | Can talk even if the channel is +m (moderated) |
+h | % | HalfOp | Allows some op actions such as kick and ban |
+o | @ | Op | Channel operator — full moderation access |
+a | & | Protect / Admin | Protect — can't be kicked by regular ops |
+q | ~ | Owner | Channel owner — maximum powers |
Channel modes
| Mode | Parameter | Name | Description | Min. rank |
|---|---|---|---|---|
+b | nick!ident@host | Ban | Bans the mask from the channel. See also ExtBans | [h] |
+c | No colors | Blocks messages containing formatting (colors, bold, etc.) | [o] | |
+C | No CTCP | Prevents sending CTCPs to the channel | [h] | |
+e | nick!ident@host | Ban exception | Exempts the mask from an active ban | [h] |
+f | [N<tipo>{#azione}][:sec] | Flood protection | Advanced anti-flood protection. See the +f section | [o] |
+G | Censor | Replaces inappropriate words with <censored> in received messages | [o] | |
+i | Invite only | Access to the channel is by invite only (/INVITE) | [h] | |
+I | nick!ident@host | Invite exception | Lets the mask join even if the channel is +i | [h] |
+k | password | Key | Password-protected access: /JOIN #canale password | [h] |
+K | No knock | Prevents the use of /KNOCK on the channel | [h] | |
+l | number | Limit | Maximum number of users in the channel | [h] |
+L | #canale2 | Link | If the channel is full (+l), new users are redirected to #canale2 | [q] |
+m | Moderated | Only voice (+) and above can talk | [h] | |
+M | Registered to talk | Only users with a rank or a registered nick can talk | [h] | |
+N | No nick change | Users can't change nick while in the channel | [h] | |
+n | No external msgs | Users outside the channel can't send messages to it | [h] | |
+O | Oper only | Access restricted to IRCops | Staff only | |
+p | Private | Private channel — shows up as * in whois | [o] | |
+P | Permanent | The channel isn't destroyed when it empties | Staff only | |
+Q | No kick | Prevents the use of the /KICK command in the channel | [o] | |
+R | Registered only | Access allowed only to registered nicknames | [h] | |
+r | Registered channel | Marks a channel registered with ChanServ. Can only be set by services | Services | |
+s | Secret | Secret channel — doesn't appear in /LIST or in whois | [o] | |
+S | Strip colors | Removes formatting and colors from messages sent in the channel | [o] | |
+T | No notice | Prevents users without a rank from sending notices to the channel | [o] | |
+t | Topic lock | Only users ranked above voice can change the topic | [h] | |
+u | Auditorium | In /NAMES and /WHO shows only ops. Useful for auditorium channels | [q] | |
+V | No invite | Prevents users without a rank from using /INVITE | [o] | |
+z | SSL only | Only allows clients with an SSL/TLS connection to join | [o] | |
+Z | All SSL | Indicates that all users in the channel are using SSL/TLS. Can only be changed by the server if the channel is already +z | Server |
Mode +f — Anti-flood protection
The +f mode provides full flood protection for the channel, preventing join, nick change, CTCP, text and knock floods.
Syntax
/MODE #canale +f [<quantità><tipo>{#<azione>}{,...}]:<secondi>
| Type | Name | Default action | Other actions |
|---|---|---|---|
c | CTCP | +C | m, M |
j | Join | +i | R |
k | Knock | +K | — |
m | Message (global) | +m | M |
n | Nick change | +N | — |
t | Text (per user) | kick | b |
The difference between type
m and t: m counts messages globally in the channel; t counts messages per individual user. You can specify a time (in minutes) after which the action is automatically undone.
+f examples
# Kick chi scrive più di 5 messaggi in 3 secondi
/MODE #canale +f [5t]:3
# Banna chi fa flood (più di 5 msg in 3 sec), ban rimosso dopo 2 minuti
/MODE #canale +f [5t#b2]:3
# Anti join-flood: +i se più di 10 join in 15 secondi
/MODE #canale +f [10j#i]:15
# Più protezioni combinate
/MODE #canale +f [5t,10j#i]:5
Extended Bans
Extended Bans let you ban using criteria other than the traditional nick!user@host and apply actions other than simply removing the user.
| ExtBan | Name | Description | Example |
|---|---|---|---|
~q:mask | Quiet | The user can join but can't talk, unless they are +v or higher | +b ~q:*!*@*.aol.com |
~n:mask | No nick change | The user can't change nick, unless they are +v or higher | +b ~n:*!*@*.isp.com |
~j:mask | No join | The user can't join the channel, but can do everything else if already inside | +b ~j:nick!*@* |
~a:account | Account ban | Ban based on the services account: if the user is identified with that account, the ban applies | +e ~a:AccountFidato |
~c:#canale | Channel ban | Bans anyone who is in the specified channel. Add a prefix to target only users with that rank or higher | +b ~c:#spam / +e ~c:@#trusted |
~O:operclass | Oper class ban | Bans/allows based on an IRCop's operclass. Use with +i and +I for channels reserved to certain opers | +iI ~O:*admin* |
~r:realname | Realname ban | Ban based on the realname. The underscore _ matches both a space and an underscore |
+b ~r:*Bot_Script* |
~S:fingerprint | Certificate fingerprint | Ban/exception based on the fingerprint of the client's SSL/TLS certificate. Very useful for secure exceptions and invites | +iI ~S:00112233445566... |
Combining ExtBans: you can stack bans of the first and second type. For example
Bans in the second group (
+b ~q:~c:#spam will stop all users who are in #spam from talking.Bans in the second group (
~a, ~c, ~O, ~r, ~S) can also be used for invite exceptions (+I) and ban exceptions (+e).
Practical examples
Anti-flood channel, registered users only, protected topic
/MODE #miocanale +tnRf [5t#b]:10
Private invite-only channel with password
/MODE #privato +sipk miapassword
Silence a user without kicking them
/MODE #canale +b ~q:NickFastidioso!*@*
Auditorium channel: only speakers can talk
/MODE #webinar +muz
Give op to a user
/MODE #canale +o NickUtente
Block users from #spam but allow anyone identified as "TrustedAccount"
/MODE #canale +b ~c:#spam
/MODE #canale +e ~a:TrustedAccount