Channel Modes: Difference between revisions

From HybridIRC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Channel Modes ==
__NOTOC__
Sets various modes for the channel. You must be an operator in the channel to issue these commands; some commands are reserved for server operators.
<div style="background: linear-gradient(90deg, #f4f6fb, #eef2f7); padding: 20px; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6;">


Usage: <code>MODE &lt;channel&gt; +|-&lt;modes&gt; [&lt;params&gt;]</code> 
== 📡 Channel Modes ==
Examples:
* <code>/mode #lobby +v Berat</code> 
* <code>/mode #lobby +b *!*@5sr.guj.182.78.IP</code>


Channel modes are used to configure restrictions and behavior in a channel. You must be a channel operator to set these modes; some are reserved for server operators.
=== 🔧 Usage ===
<code>MODE &lt;channel&gt; +|-&lt;modes&gt; [&lt;params&gt;]</code>
<div style="background: linear-gradient(90deg, #f4f6fb, #eef2f7); color: #333; padding: 15px; margin-top: 20px; border-radius: 10px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);">
=== Examples ===
* <code>/mode #lobby +f block:6:6</code>
* <code>/mode #lobby +H 15:900</code>
* <code>/mode #lobby +E block:5:60:5:20</code>
* <code>/mode #lobby +o shayne</code>
* <code>/mode #lobby +g *this?is?a?blocked?sentence*</code>
* <code>/mode #lobby +g *blockedword*</code>
* <code>/mode #lobby +w o:R:shayne</code>
* <code>/mode #lobby +L #lobbyoverflow</code>
</div>
</div>
{| class="wikitable"
{| class="wikitable"
! Mode Name
! Mode Name
Line 14: Line 32:
! Description
! Description
|-
|-
| Voice
| Voice || v || <nick> || Channel operators || Gives voice to <nickname>, allowing them to speak while the channel is +m.
| v
| <nick>
| Channel operators
| Gives voice to <nickname>, allowing them to speak while the channel is +m.
|-
|-
| Op
| Op || o || <nick> || Channel operators || Gives op status to <nickname>.
| o
| <nick>
| Channel operators
| Gives op status to <nickname>.
|-
|-
| Ban
| Ban || b || <hostmask> || Channel operators || Bans <hostmask> from the channel.
| b
| <mask>
| Channel operators
| Bans users matching <mask> from joining the channel.
|-
|-
| Banexception
| Ban Exception || e || <hostmask> || Channel operators || Excepts <hostmask> from bans.
| e
| <mask>
| Channel operators
| Exempts users matching <mask> from channel mode b (ban).
|-
|-
| Invex
| Invite Exception || I || <hostmask> || Channel operators || Excepts <hostmask> from +i, allowing matching users to join while the channel is invite-only.
| I
| <mask>
| Channel operators
| Exempts users matching <mask> from channel mode i (inviteonly).
|-
|-
| Blockcolor
| Block Formatting || c || N/A || Channel operators || Blocks messages that contain formatting codes.
| c
| None
| Channel operators
| Enables blocking messages that contain IRC formatting codes.
|-
|-
| Delaymsg
| Delay Messaging || d || <sec> || Channel operators || Blocks messages to a channel from new users until they have been in the channel for <time> seconds.
| d
| <seconds>
| Channel operators
| Prevents newly joined users from speaking until <seconds> seconds have passed.
|-
|-
| Flood
| Flood Protection || f || ban\|block\|mute\|kick\|kickban:<lines>:<sec> || Channel operators || Kicks on text flood equal to or above the specified rate. With *, the user is banned.
| f
| (*)<lines>:<seconds>
| Channel operators
| Kicks users who send more than <lines> messages in the last <seconds> seconds. If prefixed with * then offending users are also banned.
|-
|-
| Filter
| Filter || g || <mask> || Channel operators || Blocks messages matching the given glob mask.
| g
| <glob>
| Channel operators
| Prevents users from sending messages that match <glob>.
|-
|-
| Inviteonly
| Invite Only || i || N/A || Channel operators || Makes the channel invite-only. Users can only join if an operator uses /INVITE to invite them.
| i
| None
| Channel operators
| Prevents users from joining the channel without an invite.
|-
|-
| Joinflood
| Join Flood || j || <joins>:<sec> || Channel operators || Limits joins to the specified rate.
| j
| <joins>:<seconds>
| Channel operators
| Prevents more than <joins> joins in the last <seconds> seconds.
|-
|-
| Key
| Channel Key || k || <key> || Channel operators || Set the channel key (password) to <key>.
| k
| <key>
| Channel operators
| Prevents users from joining the channel who have not specified the <key> password.
|-
|-
| Limit
| User Limit || l || <limit> || Channel operators || Set the maximum allowed users to <limit>.
| l
| <count>
| Channel operators
| Allows no more than <count> users to join the channel.
|-
|-
| Moderated
| Moderated || m || N/A || Channel operators || Enable moderation. Only users with +v, +h, or +o can speak.
| m
| None
| Channel operators
| Prevents users without a prefix rank from messaging the channel.
|-
|-
| Noextmsg
| No External Messages || n || N/A || Channel operators || Blocks users who are not members of the channel from messaging it.
| n
| None
| Channel operators
| Prevents users who are not in the channel from messaging the channel.
|-
|-
| Private
| Private || p || N/A || Channel operators || Hides the channel in /WHOIS from people who are not a member.
| p
| None
| Channel operators
| Hides the channel in /WHOIS from people who are not a member. You probably want channel mode s (secret) rather than this.
|-
|-
| Secret
| Secret || s || N/A || Channel operators || Hides the channel in /WHOIS and /LIST from people who are not a member.
| s
| None
| Channel operators
| Hides the channel in /WHOIS and /LIST from people who are not a member.
|-
|-
| Topiclock
| Topic Lock || t || N/A || Channel operators || Prevents users without +h or +o from changing the topic.
| t
| None
| Channel operators
| Prevents non-channel operators from changing the channel topic.
|-
|-
| Auditorium
| Auditorium || u || N/A || Channel operators || Makes the channel an auditorium where normal users only see themselves or themselves and the operators, while operators see all users.
| u
| None
| Channel operators
| Makes the channel an auditorium; normal users only see themselves or themselves and the operators, while operators see all the users.
|-
|-
| Autoop
| Autoop || w || <flag>:<banmask> || Channel operators || Adds basic channel access controls of <flag> to <banmask>.
| w
| <status>:<mask>
| Channel operators
| Grants the <status> rank to users matching <mask> on join. For example, +w o:R:shayne will op anyone identified to the account 'shayne' on join.
|-
|-
| SSLonly
| SSL-Only || z || N/A || Channel operators || Blocks non-TLS clients from joining the channel.
| z
| None
| Channel operators
| Prevents users who are not connected using TLS (SSL) from joining the channel.
|-
|-
| Allowinvite
| Allow Invite || A || N/A || Channel operators || Allows anyone to invite users to the channel (normally only chanops can invite).
| A
| None
| Channel operators
| Allows anyone to invite users to the channel (normally only chanops can invite).
|-
|-
| Blockcaps
| Anti-Caps || B || ban\|block\|mute\|kick\|kickban:<minlen>:<percent> || Channel operators || Blocks messages with too many capital letters.
| B
| None
| Channel operators
| Enables blocking excessively capitalized messages.
|-
|-
| Noctcp
| No CTCP || C || N/A || Channel operators || Blocks any CTCPs to the channel.
| C
| None
| Channel operators
| Enables blocking channel messages that contain CTCPs.
|-
|-
| Delayjoin
| Delayed Join || D || N/A || Channel operators || Delays join messages from users until they message the channel.
| D
| None
| Channel operators
| Prevents users from receiving JOIN messages until the joining user speaks.
|-
|-
| Repeat
| Repeat Block || E || ban\|block\|mute\|kick\|kickban:<lines>:<sec>[:<difference>][:<backlog>] || Channel operators || Blocks similar messages.
| E
| [~|*]<lines>:<sec>[:<difference>][:<backlog>]
| Channel operators
| Configures the messages that should be considered a repeat. If prefixed with ~ the messages are blocked. If prefixed with * then offending users are banned. If not prefixed then offending users are kicked.
|-
|-
| Nickflood
| Nick Flood || F || <changes>:<sec> || Channel operators || Blocks nick changes when they equal or exceed the specified rate.
| F
| <changes>:<seconds>
| Channel operators
| Allows exempted users to change nicknames at a higher rate than channel mode F (nickflood) allows.
|-
|-
| Censor
| Channel History || H || <num>:<duration> || Channel operators || Displays the last <num> lines of chat to joining users. <duration> is the maximum time to keep lines in the history buffer.
| G
| None
| Channel operators
| Enables censoring messages sent to the channel.
|-
|-
| History
| No Rejoin After Kick || J || <seconds> || Channel operators || Prevents auto-rejoining after being kicked for the specified number of seconds.
| H
| <num>:<duration>
| Channel operators
| Displays the last <num> lines of chat to joining users. <duration> is the maximum time to keep lines in the history buffer.
|-
|-
| Kicknorejoin
| No Knock || K || N/A || Channel operators || Blocks /KNOCK on the channel.
| J
| <seconds>
| Channel operators
| Prevents those who have been kicked from rejoining until <seconds> seconds have passed.
|-
|-
| Noknock
| Channel Redirect || L || <channel> || Channel operators || If the channel reaches its user limit (+l), redirect users to <channel>.
| K
| None
| Channel operators
| Disables the usage of the /KNOCK command on this channel.
|-
|-
| Redirect
| Registered Moderation || M || N/A || Channel operators || Blocks unregistered users from speaking.
| L
| <channel>
| Channel operators
| Redirects all new users to <channel> when the user limit is reached.
|-
|-
| Regmoderated
| No Nick Change || N || N/A || Channel operators || Prevents users on the channel from changing their nick.
| M
| None
| Channel operators
| Prevents users who are not logged into a services account from speaking in the channel.
|-
|-
| Nonick
| No Kicks || Q || N/A || Channel operators || Only Services or servers can kick users.
| N
| None
| Channel operators
| Prevents users from changing their nickname whilst in the channel.
|-
|-
| Operonly
| Registered Only || R || N/A || Channel operators || Blocks unregistered users from joining.
| O
| None
| Server operators
| Prevents non-server operators from joining the channel.
|-
|-
| Permanent
| Strip Formatting || S || N/A || Channel operators || Strips formatting codes from messages sent to the channel.
| P
| None
| Server operators
| Prevents the channel from being deleted when the last user leaves.
|-
|-
| Nokick
| No Notices || T || N/A || Channel operators || Blocks /NOTICEs from users who are not at least halfop.
| Q
| None
| Channel operators
| Prevents privileged users from using the /KICK command.
|-
|-
| Reginvite
| Anti-Highlight || V || N/A || Channel operators || Kills users who highlight more than 10 nicks at once in a channel.
| R
| None
| Channel operators
| Prevents users who are not logged into a services account from joining the channel.
|-
|-
| Stripcolor
| Exemptions || X || <type>:<status> || Channel operators || Makes users of <status> or higher exempt from a restriction <type>. For example: flood:h (requires the exemptchanops module).
| S
| None
| Channel operators
| Enables stripping of IRC formatting codes from channel messages.
|-
| Nonotice
| T
| None
| Channel operators
| Enables blocking messages sent with the /NOTICE command.
|-
| Blockhighlight
| V
| None
| Channel operators
| Kills users who highlight more than 10 nicks at once in a channel.
|-
| Exemptchanops
| X
| <restriction>:<mode>
| Channel operators
| Exempts users with the <mode> prefix mode or higher from <restriction>.
|}
|}
 
