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