root/trunk/Phergie/phergie.ini @ 60

Revision 60, 4.6 KB (checked in by tobias382, 5 years ago)

Fixes #1, #8, #14, #10, #13
* Fixed some parameter parsing issues in the streams driver and Command plugin
* Fixed an issue in the streams driver where quitting would not cause the

connection to be terminated on the client side

* Added automated directory creation to the event handler class
* Added isInChannel() and TYPE_KICK to request event class
* Modified the bootstrap file to use a full path when referencing the Plugin

directory and to include plugin loading debugging messages

* Fixed a bug in the bootstrap file where it would not produce an error when

required configuration settings existed, but were empty

* Cleared default values and unused settings out of the config file
* Made modifications to the fromAdmin method in the AdminCommand? plugin to

optimize performance

* Fixed a bug in the parsing logic in the Acronym plugin and added a check for

instances where the per-IP bandwidth limit has been executed

* Added a check for cases where a server has no MOTD to the Autojoin plugin
* Modified the Drink plugin to filter coffee drinks when scraping data for the

coke table and to remove the profanity filter array from memory once the
init method is done using it

* Added an avogadro alias for the mole fixed karma and added support for

configurable fixed karma for the bot

* Modified the Logging plugin to extend the Command plugin and to use PDO in

place of the standalone SQLite driver

* Modified the Php plugin to use full URLs to function pages rather than the

shorthand version, which does not always resolve to the expected URL

* Renamed the Say plugin to Puppet and added support emulation of CTCP ACTION

commands

* Modified the Url plugin to use the MIME type of the resource in place of

the title in cases where it is not HTML-based

* Fixed an issue with the parsing logic in the onMode handler of the Users

plugin

* Uncommented the onPrivmsg handler and modified it to use the new debug

configuration setting

* Added alternate nick support to the Nickserv plugin
* Removed the CONTRIBUTE file, as its fairly out of date

Line 
1;------------------------
2; Core settings
3;------------------------
4
5; server :
6;    host name of the server to which the bot should connect
7server =
8
9; username :
10;    username to use for the bot
11username =
12
13; nick :
14;    nick to use for the bot
15nick =
16
17; altnick0 :
18;    alternate nicks to use for the bot in the event that the preferred nick
19;    is unavailable; this setting may be repeated with a different number
20;    (i. e. altnick1, altnick2, etc.)
21altnick0 =
22
23; realname :
24;    real name to use for the bot
25realname =
26
27; gender :
28;   M or F to indicate the gender of the bot for instances when the bot must
29;   refer to itself in the third person for actions
30gender =
31
32; plugins :
33;    one of the following :
34;      - all
35;      - none
36;      - all except LIST
37;      - none except LIST
38;    where LIST is a comma-delimited case-insensitive list of plugin short
39;    names (i. e. plugin class names without the prepended Phergie_Plugin_
40;    segment; for example, the short name for the Phergie_Plugin_Autojoin
41;    class would be Autojoin)
42; plugins = all
43plugins = all
44
45; debug :
46;    boolean flag indicating whether or not debugging mode should be enabled
47debug = false
48
49;-----------------------------------------------------------------------------
50; Acronym
51;-----------------------------------------------------------------------------
52
53; acronym.limit :
54;    positive integer indicating the maximum number of possible meanings for
55;    an acronym that should be displayed in a given instance (defaults to 5)
56acronym.limit =
57
58;-----------------------------------------------------------------------------
59; Admin Command
60;-----------------------------------------------------------------------------
61
62; admincommand.admins :
63;    a list of hostmasks containing wildcards that are granted access to the
64;    bot's admin features, must be enclosed by double quotes and entries are
65;    separated by spaces or commas
66admincommand.admins =
67
68; admincommand.ops :
69;    if set to true, chan operators are given admin rights
70admincommand.ops = true
71
72;-----------------------------------------------------------------------------
73; Auto Join
74;-----------------------------------------------------------------------------
75
76; autojoin.channels :
77;    a comma-delimited list of channels which the bot should automatically
78;    join upon successfully connecting
79autojoin.channels =
80
81;-----------------------------------------------------------------------------
82; Feed Ticker
83;-----------------------------------------------------------------------------
84
85; feedticker.feed0 :
86;    a double quote-enclosed comma-delimited list of feed URLs; this setting
87;    may be repeated with a different number (i.e. feed1, feed2, etc.)
88feedticker.feed0 = ""
89
90; feedticker.chans0 :
91;    a comma- or space-delimited list of channels where the feedN should be
92;    syndicated
93feedticker.chans0 = ""
94
95; feedticker.delay :
96;    the frequency, in seconds, at which the feeds are checked for new data;
97;    the default is 1800 (every 30 minutes)
98feedticker.delay = 1800
99
100; feedticker.format :
101;    format of the feed output on the channel, it can use three variables
102;      - %title% the article title
103;      - %link% the article link
104;      - %feed% the feed's channel title
105;    if empty or unset it defaults to %title% [ %link% ]
106feedticker.format = ""
107
108;-----------------------------------------------------------------------------
109; Karma
110;-----------------------------------------------------------------------------
111
112; karma.limit :
113;   Maximum number of karma rating changes allowed per user, per term, per
114;   day, or 0 for unlimited changes
115karma.limit = 5
116
117; karma.static :
118;   If non-empty, the static karma response to use for the bot's nick
119karma.static =
120
121;-----------------------------------------------------------------------------
122; NickServ
123;-----------------------------------------------------------------------------
124
125; nickserv.password :
126;    password to use when identifying the bot to NickServ where
127;    authentication will only take place if a non-empty password is specified
128nickserv.password =
129
130;-----------------------------------------------------------------------------
131; URL
132;-----------------------------------------------------------------------------
133
134; url.format :
135;    format of the link output on the channel, it can use two variables
136;      - %title% the page title
137;      - %link% the page link
138;    if empty or unset it defaults to %title% [ %link% ]
139url.format = ""
140
141; url.title_length :
142;    character length to which URL titles should be truncated
143url.title_length = 40
Note: See TracBrowser for help on using the browser.