User Modes: Difference between revisions

From HybridIRC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
== User Modes ==
__NOTOC__
You can set user modes on yourself using the <code>/MODE</code> command, but it only applies to the nickname you are currently using. This allows you to control aspects of your presence on the network, such as your visibility and status.
<div style="background: linear-gradient(120deg, #4facfe, #8a2be2); color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); font-family: 'Roboto', sans-serif; margin-top: 20px;">
 
  <h2 style="margin-top: 0;">👤 Extended Bans</h2>
  <p>Extended bans (extbans) are divided into two types:</p>
  <ul>
    <li><strong>Matching extbans:</strong> These match on users in additional ways.</li>
    <li><strong>Acting extbans:</strong> These restrict users in various ways beyond standard bans.</li>
  </ul>
  <p>Some list modes, like channel mode <code>b</code> (ban), typically use a <code>&lt;nick&gt;!&lt;user&gt;@&lt;host&gt;</code> mask. These modes can be extended to support alternate forms of matching and actions.</p>
 
  <p>To use an extban, set <code>+b &lt;ban&gt;</code> or <code>+e &lt;ban&gt;</code> with the extban mask instead of the usual <code>nick!user@host</code> mask to ban or exempt users. Ban exceptions on acting extbans prevent users from matching the extban or corresponding channel mode.</p>
 
  <p>Matching extbans can also be used for invite exceptions by setting <code>+I &lt;extban&gt;</code>.</p>
 
  <h3>🔧 Usage</h3>
  <p><code>MODE &lt;channel&gt; +|-&lt;modes&gt; [&lt;params&gt;]</code></p>
 
  <div style="text-align: left; background: linear-gradient(120deg, #4facfe, #8a2be2); color: white; padding: 15px; margin-top: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);">
    <h3>💬 Examples</h3>
    <ul style="list-style: none; padding-left: 0; margin: 0;">
      <li><code>+b &lt;ban&gt;</code> or <code>+e &lt;ban&gt;</code></li>
    </ul>
  </div>
</div>
 


Usage: <code>MODE &lt;yournick&gt; &lt;+|-&gt;&lt;modes&gt;</code> 
Examples:
* <code>/mode shayne +D</code> 
* <code>/mode shayne -D</code>


{| class="wikitable"
{| class="wikitable"
Line 14: Line 34:
! Description
! Description
|-
|-
| Hideidle
| Hide Idle and Signon Time || a || N/A || Users || Hides idle and signon time in WHOIS from non-operators.
| a
| None
| Anyone
| Hides idle and signon time in /WHOIS from non-operators.
|-
| Commonchans
| c
| None
| Anyone
| Blocks private messages and notices from users who do not share a common channel with you.
|-
| Deaf
| d
| None
| Anyone
| User will not receive any messages or notices from channels they are in.
|-
| Callerid
| g
| None
| Anyone
| In combination with /ACCEPT, provides for server-side ignore.
|-
|-
| Helpop
| Block Private Messages || c || N/A || Users || Blocks private messages and notices from users who do not share a common channel with you.
| h
| None
| Server operators
| Marks the user as being available for help.
|-
|-
| Invisible
| Deaf Mode || d || N/A || Users || User will not receive any messages or notices from channels they are in.
| i
| None
| Anyone
| Makes invisible to /WHOIS if the user using /WHOIS is not in a common channel.
|-
|-
| Servprotect
| Server-Side Ignore || g || N/A || Users || In combination with /ACCEPT, provides for server-side ignore.
| k
| None
| Server operators
| Prevents the user from being kicked from channels or having op modes removed from them.
|-
|-
| Oper
| Invisible to /WHO || i || N/A || Users || Makes the user invisible to /WHO if the user using /WHO is not in a common channel.
| o
| None
| Server operators
| Marks the user as a server operator (can only be set by the server).
|-
|-
| Snomask
| Registered Nickname || r || N/A || Users || Marks as having a registered nickname.
| s
| <mask>
| Server operators
| Receives server notices specified by <mask>.
|-
|-
| Wallops
| Wallops || w || N/A || Users || Receives server messages.
| w
| None
| Anyone
| Receives wallops messages from server operators.
|-
|-
| Cloaking
| Cloaked Hostname || x || N/A || Users || Gives a cloaked hostname.
| x
| None
| Anyone
| Enables hiding of the user's hostname.
|-
|-
| Sslmodes
| TLS Messages Only || z || N/A || Users || Only allows private messages from TLS users.
| z
| None
| Anyone
| Prevents messages from being sent to or received from a user that is not connected using TLS (SSL).
|-
|-
| Botmode
| Bot Mode || B || N/A || Users || Marks as a bot.
| B
| None
| Anyone
| Marks the user as a bot.
|-
|-
| Privdeaf
| Privdeaf Mode || D || N/A || Users || User will not receive any private messages or notices from users.
| D
'''Note:''' This also blocks notices from services (NickServ, ChanServ, etc.). Disable with: '''/mode yournick -D'''
| None
| Anyone
| Prevents the user from receiving private messages.
|-
|-
| Censor
| Hide Channel List || I || N/A || Users || Hides the user's entire channel list in WHOIS from non-server operators.
| G
| None
| Anyone
| Censors messages sent to the user based on filters configured for the network.
|-
|-
| Hideoper
| Disable Redirects || L || N/A || Users || Stops redirections done by the redirect module.
| H
| None
| Server operators
| Hides the user's server operator status from unprivileged users.
|-
|-
| Hidechans
| Opt-Out History || N || N/A || Users || Allows users to opt-out of receiving channel history.
| I
| None
| Anyone
| Hides the channels the user is in from their /WHOIS response.
|-
|-
| Antiredirect
| Block Unregistered PMs || R || N/A || Users || Blocks private messages from unregistered users.
| L
| None
| Anyone
| Prevents users from being redirected by channel mode L (redirect).
|-
|-
| Chanhistory
| Strip Formatting in PMs || S || N/A || Users || Strips formatting codes out of private messages to the user.
| N
| None
| Anyone
| Disables receiving channel history on join.
|-
| Override
| O
| None
| Server operators
| Allows server operators to opt-in to overriding restrictions.
|-
| Regdeaf
| R
| None
| Anyone
| Blocks private messages from unregistered users.
|-
| U_stripcolor
| S
| None
| Anyone
| Enables stripping of IRC formatting codes from private messages.
|-
| U_noctcp
| T
| None
| Anyone
| Enables blocking private messages that contain CTCPs.
|-
| Blockinvite
| V
| None
| Anyone
| Blocks all invites from other users.
|-
| Showwhois
| W
| None
| Server operators
| Informs the user when someone does a /WHOIS query on their nick.
|}
|}
 
