User Modes: Difference between revisions

From HybridIRC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(19 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
|-
|-
| Hide Idle and Signon Time || a || N/A || Server operators || Hides idle and signon time in WHOIS from non-operators (requires the hideidle module).
| 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 (requires the commonchans module).
| 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 (requires the deaf module).
| 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 (requires the callerid module).
| 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.
| 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 (requires the account module).
| Registered Nickname || r || N/A || Users || Marks as having a registered nickname.
|-
| Wallops || w || N/A || Users || Receives server messages.
|-
|-
| Wallops || w || N/A || Users || Receives wallops messages.
| Cloaked Hostname || x || N/A || Users || Gives a cloaked hostname.
|-
|-
| Cloaked Hostname || x || N/A || Users || Gives a cloaked hostname (requires the cloak module).
| TLS Messages Only || z || N/A || Users || Only allows private messages from TLS users.
|-
|-
| TLS Messages Only || z || N/A || Users || Only allows private messages from TLS users (requires the sslmodes module).
| Bot Mode || B || N/A || Users || Marks as a bot.
|-
|-
| Bot Mode || B || N/A || Users || Marks as a bot (requires the botmode module).
| 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'''
|-
|-
| Privdeaf Mode || D || N/A || Users || User will not receive any private messages or notices from users (requires the deaf module). 
| Hide Channel List || I || N/A || Users || Hides the user's entire channel list in WHOIS from non-server operators.
'''Note:''' When enabled, you will not receive notices from services (NickServ/ChanServ, etc.). Please remove it if you need to access services using: `/mode yournick -D`
|-
|-
| Disable Redirects || L || N/A || Users || Stops redirections done by the redirect module (requires the redirect module).
| 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 (requires the chanhistory 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 (requires the account module).
| 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 (requires the stripcolor module).
| Strip Formatting in PMs || S || N/A || Users || Strips formatting codes out of private messages to the user.
|}
|}
<h3 style="font-size: 1.3em; color: #e74c3c;">💡 Help & Resources</h3>
<h3 style="font-size: 1.3em; color: #e74c3c;">💡 Help & Resources</h3>
<div style="padding: 10px; background: #ecf0f1; border-radius: 10px; margin-top: 10px;">
<div style="padding: 10px; background: #ecf0f1; border-radius: 10px; margin-top: 10px;">
Line 51: Line 72:
     <ul>
     <ul>
       <li>Join the help channel: '''[https://kiwiirc.hybridirc.com/#help #Help]</li>
       <li>Join the help channel: '''[https://kiwiirc.hybridirc.com/#help #Help]</li>
       <li>Visit [https://www.hybridirc.com/help/user-modes/ Available user modes]</li>
       <li>Visit [https://www.hybridirc.com/help/user-modes/ Available user modes: https://www.hybridirc.com/help/user-modes/]</li>
       <li>Visit [https://docs.inspircd.org/4/user-modes inspircd user modes]</li>
       <li>Visit [https://docs.inspircd.org/4/user-modes inspircd user modes]</li>
     </ul>
     </ul>
</div>
</div>

Latest 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: