<?php

$config = array(
	'server'	=>	'irc.rizon.net',	      //Server name, prefix it with "ssl://" in order to use SSL server
	'port'		=>	6666,			//Server port
	'channel'	=>	'#BahasaSubs',		//Channel to join, use array('channel1', 'channel2') for multiple channels
	'name'		=>	'Shokuhou',	//Name of the bot
	'nick'		=>	'[INFO]Misaki',		      //Nick of the bot
	'pass'		=>	'jajaja',			//Server password
	'waitTime'	=>	10,			//How many seconds to wait before joining channel after connecting to server
	'adminPass'	=>	'jajaja',		//Bot admin password, used for commands like !exit (!exit vikingbot)
	'memoryLimit'	=>	'128',			//Max memory the bot can use, in MB
        'memoryRestart' =>      '10',                   //Min memory usage, in MB. (The bot will try to clear RAM or restart if reached)
	'trigger'	=>	'!',			//What character should be used as bot command prefixes
	'maxPerTenMin'	=>	50			//Max messgages a user can send per 10 minutes before beeing ignored for that time
);

//=====================================
//Plugin specific configuration
//=====================================

//RSS Reader
$config['plugins']['rssReader'] = array(
        array('title'=> 'Fansub Update',         'url'=>'http://www.fansubsupdate.com/feed/',    'pollInterval'=>15,     'channel'=>'#BahasaSubs'),
        array('title'=> 'Update Rilisan',        'url'=>'http://www.bahasa-subs.org/feeds/posts/default',   'pollInterval'=>15,     'channel'=>'#BahasaSubs'),
        array('title'=> 'Leopard Raws',          'url'=>'http://leopard-raws.org/rss.php',          'pollInterval'=>15,     'channel'=>'#BahasaSubs'),
        array('title'=> 'Jurnal Otaku',          'url'=>'http://jurnalotaku.com/feed/',            'pollInterval'=>15,     'channel'=>'#BahasaSubs'),
);

//File reader
$config['plugins']['fileReader'] = array(
        'channel'       => '#BahasaSubs',
);

//Auto Op
$config['plugins']['autoOp'] = array(
        'mode'    =>  '0',              // autop mode, 0 = disabled, 1 = only configured users, 2 = autoop everyone
        'channel' =>  array(
               '#channel1'    => array('nick1','nick2','nick3','nick4','nick5','nick6','nick7','nick8'),
               '#channel2'    => array('ueland','ernini')
        ),
);
