Merge remote-tracking branch 'IOMultiplexer.git/master' into development
[NeonServV5.git] / neonserv.example.conf
1 /*
2   NeonServ example configuration
3 */
4
5 "MySQL" {
6     "host" = "127.0.0.1";
7     "port" = 3306;
8     "user" = "neonserv";
9     "pass" = "password";
10     "base" = "neonserv";
11 };
12 "statistics" {
13     "enable" = 0;
14     "frequency" = 5; //minutes
15     "include_lusers" = 1; //general network statistics
16     "execute" = "php scripts/statistic.php";
17     /* parameters:
18      - visible users
19      - visible chanusers
20      - visible channels
21      - privmsg per minute
22      - commands per minute
23      - network users
24      - network channels
25     */
26 };
27 "General" {
28     "worker_threads" = 5; //threads
29     "alertchan" = "";
30     "have_halfop" = 0;
31     //unregister NeonSpam channels together with NeonServ?
32     "sync_neonspam_unreg" = 1;
33     "CheckAuths" {
34         "enabled" = 1;
35         "start_time" = 3; //24h format
36         "duration" = 180; //minutes
37         "interval" = 2; //seconds
38         "min_unckecked" = 172800; //check auth only if unchecked for x seconds
39         //180 miutes, every 2 seconds: 5400 auth checks
40         "alertchan" = "#krypton.intern";
41     };
42     "UserBots" {
43         "OtherServ" {
44             "enabled" = 1;
45             "nick" = "OtherServ,OtherServ2"; //optional check (mask)
46             "sourcebot" = "NeonServ"; //send messages through a bot of this botclass
47             "opless_part" = "PRIVMSG %s :part %s"; //args: botnick, channel
48             "opless_join" = "PRIVMSG %s :join %s"; //args: botnick, channel
49         };
50     };
51 };
52 "QServer" {
53     "enabled" = 0;
54     "port" = 7499;
55     "pass" = "blaa";
56 };
57 "logs" {
58     /*
59     module:section = target_type:target
60     possible sections:
61         "info","debug","raw","mysql","override","warning","error","fatal"
62     possible targets:
63         file:log.log
64         irc:#channel
65         std:out
66         std:err
67     */
68     "*:info,warning,error,fatal" = "file:neonserv.log";
69     // "*:override,error,fatal" = "irc:#neonserv";
70     "*:info" = "std:out";
71 };
72 "modules" {
73     "libglobalcmd" {
74         "enabled" = 1;
75         "protected" = 1; //may not be unloaded
76     };
77     "libDummyServ" {
78         "enabled" = 1;
79         "protected" = 0;
80     };
81     "libfuncmds" {
82         "enabled" = 1;
83         "protected" = 0;
84     };
85     "libNeonHelp" {
86         "enabled" = 1;
87         "protected" = 0;
88     };
89     "libNeonServ" {
90         "enabled" = 1;
91         "protected" = 0;
92         // How often to look for channels that have expired?
93         "chan_expire_freq" = "3d";
94         // How long is a channel unvisited (by masters or above) before it can be expired?
95         "chan_expire_delay" = "30d";
96         // Automatically register a Backup bot with NeonServ
97         "auto_backup_register" = 0;
98         // Automatically unregister all Backup when NeonServ gets removed
99         "auto_backup_unregister" = 1;
100         // BackupServ channel setting
101         "channel_backup_setting" = 1;
102     };
103     "libNeonBackup" {
104         "enabled" = 1;
105         "protected" = 0;
106     };
107     "libNeonSpam" {
108         "enabled" = 1;
109         "protected" = 0;
110     };
111     "libstats" {
112         /* statistics module
113           this module doesn't extend the bot functions at all! 
114           It will simply send a small UDP packet to neonserv.krypton-bouncer.de
115           this packet is used to keep the statistics on the website up to date.
116           
117           If you don't want your bot to be listed on this site just disable this plugin
118           (entries will be removed after 6h on the website)
119         */
120         "enabled" = 1;
121         "protected" = 0;
122         "hide_networkname" = 0; //hide network name
123         "hide_botnick" = 0; //hide bot nick, ident, host
124         "hide_chancount" = 0; //hide joined channel count
125         "hide_usercount" = 0; //hide number of users the bot can see
126     };
127 };
128