<h3 style="font-size: 1.3em; color: #e74c3c;">💡 Help & Resources</h3>
<div style="background: #f2f2f2; color: #333; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); margin-top: 20px; font-family: 'Roboto', sans-serif;">
<div style="padding: 10px; background: #ecf0f1; border-radius: 10px; margin-top: 10px;">
  <h3 style="color: #2980b9;">Need Help?</h3>
    <p style="color: #2c3e50;">Need more resources? Check out these links:</p>
  <p>If you have questions or need assistance:</p>
    <ul>
  <ul style="list-style: none; padding: 0; color: #2c3e50;">
      <li>Join the help channel: '''[https://kiwiirc.hybridirc.com/#help #Help]</li>
    <li style="margin-bottom: 10px;">* Join the help channel: '''[https://kiwiirc.hybridirc.com/#help #Help]'''</li>
      <li>Visit [https://www.hybridirc.com/help/channel-modes/ Available channel modes: https://www.hybridirc.com/help/channel-modes/]</li>
    <li style="margin-bottom: 10px;">* Visit [https://www.hybridirc.com/help/channel-modes/ Available channel modes].</li>
      <li>Visit [https://docs.inspircd.org/4/channel-modes inspircd channel modes]</li>
    <li style="margin-bottom: 10px;">or contact us via e-mail at: support@hybridirc.com</li>
    </ul>
  </ul>
</div>
</div>

Latest revision as of 21:46, 4 Haziran 2025

📡 Channel Modes

Channel modes are used to configure restrictions and behavior in a channel. You must be a channel operator to set these modes; some are reserved for server operators.

🔧 Usage

MODE <channel> +|-<modes> [<params>]

Examples

  • /mode #lobby +f block:6:6
  • /mode #lobby +H 15:900
  • /mode #lobby +E block:5:60:5:20
  • /mode #lobby +o shayne
  • /mode #lobby +g *this?is?a?blocked?sentence*
  • /mode #lobby +g *blockedword*
  • /mode #lobby +w o:R:shayne
  • /mode #lobby +L #lobbyoverflow
Mode Name Character Parameter Syntax Usable By Description
Voice v <nick> Channel operators Gives voice to <nickname>, allowing them to speak while the channel is +m.
Op o <nick> Channel operators Gives op status to <nickname>.
Ban b <hostmask> Channel operators Bans <hostmask> from the channel.
Ban Exception e <hostmask> Channel operators Excepts <hostmask> from bans.
Invite Exception I <hostmask> Channel operators Excepts <hostmask> from +i, allowing matching users to join while the channel is invite-only.
Block Formatting c N/A Channel operators Blocks messages that contain formatting codes.
Delay Messaging d <sec> Channel operators Blocks messages to a channel from new users until they have been in the channel for
Flood Protection f block\|mute\|kick\|kickban:<lines>:<sec> Channel operators Kicks on text flood equal to or above the specified rate. With *, the user is banned.
Filter g <mask> Channel operators Blocks messages matching the given glob mask.
Invite Only i N/A Channel operators Makes the channel invite-only. Users can only join if an operator uses /INVITE to invite them.
Join Flood j <joins>:<sec> Channel operators Limits joins to the specified rate.
Channel Key k <key> Channel operators Set the channel key (password) to <key>.
User Limit l <limit> Channel operators Set the maximum allowed users to <limit>.
Moderated m N/A Channel operators Enable moderation. Only users with +v, +h, or +o can speak.
No External Messages n N/A Channel operators Blocks users who are not members of the channel from messaging it.
Private p N/A Channel operators Hides the channel in /WHOIS from people who are not a member.
Secret s N/A Channel operators Hides the channel in /WHOIS and /LIST from people who are not a member.
Topic Lock t N/A Channel operators Prevents users without +h or +o from changing the topic.
Auditorium u N/A Channel operators Makes the channel an auditorium where normal users only see themselves or themselves and the operators, while operators see all users.
Autoop w <flag>:<banmask> Channel operators Adds basic channel access controls of <flag> to <banmask>.
SSL-Only z N/A Channel operators Blocks non-TLS clients from joining the channel.
Allow Invite A N/A Channel operators Allows anyone to invite users to the channel (normally only chanops can invite).
Anti-Caps B block\|mute\|kick\|kickban:<minlen>:<percent> Channel operators Blocks messages with too many capital letters.
No CTCP C N/A Channel operators Blocks any CTCPs to the channel.
Delayed Join D N/A Channel operators Delays join messages from users until they message the channel.
Repeat Block E block\|mute\|kick\|kickban:<lines>:<sec>[:<difference>][:<backlog>] Channel operators Blocks similar messages.
Nick Flood F <changes>:<sec> Channel operators Blocks nick changes when they equal or exceed the specified rate.
Channel History H <num>:<duration> Channel operators Displays the last <num> lines of chat to joining users. <duration> is the maximum time to keep lines in the history buffer.
No Rejoin After Kick J <seconds> Channel operators Prevents auto-rejoining after being kicked for the specified number of seconds.
No Knock K N/A Channel operators Blocks /KNOCK on the channel.
Channel Redirect L <channel> Channel operators If the channel reaches its user limit (+l), redirect users to <channel>.
Registered Moderation M N/A Channel operators Blocks unregistered users from speaking.
No Nick Change N N/A Channel operators Prevents users on the channel from changing their nick.
No Kicks Q N/A Channel operators Only Services or servers can kick users.
Registered Only R N/A Channel operators Blocks unregistered users from joining.
Strip Formatting S N/A Channel operators Strips formatting codes from messages sent to the channel.
No Notices T N/A Channel operators Blocks /NOTICEs from users who are not at least halfop.
Anti-Highlight V N/A Channel operators Kills users who highlight more than 10 nicks at once in a channel.
Exemptions X <type>:<status> Channel operators Makes users of <status> or higher exempt from a restriction <type>. For example: flood:h (requires the exemptchanops module).

💡 Help & Resources

Need more resources? Check out these links: