*/
"MySQL" {
- "host" = "127.0.0.1 ";
+ "host" = "127.0.0.1";
"port" = 3306;
"user" = "neonserv";
"pass" = "password";
"base" = "neonserv";
};
+"statistics" {
+ "enable" = 0;
+ "frequency" = 5; //minutes
+ "include_lusers" = 1; //general network statistics
+ "execute" = "php scripts/statistic.php";
+ /* parameters:
+ - visible users
+ - visible chanusers
+ - visible channels
+ - privmsg per minute
+ - commands per minute
+ - network users
+ - network channels
+ */
+};
"General" {
+ "worker_threads" = 5; //threads
"alertchan" = "";
"have_halfop" = 0;
-};
\ No newline at end of file
+ //unregister NeonSpam channels together with NeonServ?
+ "sync_neonspam_unreg" = 1;
+ "CheckAuths" {
+ "enabled" = 1;
+ "start_time" = 3; //24h format
+ "duration" = 180; //minutes
+ "interval" = 2; //seconds
+ "min_unckecked" = 172800; //check auth only if unchecked for x seconds
+ //180 miutes, every 2 seconds: 5400 auth checks
+ "alertchan" = "#krypton.intern";
+ };
+};
+"QServer" {
+ "enabled" = 0;
+ "port" = 7499;
+ "pass" = "blaa";
+};
+"log" { //neonserv.log
+ /*
+ 1 - INFO
+ 2 - ERROR
+ 4 - RAW
+ 8 - MYSQL
+ */
+ "loglevel" = 3;
+};
+"modules" {
+ "libglobalcmd" {
+ "enabled" = 1;
+ "protected" = 1; //may not be unloaded
+ };
+ "libDummyServ" {
+ "enabled" = 1;
+ "protected" = 0;
+ };
+ "libfuncmds" {
+ "enabled" = 1;
+ "protected" = 0;
+ };
+ "libNeonHelp" {
+ "enabled" = 1;
+ "protected" = 0;
+ };
+ "libNeonServ" {
+ "enabled" = 1;
+ "protected" = 0;
+ // How often to look for channels that have expired?
+ "chan_expire_freq" = "3d";
+ // How long is a channel unvisited (by masters or above) before it can be expired?
+ "chan_expire_delay" = "30d";
+ };
+ "libNeonSpam" {
+ "enabled" = 1;
+ "protected" = 0;
+ };
+ "libstats" {
+ /* statistics module
+ this module doesn't extend the bot functions at all!
+ It will simply send a small UDP packet to neonserv.krypton-bouncer.de
+ this packet is used to keep the statistics on the website up to date.
+
+ If you don't want your bot to be listed on this site just disable this plugin
+ (entries will be removed after 6h on the website)
+ */
+ "enabled" = 1;
+ "protected" = 0;
+ "hide_networkname" = 0; //hide network name
+ "hide_botnick" = 0; //hide bot nick, ident, host
+ "hide_chancount" = 0; //hide joined channel count
+ "hide_usercount" = 0; //hide number of users the bot can see
+ };
+};
+