source: irpg/trunk/bot/.irpg.conf@ 6006

Last change on this file since 6006 was 1444, checked in by Daimonos Tereutes, 19 years ago

import initial

File size: 9.3 KB
Line 
1# Configuration file for IRPG bot. Prefix comments with a #. Line must start
2# with a # to be a comment (no leading spaces and no comments starting in the
3# middle of a line).
4#
5# If you don't personally know your admins, or you're just not the trusting
6# type, you may want to look at the ownerpevalonly, owneraddonly, and
7# ownerdelonly options. ownerpevalonly prevents non-owner accounts from using
8# the PEVAL command, which can allow admins to execute arbitrary code under the
9# username that the bot runs as. owneraddonly prevents non-owner accounts from
10# assigning admin status to users. ownerdelonly prevents non-owner accounts from
11# removing admin status from users
12#
13# 'disablepeval' option was renamed to 'ownerpevalonly'
14#
15# Command line options override options in this file.
16
17# remove or comment out this line so the bot knows that you edited the config
18# file
19#die
20
21# Use ipv6 to connect to irc server?
22ipv6 off
23
24# set language
25lang fr_FR
26
27# local hostname or address to bind to. leave blank or comment out if you don't
28# want to use a vhost
29#localaddr myvhost.domain.com
30
31# server name:port, enter as many as you like
32server irc.nainwak.org:6667
33
34# bot's nickname
35botnick Schlavbeuk2
36
37# bot's username
38botuser grand_schtroumpf
39
40# real name field
41botrlnm http://zZzZ.nainwak.com/
42
43# channel name (followed by key, if your channel uses a key
44botchan #puolb
45
46# (identify) command to send upon successful connect. if using a privmsg
47# command, you must begin the text of the message with a ":" -- see below
48botident PRIVMSG NickServ :identify whatthefuck
49
50# modes to set bot upon successful connect
51botmodes +ix
52
53# command to send upon joining channel. %botnick% will evaluate to the bot's
54# current nickname, so you don't have to worry about opping the wrong person. if
55# using a privmsg command, you must begin the text of the message with a ":" --
56# see below
57botopcmd PRIVMSG ChanServ :op %botchan% %botnick%
58
59# command sent to recover nick if bot's primary nickname is in use if using a
60# privmsg command, you must begin the text of the message with a ":" -- see
61# below
62botghostcmd PRIVMSG NickServ :ghost %botnick% whatthefuck
63
64# URL to send users to for help
65helpurl http://zzz.nainwak.com/
66
67# admin commands list (for admin help)
68admincommurl http://zzz.nainwak.com/admincomms.txt
69
70# base time to level up, 600 = 10 minutes
71rpbase 600
72
73# base time for items to level down, 600 = 10 minutes
74rpitembase 50
75
76# time to next level = rpbase * (rpstep ** CURRENT_LEVEL)
77rpstep 1.16
78
79# penalty time = penalty * (rppenstep ** CURRENT_LEVEL)
80rppenstep 1.14
81
82# player database file
83dbfile irpg.db
84
85# item database file
86itemdbfile mapitems.db
87
88# where quests/godsends/calamities are stored
89eventsfile eventsnainwak.txt
90
91# debug mode on/off flag, merely prints what text was received, what queue
92# number outgoing text is given, and what text is sent to server (to the
93# debug file, no longer to STDOUT)
94debug off
95
96# choose filename to send debug output to. text is appended to this file
97# while the bot is in debug mode, in lieu of STDOUT
98debugfile debug.txt
99
100# Use URL-type banning for non-logged-in users that have been on the channel
101# less than 90 seconds?
102doban on
103
104# URLs containing these terms will not be banned by the 'http:'
105# advertisement ban (if you have it turned on). enter as many as you like
106okurl nainwak.org
107okurl netrusk.net
108okurl nainwak.com
109
110# modes of silence. in mode 0, bot sends all privmsgs. in mode 1, only
111# chanmsg() is disabled. in mode 2, only privmsg() to non-channels is
112# disabled. in mode 3, privmsgs to users and channels are disabled
113silentmode 0
114
115# write quest info file? all this file does is give outside programs info
116# about the active quests, its participants, their positions, and time to
117# completion
118writequestfile on
119
120# filename for the above-mentioned file
121questfilename questinfo.txt
122
123# voice users on login (and register)? if you like, you can set your channel
124# +m, then +v clients as they login, cutting down on spam. however, if your
125# users generally bring in a second client to chat with, that client won't
126# be able to speak in the channel
127voiceonlogin on
128
129# disallow usernames and character classes with control codes (bold, color,
130# underline, bell, etc)?
131noccodes on
132
133# disallow usernames and character classes that contain "non-printable"
134# characters? it's a good idea to leave this option on, as I have had
135# problems in the past with using binary hash keys
136nononp on
137
138# URL where users can reach the online quest map, if available. if not
139# offering a map to users, leave this blank
140mapurl http://zzz.nainwak.com/quest.php
141
142# allow a STATUS command for users? this is a p0 command to view information
143# on an irpg user. useful if you don't have a website where users can view
144# their stats
145statuscmd off
146
147# filename to write our PID to. leave blank or comment out if pidfile is
148# unnecessary to you
149pidfile .irpg.pid
150
151# attempt to reconnect if disconnected?
152reconnect on
153
154# seconds to wait before attempting to reconnect? don't hammer your irc
155# network, please; 90+ seconds is suggested
156reconnect_wait 120
157
158# this is what the bot considers to be an "internal clock" of sorts. some
159# examples of where this is used: $freemessages lines of text from the
160# message queue are sent every self_clock seconds; every self_clock seconds,
161# the players move on the map (self_clock times to simulate movement every
162# second); HOGs, calamities, godsends, etc. are given a chance to occur
163# every self_clock seconds; and the list goes on. if you have problems with
164# the bot flooding off, try increasing this number to 4 or 5. if your bot
165# appears to 'lag' because it is queueing too much text, you can set this
166# as low as 1. this must be an integral value (no fractions), and it must be a
167# factor of 60 (or certain events will not occur, like database rewrites)
168self_clock 3
169
170# file into which character modifier texts are appended
171modsfile modifiers.txt
172
173# disallow the registration of usernames already existing in a different
174# case? ie, jon == Jon == JON
175casematters on
176
177# allow rudimentary netsplit detection, and a) give no penalty and b) log
178# them back in upon return? I always suggest to users that they switch to
179# the server that the bot is on, but this has been a frequent request, so.
180# will pick up quit messages that match /^\S+\.\S+ \S+\.\S+$/. if your
181# network does not prefix quit messages with "Quit: " (or something other
182# string), then users can cheat this at their whim
183detectsplits on
184
185# auto-login clients (after netsplit, ping timeout ...) if they haven't
186# changed their nick!user@host
187autologin on
188
189# time to wait for netsplit users to return? in seconds. 900 = 15 minutes, good
190# for large nets
191splitwait 900
192
193# allow non-admin users some information on the bot, such as the server it
194# is connected to and the nicknames of online admins via a p0 INFO command?
195allowuserinfo on
196
197# ignore the new scaling features and use the old method for calculating the
198# odds of events occurring? if you have a very large game and were
199# comfortable with the speed that HoGs, Godsends, Calamities, etc. were
200# occurring, you may want to set this
201noscale off
202
203# allow bot to access http://jotun.ultrazone.org/g7/count.php?new=1 each
204# time someone registers a new username? it only takes a second, and I'd
205# really like to be able to keep up with the total player count :^)
206phonehome on
207
208# username of the bot's owner. this account cannot be DELADMINed and has access
209# to PEVAL even if it is disabled
210owner DT
211
212# disable the PEVAL command for non-owner accounts? this command allows the
213# execution of arbitrary Perl code by bot admins, effectively giving them
214# complete control of the account under which the bot runs. I prefer to leave
215# this command available and choose my admins with care, but, whatever :^)
216ownerpevalonly off
217
218# only owner account can use the MKADMIN command to assign admin status to
219# users?
220owneraddonly on
221
222# only owner account can use the DELADMIN command to remove admin status from
223# users?
224ownerdelonly on
225
226# check for newer versions each time the bot starts up? this will access the
227# URL http://jotun.ultrazone.org/g7/version.php?version=$version and report on
228# any updated versions and what features there are/bugs have been fixed
229checkupdates off
230
231# send list of usernames that are automatically logged back in when we restart
232# (iff that list is < 1 k)? this should, hopefully, no longer cause the bot to
233# flood off. the function that sends text to the server will no longer send more
234# than 768 bytes to the server every self_clock seconds. the old function would
235# send as much as 5 * 512b or 2.5k each self_clock seconds, and as this was
236# usually the feature that caused such a large amount of text to be sent at
237# once, if your channel had a large amount of users, this would cause it to
238# flood off. so, though I think the bug is fixed, I offer the option to turn
239# this off
240senduserlist on
241
242# limit maximum amount of penalty for one event? this will prevent a user from
243# being penalized more than <X> seconds for one event: part, privmsg, notice,
244# kick, etc. set to 0 if you want to disable limiting.
245# 604800 == 7 * 86400 == 1 week
246limitpen 604800
247
248# if you would like a custom-sized map, define the width of your map here:
249mapx 500
250
251# if you would like a custom-sized map, define the length of your map here:
252mapy 500
253
254# specify modes / line. the bot will override this from what it grabs from the
255# server's 005 numeric, though, if anything. used only for auto-login voicing
256modesperline 3
Note: See TracBrowser for help on using the repository browser.