bc09736bab25a7c59961c0fdfe2f6cc5672f790e
[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     };
82     "libNeonSpam" {
83         "enabled" = 1;
84         "protected" = 0;
85     };
86     "libstats" {
87         /* statistics module
88           this module doesn't extend the bot functions at all! 
89           It will simply send a small UDP packet to neonserv.krypton-bouncer.de
90           this packet is used to keep the statistics on the website up to date.
91           
92           If you don't want your bot to be listed on this site just disable this plugin
93           (entries will be removed after 6h on the website)
94         */
95         "enabled" = 1;
96         "protected" = 0;
97         "hide_networkname" = 0; //hide network name
98         "hide_botnick" = 0; //hide bot nick, ident, host
99         "hide_chancount" = 0; //hide joined channel count
100         "hide_usercount" = 0; //hide number of users the bot can see
101     };
102 };
103