Orixon / Docs / UnrealIRCd / Channel Modes

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

ModePrefixNameDescription
+v+VoiceCan talk even if the channel is +m (moderated)
+h%HalfOpAllows some op actions such as kick and ban
+o@OpChannel operator — full moderation access
+a&Protect / AdminProtect — can't be kicked by regular ops
+q~OwnerChannel owner — maximum powers

Channel modes

ModeParameterNameDescriptionMin. rank
+bnick!ident@hostBanBans the mask from the channel. See also ExtBans[h]
+cNo colorsBlocks messages containing formatting (colors, bold, etc.)[o]
+CNo CTCPPrevents sending CTCPs to the channel[h]
+enick!ident@hostBan exceptionExempts the mask from an active ban[h]
+f[N<tipo>{#azione}][:sec]Flood protectionAdvanced anti-flood protection. See the +f section[o]
+GCensorReplaces inappropriate words with <censored> in received messages[o]
+iInvite onlyAccess to the channel is by invite only (/INVITE)[h]
+Inick!ident@hostInvite exceptionLets the mask join even if the channel is +i[h]
+kpasswordKeyPassword-protected access: /JOIN #canale password[h]
+KNo knockPrevents the use of /KNOCK on the channel[h]
+lnumberLimitMaximum number of users in the channel[h]
+L#canale2LinkIf the channel is full (+l), new users are redirected to #canale2[q]
+mModeratedOnly voice (+) and above can talk[h]
+MRegistered to talkOnly users with a rank or a registered nick can talk[h]
+NNo nick changeUsers can't change nick while in the channel[h]
+nNo external msgsUsers outside the channel can't send messages to it[h]
+OOper onlyAccess restricted to IRCopsStaff only
+pPrivatePrivate channel — shows up as * in whois[o]
+PPermanentThe channel isn't destroyed when it emptiesStaff only
+QNo kickPrevents the use of the /KICK command in the channel[o]
+RRegistered onlyAccess allowed only to registered nicknames[h]
+rRegistered channelMarks a channel registered with ChanServ. Can only be set by servicesServices
+sSecretSecret channel — doesn't appear in /LIST or in whois[o]
+SStrip colorsRemoves formatting and colors from messages sent in the channel[o]
+TNo noticePrevents users without a rank from sending notices to the channel[o]
+tTopic lockOnly users ranked above voice can change the topic[h]
+uAuditoriumIn /NAMES and /WHO shows only ops. Useful for auditorium channels[q]
+VNo invitePrevents users without a rank from using /INVITE[o]
+zSSL onlyOnly allows clients with an SSL/TLS connection to join[o]
+ZAll SSLIndicates that all users in the channel are using SSL/TLS. Can only be changed by the server if the channel is already +zServer

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>
TypeNameDefault actionOther actions
cCTCP+Cm, M
jJoin+iR
kKnock+K—
mMessage (global)+mM
nNick change+N—
tText (per user)kickb
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.

ExtBanNameDescriptionExample
~q:maskQuiet The user can join but can't talk, unless they are +v or higher +b ~q:*!*@*.aol.com
~n:maskNo nick change The user can't change nick, unless they are +v or higher +b ~n:*!*@*.isp.com
~j:maskNo join The user can't join the channel, but can do everything else if already inside +b ~j:nick!*@*
~a:accountAccount ban Ban based on the services account: if the user is identified with that account, the ban applies +e ~a:AccountFidato
~c:#canaleChannel 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:operclassOper 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:realnameRealname ban Ban based on the realname. The underscore _ matches both a space and an underscore +b ~r:*Bot_Script*
~S:fingerprintCertificate 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 +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