]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/Irc/extlib/phergie/Settings.php.dist
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
[quix0rs-gnu-social.git] / plugins / Irc / extlib / phergie / Settings.php.dist
1 <?php
2
3 return array(
4
5     // One array per connection, pretty self-explanatory
6     'connections' => array(
7         // Ex: All connection info for the Freenode network
8         array(
9             'host' => 'irc.freenode.net',
10             'port' => 6667,
11             'username' => 'Elazar',
12             'realname' => 'Matthew Turland',
13             'nick' => 'Phergie2',
14             // 'password' => 'password goes here if needed',
15             // 'transport' => 'ssl', // uncomment to connect using SSL
16             // 'encoding' => 'UTF8', // uncomment if using UTF8
17         )
18     ),
19
20     'processor' => 'async',
21     'processor.options' => array('usec' => 200000),
22     // Time zone. See: http://www.php.net/manual/en/timezones.php
23     'timezone' => 'UTC',
24
25     // Whitelist of plugins to load
26     'plugins' => array(
27         // To enable a plugin, simply add a string to this array containing
28         // the short name of the plugin as shown below.
29
30         // 'ShortPluginName',
31
32         // Below is an example of enabling the AutoJoin plugin, for which
33         // the corresponding PEAR package is Phergie_Plugin_AutoJoin. This
34         // plugin allows you to set a list of channels in this configuration
35         // file that the bot will automatically join when it connects to a
36         // server. If you'd like to enable this plugin, simply install it,
37         // uncomment the line below, and set a value for the setting
38         // autojoin.channels (examples for which are located further down in
39         // this file).
40
41         // 'AutoJoin',
42
43         // A few other recommended plugins:
44
45         // Servers randomly send PING events to clients to ensure that
46         // they're still connected and will eventually terminate the
47
48         // connection if a PONG response is not received. The Pong plugin
49         // handles sending these responses.
50
51         // 'Pong',
52
53         // It's sometimes difficult to distinguish between a lack of
54         // activity on a server and the client not receiving data even
55         // though a connection remains open. The Ping plugin performs a self
56         // CTCP PING sporadically to ensure that its connection is still
57         // functioning and, if not, terminates the bot.
58
59         // 'Ping',
60
61         // Sometimes it's desirable to have the bot disconnect gracefully
62         // when issued a command to do so via a PRIVMSG event. The Quit
63         // plugin implements this using the Command plugin to intercept the
64         // command.
65
66         // 'Quit',
67     ),
68
69     // If set to true, this allows any plugin dependencies for plugins
70     // listed in the 'plugins' option to be loaded even if they are not
71     // explicitly included in that list
72     'plugins.autoload' => true,
73
74     // Enables shell output describing bot events via Phergie_Ui_Console
75     'ui.enabled' => true,
76
77     // Examples of supported values for autojoins.channel:
78     // 'autojoin.channels' => '#channel1,#channel2',
79     // 'autojoin.channels' => array('#channel1', '#channel2'),
80     // 'autojoin.channels' => array(
81     //                            'host1' => '#channel1,#channel2',
82     //                            'host2' => array('#channel3', '#channel4')
83     //                        ),
84
85     // Examples of setting values for Ping plugin settings
86
87     // This is the amount of time in seconds that the Ping plugin will wait
88     // to receive an event from the server before it initiates a self-ping
89
90     // 'ping.event' => 300, // 5 minutes
91
92     // This is the amount of time in seconds that the Ping plugin will wait
93     // following a self-ping attempt before it assumes that a response will
94     // never be received and terminates the connection
95
96     // 'ping.ping' => 10, // 10 seconds
97
98 );