]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/Irc/README
Use original config class as readArray was added upstream
[quix0rs-gnu-social.git] / plugins / Irc / README
1 The IRC plugin allows users to send and receive notices over an IRC network.
2
3 Installation
4 ============
5 add "addPlugin('irc',
6     array('setting'=>'value', 'setting2'=>'value2', ...);"
7 to the bottom of your config.php
8
9 scripts/imdaemon.php included with StatusNet must be running. It will be started by
10 the plugin along with their other daemons when you run scripts/startdaemons.sh.
11 See the StatusNet README for more about queuing and daemons.
12
13 Settings
14 ========
15 host*: Hostname of IRC server
16 port*: Port of IRC server
17 username*: Username of bot
18 realname*: Real name of bot
19 nick*: Nickname of bot
20 password: Password
21 nickservpassword: NickServ password for identification
22 channels: Channels for bot to idle in
23 transport: Set to 'ssl' to enable SSL
24 encoding: Set to UTF8 to enable UTF8 encoding
25
26 * required
27
28 Example
29 =======
30 addPlugin('irc', array(
31     'host' => '...',
32     'port' => '...',
33     'username' => '...',
34     'realname' => '...',
35     'nick' => '...',
36     'channels' => array('#channel1', '#channel2')
37 ));
38