InspIRCd v4 is still early in development!
If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.
You probably want to use InspIRCd v3 instead.
The "sethost" Module (v4)
Description
This module adds the /SETHOST
command which allows server operators to change their displayed hostname.
Configuration
To load this module use the following <module>
tag:
<module name="sethost">
<hostname>
The <hostname>
tag defines settings about how the sethost module should behave. This tag can only be defined once.
Name | Type | Default Value | Description |
---|---|---|---|
charmap | Text | ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-_/0123456789 | The characters which are allowed in a hostname. |
Example Usage
Allows hostnames to contain letters, numbers, /
, -
, .', and
__`.
<hostname charmap="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-_/0123456789">
Commands
Name | Parameter Count | Syntax | Description |
---|---|---|---|
SETHOST | 1 | <hostname> | Changes the displayed hostname of the user to <hostname>. |
Example Usage
Changes the hostname of the user to wibble.wobble:
/SETHOST wibble.wobble
Special Notes
This command only changes the displayed hostname of the user. Their real hostname will remain intact and still will match against bans.