added missing example arguments to language entry NS_NICKLIST_SYNC
[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" = ""; //internal channel for important notifications
30     "have_halfop" = 0;
31     //unregister NeonSpam channels together with NeonServ?
32     "sync_neonspam_unreg" = 1;
33     "CheckAuths" { //check all AuthNames in the database for existence (AuthServ querys)
34         "enabled" = 1;
35         "start_time" = 3; //24h format - 3 means 3am
36         "duration" = 180; //minutes - query till start_time + duration o'clock ;)
37         "interval" = 2; //seconds - query every x 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"; // notifications about deleted users
41     };
42     "UserBots" {
43         "OtherServ" {
44             "enabled" = 0; //enable, if you want to use ;)
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" { //QServer is an unused 
53     "enabled" = 0; //leave this disabled if you don't know what you're doing!
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         //require users to be authenticated when opening a request
89         "need_auth" = 0;
90         //custom error message - if commented out "You need to be authenticated with AuthServ to use this command." will be used
91         //"need_auth_message" = "Sorry, we require you to be authenticated against AuthServ to use our Services. Please log in or register an account on http://xyz.de/register.php";
92     };
93     "libNeonServ" {
94         "enabled" = 1;
95         "protected" = 0;
96         // How often to look for channels that have expired?
97         "chan_expire_freq" = "3d";
98         // How long is a channel unvisited (by masters or above) before it can be expired?
99         "chan_expire_delay" = "30d";
100         // Automatically register a Backup bot with NeonServ
101         "auto_backup_register" = 0;
102         // Automatically unregister all Backup when NeonServ gets removed
103         "auto_backup_unregister" = 1;
104         // BackupServ channel setting
105         "channel_backup_setting" = 1;
106     };
107     "libNeonBackup" {
108         "enabled" = 1;
109         "protected" = 0;
110     };
111     "libNeonSpam" {
112         "enabled" = 1;
113         "protected" = 0;
114     };
115     "libstats" {
116         /* statistics module
117           this module doesn't extend the bot functions at all! 
118           It will simply send a small UDP packet to neonserv.krypton-bouncer.de
119           this packet is used to keep the statistics on the website up to date.
120           
121           If you don't want your bot to be listed on this site just disable this plugin
122           (entries will be removed after 6h on the website)
123         */
124         "enabled" = 1;
125         "protected" = 0;
126         "hide_networkname" = 0; //hide network name
127         "hide_botnick" = 0; //hide bot nick, ident, host
128         // "use_bot" = "BotNick"; //use this bot for the statistics
129         "hide_chancount" = 0; //hide joined channel count
130         "hide_usercount" = 0; //hide number of users the bot can see
131     };
132 };
133