-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlizardlinky.conf.inc.sample
83 lines (66 loc) · 3.39 KB
/
lizardlinky.conf.inc.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?php
/* LIZARDLINKY CONFIG FILE */
$conf = array();
//Nickname of bot to use on network
$conf['nick'] = "LizardLinky";
//Username of the bot to use on the network, assuming that there's no identd
$conf['ident'] = "LizardLinky";
//Gecos/realname of the bot to use on the network
$conf['gecos'] = "LizardLinky - Wikilink expansion bot";
//Server bot should connect to.
//If the server requires a password, specify it in $conf['serverPass'].
$conf['server'] = "server0.example.com";
$conf['serverPass'] = "";
//Port bot should connect to
$conf['port'] = 6667;
//Should the bot use SSL to connect to the server above? If so, set this to true; otherwise,
//false.
$conf['useSSL'] = false;
//Modes to set on self after connecting. Should be something like "+B-x", where modes after +
//are set and modes after - are unset. Leave blank to do nothing with modes.
$conf['umodes'] = "";
//NickServ identification bot should send. Leave blank if the bot shouldn't identify to services.
//This will be sent as "PRIVMSG NickServ :IDENTIFY <blah>", where <blah> is what you specify below.
$conf['nickServ'] = "";
//Report channels. This is an array of channels that the bot will log administrative stuff to,
//such as ACL changes, channel joins and parts (and kicks), and that sort of thing. Notably,
//wikilink expansions will *not* be logged.
$conf['reportChannels'] = array();
$conf['reportChannels'][] = "#lizardlinky";
//MySQL database information. The bot will use this information to establish a connection to its
//configuration databases. Included in the database are such things as:
// * The interwiki table
// * A list of channels it is to join
// * Each channel's target URL for wikilinks
// * Global ACLs
//MySQL server to connect to
$conf['dbHost'] = "localhost";
$conf['dbPort'] = "3306";
//MySQL database name to use (the database and tables should be created before running the bot; see
//README.md
$conf['dbSchema'] = "lizardlinky";
//If this is set, the bot will look for (and use) tables that start with this prefix and an
//underscore, followed by the table's name. Useful for running multiple instances of LizardLinky
//from the same MySQL database.
$conf['dbPrefix'] = null;
//MySQL connection credentials. Be sure this file is properly protected!
//Information on what MySQL privileges the LizardLinky user needs is provided in the README.md file.
$conf['dbUsername'] = "lizardlinky";
$conf['dbPassword'] = "p@ssw0rd";
//LizardLinky "kill" password
//As an additional level of security, only users who know this password will be able to kill or restart
//the bot. This is in addition to having the appropriate global access level set.
$conf['diepass'] = "ploppy";
//Bot Roots
//This array of hostmasks will always have full privileges on the bot's commands, regardless of any
//modifications made to the global ACL saved in the MySQL database. You should set this to at least
//include yourself before starting the bot for the first time!
$conf['roots'] = array();
$conf['roots'][] = "*!*@localhost";
//Trigger
//This string will be used as the bots "trigger", or the string that must preceed any command intended
//for the bot. This is usually just a single character, but can be multiple. Setting this to "!", for
//example, will make the bot's help command "!help". You might want to adjust this in a channel with
//multiple bots, and wikilink expansion, as a "passive" action, does not need a trigger.
$conf['trigger'] = "!";
?>