Tip of the day: TheSecurity article gives hands-on tips on how to deal with drone attacks, flooding, spammers, (D)DoS and more.

Channel modes

From UnrealIRCd documentation wiki
Jump to navigationJump to search
Other languages:

These are all channel modes that can be set. Use the command:MODE #channel +modeshere.

Normally you need channel operator status (+o, or some other level such as +h/+a/+q) if you want to change channel modes. However, IRCOp's withOperOverride privileges may bypass these restrictions. And similarly for IRCOps with access to theSAMODE command.

Contents

Access levels

These are the modes that grant a certain 'level' to a user.

Channel modeModuleDescriptionRestrictions
vchanmodes/voiceVoice. This makes the user able to speak in +m/+M channels. User can also still speak if banned.May be set by+hoaq users
hchanmodes/halfopHalf-Op. Gives some of the usual channel operator rights, but not all. They are basically a light version of channel ops.May be set by+oaq users
ochanmodes/chanopChannel Op. This is the channel operator privilege everyone knows about, allows the user to do almost all administrative tasks in a channel such as /KICK, /MODE, etc..May be set by+oaq users
achanmodes/chanadminChannel Admin. A level above channel ops but with no special extra privileges except for one: people below chanadmin (so +h/+o) cannot KICK +a people.May be set by+q users
qchanmodes/chanownerChannel Owner. The highest level. Channel owners can't be kicked by any level below. Usually there's only one person with +q and the mode is set by services.Normal users can't set this

Note that oftenServices are used to manage +vhoaq lists in so called "access lists" or AOP/HOP/etc. Consult your services documentation.

Disabling levels

You can decide not to load a level by usingblacklist-module, egblacklist-module "chanmodes/chanowner"; if you don't want+q.

List modes

These are so called 'list modes'.

Channel modeModuleDescriptionRestrictions
bbuilt-inBan. Prevents a user from joining the channel.Requires+h or higher
ebuilt-inBan exception. When a user is banned (due to +b) and they are on this +e list then they may still join the channel.Requires+h or higher
Ibuilt-inInvite exception. When the channel is +i (invite only) then people on this list may still join the channel.Requires+h or higher

All these modes take a nick!user@host parameter, like:+b *!*@*.isp.com. See alsoExtended bans for other syntaxes (eg:+e ~channel:@#lobby).

Channel settings

These are channel modes that configure channel settings.

Channel modeModuleDescriptionRestrictions
cchanmodes/nocolorNo color allowed in the channel. Will block ANSI and mIRC color codes.Requires+o or higher
Cchanmodes/noctcpNo CTCP's allowed in the channel.Requires+o or higher
Dchanmodes/delayjoinDelays someone's JOIN message until that person speaks. Chanops and higher, opers and ulines/services are exempt.Requires+o or higher
dchanmodes/delayjoinWhen unsetting +D, Unreal needs to process all remaining delayed users (i.e. invisible in the channel to regular users) to make them JOIN. +d is an intermediate/temporary mode to facilitate this and will be unset once all users are properly "joined".Set by server
Fchanmodes/floodprotFlood protection. Set an anti flood profile, seechannel mode +F.(New in UnrealIRCd 6.1.0+)Requires+o or higher
fchanmodes/floodprotFlood protection fine-tuning. This is a highly advanced feature, seechannel mode +f.Requires+o or higher
Gchanmodes/censorFilter out bad words configured inBadword blockRequires+o or higher
Hchanmodes/historyTurns on Channel History. For more information how to use this seeChannel historyRequires+o or higher
ichanmodes/inviteonlyInvite only. Requires people to be /INVITE'd to the channel or be on the +I (Invite Exceptions) list (for that latter, see the List modes section above)Requires+o or higher
kchanmodes/keyRequire users to specify a channel key in order to join (/JOIN #chan key). Example:+k secretRequires+h or higher
Kchanmodes/noknock/KNOCK command is not allowed.Requires+o or higher
Lchanmodes/linkIf unable to join, user will be forwarded to this channel. Example:+L #somethingRequires+o or higher
lchanmodes/limitLimit the amount of users that may be in the channel. If the limit is reached then any new JOIN's are rejected (see also +L above).Requires+o or higher
mchanmodes/moderatedModerated channel. Only people with+v or higher (+vhoaq) may speak.Requires+h or higher
Mchanmodes/regonlyspeakMust be authenticated to services or have+v or higher to speak.Requires+o or higher
Nchanmodes/nonickchangeNo nick-changes permitted. Normally not set, only during a a nick-flood flood attack.Requires+o or higher
nchanmodes/noexternalmsgsNo external messages. If you don't set +n then users outside the channel may still send messages to it. Thus, almost everyone will set their channel +n.Requires+h or higher
Ochanmodes/operonlyIRC Operator only channelIRCOp-only
Pchanmodes/permanentPermanent channel. After all users leave a channel it is normally destroyed. If you set +P then this won't happen and all settings are preserved.

In addition to that, all channel settings (modes, bans, topic, etc.) are saved in a database and restored on startup via thechanneldb module.

IRCOp-only
pchanmodes/privatePrivate channel. Partially conceals the existence of the channel. Users cannot see this channel name unless they are a member of it. For example, if youWHOIS a user who is on a +p channel, this channel is omitted from the response - unless you are on the same channel. IRC Operators will always see +p channels and its members.Requires+o or higher
Qchanmodes/nokickNo /KICK allowed. Can be used to force all chanops to useServices for kicking. Unusual, but possible.Requires+o or higher
Rchanmodes/regonlyOnly registered users may join the channel. Registered users are users authenticated toServices.Requires+o or higher
rchanmodes/isregisteredChannel is registered atServicesSet by services
schanmodes/secretSecret channel. Extends the functionality of +p (above), but in addition to this, it will act as if the channel does not exist at all for queries like /TOPIC, /LIST and /NAMES. One exception to this is that it will always respond to the /MODE command. IRC Operators will always see +s channels and its members.Requires+o or higher
Schanmodes/stripcolorStrip color codes. This removes any mIRC or ANSI color codes by converting it to regular text.Requires+o or higher
Tchanmodes/nonoticeChannel notices are not permitted (/NOTICE #chan hi!). On many clients a beeping sound will happen on notices, hence why this mode is sometimes set.Requires+o or higher
tchanmodes/topiclimitRestricts /TOPIC to+h or higher. Without +t anyone in the channel may set the topic. Most channels are +t.Requires+h or higher
Vchanmodes/noinvite/INVITE is not permitted.Requires+o or higher
zchanmodes/secureonlyOnly clients which are connected throughSSL/TLS may join the channelRequires+o or higher
Zchanmodes/issecureIndicates that only people who are usingSSL/TLS are on the channel. This channel mode is (only) set by the server when the channel is also +z and everyone on the channel is connected via SSL.Set by server
Retrieved from "https://www.unrealircd.org/docwiki/index.php?title=Channel_modes&oldid=14355"