-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmIRCd.ini
222 lines (154 loc) · 7.3 KB
/
mIRCd.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
[Server]
CLIENT_PORTS=6667,6668,6669
MAX_USERS=32
; Maximum amount of users allowed on the IRCd.
NETWORK_INFO=an IRCd scripted entirely in mSL!
NETWORK_NAME=localhost
SERVER_NAME=changeme.localhost
[Mechanics]
ACCESS_IDENT_SERVER=TRUE
; Try to perform an ident lookup of connecting users.
AWAYLEN=250
; Maximum length of an /AWAY message.
CACHE_WHOWAS=TRUE
; Cache entries of users who have disconnected for use in /WHOWAS.
CLEAR_WHOWAS_CACHE=3600
; Clear entries older than 3600s (1h). Will default to a hardcoded 86400s (1d) if not set.
DEFAULT_CHANMODES=nt
; Modes set on a channel upon creation. (Hardcoded default is also nt.)
DEFAULT_OPER_SNOMASK=17157
; Default server notice mask if +s is set during /OPER. This needs to be a number between 1 and 65535. (Hardcoded default is 17157.)
DEFAULT_OPERMODES=gsw
; Modes "set by" (read as: forced upon) the user when the successfully /OPER. (Hardcoded default is also gsw.)
DEFAULT_SNOMASK=1
; Default server notice mask if a user sets usermode +s. (I recommended leaving this alone.)
DEFAULT_USERMODES=x
; Modes "set by" (read as: forced upon) the user upon connection to the IRCd.
DENY_EXTERNAL_CONNECTIONS=FALSE
; Deny anybody other than localhost (127.0.0.1) from being able to connect. (Note: LAN (192.168.*) is classified as being external.)
DENY_CHANNEL_CREATION=FALSE
; Prevent new channels from being created except by IRC operators.
DIE_PASSWORD=0c2bf3e5869dbaeb3d2b4e8697a879040230264f5293590ae8989fe88cb8a893071c73d4d4ee39c4186838440df5136d900f9b55208f7144556f6314cd6b5d48
; All passwords are "hunter2," but they were generated using my SALT, so they won't work. Change them regardless.
DNS_USERS=TRUE
; Try to perform a DNS lookup of connecting users.
EXCESS_FLOOD=TRUE
; Enable "excess flood" support. (Throw users off when they send too many bytes (see: FLOOD_LIMIT) in a short time.)
FLOOD_LIMIT=8192
; Flood limit in bytes. (I recommend leaving this alone.)
HIDE_ACCEPT_LIST=FALSE
; Hide the /ACCEPT list from other users. (Excluding IRC operators.)
HIDE_BLOCK_LIST=FALSE
; Hide the /BLOCK list from other users. (Excluding IRC operators.)
HIDE_CLIENT_LISTS=TRUE
; Hide both the /ACCEPT list and /SILENCE list from other users. (Excluding IRC operators.)
HIDE_SILENCE_LIST=FALSE
; Hide the /SILENCE list from other users. (Excluding IRC operators.)
KEYLEN=23
; Maximum key length when setting +k. (23 is the hardcoded limit.)
KICKLEN=250
; Maximum length of a /KICK message.
LOCAL_IMMUNITY=TRUE
; Allow those on localhost and LAN to bypass certain restrictions upon connection. (Note: See the order in hf14 patch notes.)
LOOKUP_DELAY=7
; How long to wait on DNS/ident checks before giving up.
MAXACCEPT=15
; Maximum amount of n!u@h allowed in a /ACCEPT list.
MAXBANS=15
; Maximum amount of bans allowed in a channel.
MAXBLOCKS=15
; Maximum amount of n!u@h allowed in a /BLOCK list.
MAXCHANNELS=15
; Maximum amount of channels a user can join.
MAXCHANNELLEN=200
; Maximum length of a channel name. (Note: Technically (LENGTH - 1) as # is included as part of the length.)
MAXCLONES=3
; Maximum amount of users allowed from the same ip address.
MAXNICKLEN=32
; Maximum length of a nick.
MAXSILENCE=15
; Maximum amount of n!u@h allowed in a /SILENCE (server-side ignore) list.
MAXTARGETS=3
; Limited to NOTICE and PRIVMSG. (Overrides TARGMAX_NOTICE and TARGMAX_PRIVMSG if specified. You can delete this item.)
MODESPL=6
; How many /MODE changes appear on one line before sending. E.g. +cimsyNKTS will send +cimsyN, then +KTS separately.
; This only applies to channel modes, not user modes.
NICK_CHANGE_THROTTLE=15
; How long a user must wait before being able to change their nick each time. (15 seconds.)
NOOP_PERSIST=1
; Prevent users from being opped after joining persistant channels if there are no other users. Works with OPLESS_CHANS.
; 0 - Disabled; 1 - Everybody; 2 - Just Non-opers.
OPER_CMDS=HASH,LINKS,MAP
; Prevent these non-oper commands from being used by non-opers.
OPER_STATS=g,G,k,K,o,O,s,S,U,z,Z
; Prevent these stats from being viewed by non-opers.
OPLESS_CHANS=0
; Prevent users from being opped on channel creation. 0 - Disabled; 1 - Everybody; 2 - Just Non-opers.
PING_DURATION=100
; How long the server will wait before sending a PING to all connected users.
PING_TIMEOUT_DURATION=105
; This needs to be at least five seconds higher than PING_DURATION.
REGISTRATION_DURATION=120
; How long the server will wait before checking registering connections to see if they've timed out.
REGISTRATION_TIMEOUT_DURATION=235
; This does not.
RESTART_PASSWORD=0c2bf3e5869dbaeb3d2b4e8697a879040230264f5293590ae8989fe88cb8a893071c73d4d4ee39c4186838440df5136d900f9b55208f7144556f6314cd6b5d48
TOPICLEN=250
; /KNOCK and /QUIT messages fall under this as well.
SALT=changeme
; Salt used for passwords and other features.
WALLOPS_BAD_JOINS=TRUE
; Send a server wallops (+g) whenever a user tries to /JOIN a G-lined/K-lined channel of their own volition.
[Features]
AUDITORIUM_MODE=TRUE
; Enable channel mode +D (+d). (Users will be invisible until they change the topic, get kicked, receive status or talk.)
BANDWIDTH_MODE=TRUE
; Enable channel mode +B (+B <N>). Users who have been idle for >=N seconds will not receive messages.
BOT_SUPPORT=TRUE
; Enable user mode +B. (Note: This does absolutely nothing.)
CONNECTED_LIST_THROTTLE=30
; Prevent /LIST from being performed until the user has been connected to the IRCd for at least 30 seconds. (Exluding IRC operators.)
DENY_SECRET=TRUE
; Vehemently deny the existence of secret channels. (E.g. Trying to /KICK when not on them returns "No such channel.")
HALFOP=TRUE
; Enable halfop (+h <nick> -> %<nick>) support.
HIDE_HOSTS_FREELY=TRUE
; Setting +x will obfuscate the users host to other users. (Excluding IRC operators.)
OPER_BYPASS_BADCHAN=FALSE
; Allow IRC operators to join channel(s) that have been G-lined/K-lined.
OPER_OVERRIDE=TRUE
; Enable user mode +X for IRC operators. (Opers can walk through +i, etc.; /KICK when not on the channel, etc.)
PERSISTANT_CHANNELS=TRUE
; Enable channel mode +P. (Channels persist even after the last user has left.)
PREFIX_QUIT=TRUE
; Prefix any standard quit messages with "Quit: <reason>." (Does not apply to errors such as Ping timeout, etc.)
SLINE_SUPPORT=TRUE
; Enable S:line (user mode +h) support.
; Doing /SETHOST <S:line> <password> or /mode <you> +h <S:line> <password> changes your @host to that S:line, assuming
; that the host is part of mIRCd.slines.
WHO_THROTTLE=5
; Prevent /WHO from being performed by a user until the five seconds have passed. (Excluding IRC operators.)
WHOIS_PARANOIA=TRUE
; Enable user mode +W for IRC operators. (See who is performing /WHOIS on them.)
[Admin]
ADMIN_LOC1=your nick
ADMIN_LOC2=your admin role
ADMIN_EMAIL=your website or something
[Targets]
TARGMAX_ISON=5
TARGMAX_JOIN=5
TARGMAX_KICK=1
; Number of nicks you can kick in any given go.
TARGMAX_KNOCK=1
TARGMAX_NAMES=2
TARGMAX_NOTICE=3
TARGMAX_PART=5
TARGMAX_PRIVMSG=3
TARGMAX_TOPIC=2
TARGMAX_USERHOST=5
TARGMAX_USERIP=5
TARGMAX_WHO=1
TARGMAX_WHOIS=1
TARGMAX_WHOWAS=1
[Opers]
changeme=0c2bf3e5869dbaeb3d2b4e8697a879040230264f5293590ae8989fe88cb8a893071c73d4d4ee39c4186838440df5136d900f9b55208f7144556f6314cd6b5d48