Merge remote-tracking branch 'IOMultiplexer.git/master' into IOMultiplexer
[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 };
43 "QServer" {
44     "enabled" = 0;
45     "port" = 7499;
46     "pass" = "blaa";
47 };
48 "log" { //neonserv.log
49     /*
50      1 - INFO
51      2 - ERROR
52      4 - RAW
53      8 - MYSQL
54     */
55     "loglevel" = 3;
56 };
57 "modules" {
58     "libglobalcmd" {
59         "enabled" = 1;
60         "protected" = 1; //may not be unloaded
61     };
62     "libDummyServ" {
63         "enabled" = 1;
64         "protected" = 0;
65     };
66     "libfuncmds" {
67         "enabled" = 1;
68         "protected" = 0;
69     };
70     "libNeonHelp" {
71         "enabled" = 1;
72         "protected" = 0;
73     };
74     "libNeonServ" {
75         "enabled" = 1;
76         "protected" = 0;
77         // How often to look for channels that have expired?
78         "chan_expire_freq" = "3d";
79         // How long is a channel unvisited (by masters or above) before it can be expired?
80         "chan_expire_delay" = "30d";
81         // Automatically register a Backup bot with NeonServ
82         "auto_backup_register" = 0;
83         // Automatically unregister all Backup when NeonServ gets removed
84         "auto_backup_unregister" = 1;
85         // BackupServ channel setting
86         "channel_backup_setting" = 1;
87     };
88     "libNeonBackup" {
89         "enabled" = 1;
90         "protected" = 0;
91     };
92     "libNeonSpam" {
93         "enabled" = 1;
94         "protected" = 0;
95     };
96     "libstats" {
97         /* statistics module
98           this module doesn't extend the bot functions at all! 
99           It will simply send a small UDP packet to neonserv.krypton-bouncer.de
100           this packet is used to keep the statistics on the website up to date.
101           
102           If you don't want your bot to be listed on this site just disable this plugin
103           (entries will be removed after 6h on the website)
104         */
105         "enabled" = 1;
106         "protected" = 0;
107         "hide_networkname" = 0; //hide network name
108         "hide_botnick" = 0; //hide bot nick, ident, host
109         "hide_chancount" = 0; //hide joined channel count
110         "hide_usercount" = 0; //hide number of users the bot can see
111     };
112 };
113