<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/user-modes/ Available user modes: https://www.hybridirc.com/help/user-modes/]</li>
    <li style="margin-bottom: 10px;">* Visit [https://www.hybridirc.com/help/user-modes/ Available user modes].</li>
      <li>Visit [https://docs.inspircd.org/4/user-modes inspircd user modes]</li>
    <li style="margin-bottom: 10px;">or contact us via e-mail at: support@hybridirc.com</li>
    </ul>
  </ul>
</div>
</div>

Revision as of 21:48, 3 Haziran 2025

👤 Extended Bans

Extended bans (extbans) are divided into two types:

  • Matching extbans: These match on users in additional ways.
  • Acting extbans: These restrict users in various ways beyond standard bans.

Some list modes, like channel mode b (ban), typically use a <nick>!<user>@<host> mask. These modes can be extended to support alternate forms of matching and actions.

To use an extban, set +b <ban> or +e <ban> with the extban mask instead of the usual nick!user@host mask to ban or exempt users. Ban exceptions on acting extbans prevent users from matching the extban or corresponding channel mode.

Matching extbans can also be used for invite exceptions by setting +I <extban>.

🔧 Usage

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

💬 Examples

  • +b <ban> or +e <ban>


Mode Name Character Parameter Syntax Usable By Description
Hide Idle and Signon Time a N/A Users Hides idle and signon time in WHOIS from non-operators.
Block Private Messages c N/A Users Blocks private messages and notices from users who do not share a common channel with you.
Deaf Mode d N/A Users User will not receive any messages or notices from channels they are in.
Server-Side Ignore g N/A Users In combination with /ACCEPT, provides for server-side ignore.
Invisible to /WHO i N/A Users Makes the user invisible to /WHO if the user using /WHO is not in a common channel.
Registered Nickname r N/A Users Marks as having a registered nickname.
Wallops w N/A Users Receives server messages.
Cloaked Hostname x N/A Users Gives a cloaked hostname.
TLS Messages Only z N/A Users Only allows private messages from TLS users.
Bot Mode B N/A Users Marks as a bot.
Privdeaf Mode D N/A Users User will not receive any private messages or notices from users.

Note: This also blocks notices from services (NickServ, ChanServ, etc.). Disable with: /mode yournick -D

Hide Channel List I N/A Users Hides the user's entire channel list in WHOIS from non-server operators.
Disable Redirects L N/A Users Stops redirections done by the redirect module.
Opt-Out History N N/A Users Allows users to opt-out of receiving channel history.
Block Unregistered PMs R N/A Users Blocks private messages from unregistered users.
Strip Formatting in PMs S N/A Users Strips formatting codes out of private messages to the user.

💡 Help & Resources

Need more resources? Check out these links: