summaryrefslogtreecommitdiff
path: root/data/chanstats.example.conf
blob: 11f97a937bd29333cd0b0bec1c3947884f77f37c (plain)
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
/*
 * Example configuration file for chanstats
 * Make sure BotServ, ChanServ and NickServ are running.
 */

module { name = "m_chanstats" }

chanstats
{
	/* 
	 * The name of this engine.
	 * This must match with the name of a SQL engine block
	 */

	engine = "mysql/main"

	/*
	 * An optional prefix to prepended to the name of each created table.
	 * Do not use the same prefix for other programs.
	 */
	prefix = "anope_"

	smileyshappy = ":) :-) ;) :D :-D"
	smileyssad = ":( :-( ;( ;-("
	smileysother = ":/"

	/*
	 * Enable Chanstats for new registered nicks / channels 
	 * set it to 0 to disable it.
	 */
	NSDefChanstats = 1
	CSDefChanstats = 1
}


module { name = "cs_set_chanstats" }
command { service = "ChanServ"; name = "SET CHANSTATS"; command = "chanserv/set/chanstats"; }

module { name = "ns_set_chanstats" }
command { service = "NickServ"; name = "SET CHANSTATS"; command = "nickserv/set/chanstats"; }

module { name = "cs_fantasy_stats" }
command { service = "ChanServ"; name = "STATS"; command = "chanserv/stats"; }
command { service = "ChanServ"; name = "GSTATS"; command = "chanserv/gstats"; }

module { name = "cs_fantasy_top" }
command { service = "ChanServ"; name = "TOP"; command = "chanserv/top"; }
command { service = "ChanServ"; name = "TOP10"; command = "chanserv/top10"; }
command { service = "ChanServ"; name = "GTOP"; command = "chanserv/gtop"; }
command { service = "ChanServ"; name = "GTOP10"; command = "chanserv/gtop10"; }