]> jfr.im git - irc/evilnet/x3.git/blame - tests/srvx.conf
Fixed typo in X3 help durations
[irc/evilnet/x3.git] / tests / srvx.conf
CommitLineData
a32da4c7 1// services configuration file (test network)
2
3"uplinks" {
4 "localhost" {
5 "address" "localhost";
6 "port" "8764";
7 "password" "irctest";
8 "their_password" "irctest";
9 "enabled" "1";
10 };
11};
12
13"services" {
14 "nickserv" {
15 "nick" "NickServ";
16 "db_backup_freq" "1h";
17 "nicks_per_account" "4";
18 "disable_nicks" "0";
19 "warn_nick_owned" "1";
20 "password_min_length" "4";
21 "password_min_digits" "1";
22 "password_min_upper" "0";
23 "password_min_lower" "0";
24 "valid_account_regex" "^[][_a-z^`'{}|-][][_a-z0-9^`'{}|-]*$";
25 "valid_nick_regex" "^[-_a-z][-_a-z0-9]*$";
26
27 "flag_levels" {
28 "g" "800";
29 "lc_h" "800"; // specifically lower case h
30 "uc_H" "800"; // .. and upper case H
31 "S" "999";
32 };
33 "set_epithet_level" "800";
34
35 "account_expire_freq" "1d";
36 "account_expire_delay" "35d";
37 "nochan_account_expire_delay" "14d";
38 "require_qualified" "1";
39 "autogag_enabled" "1";
40 "autogag_duration" "30m";
41 "auth_policer" {
42 "size" "5";
43 "drain-rate" "0.05";
44 };
45
46 // How to integrate with email cookies?
47 "email_enabled" "0"; // if set, /mail/enable MUST be set too
48 "email_required" "0";
49 "cookie_timeout" "1d";
50 "accounts_per_email" "1"; // you may want to increase this; or not
51 "email_visible_level" "800"; // minimum OpServ level to see somebody's email address
52 };
53
54 "opserv" {
55 "nick" "OpServ";
56 "db_backup_freq" "2700";
57 "debug_channel" "#opserv";
58 "alert_channel" "#ircops";
59 "staff_auth_channel" "#opserv";
60 "untrusted_max" "4";
61 "clone_gline_duration" "1h";
62 "block_gline_duration" "1h";
63 "purge_lock_delay" "60";
64 "join_policer" {
65 "size" "20";
66 "drain-rate" "1";
67 };
68 "new_user_policer" {
69 "size" "200";
70 "drain-rate" "3";
71 };
72 "trigger" "?";
73 };
74
75 "chanserv" {
76 "nick" "ChanServ";
77 "debug_channel" "#chanserv";
78 "db_backup_freq" "1800";
79 "info_delay" "120";
80 "max_greetlen" "120";
81 "adjust_threshold" "15";
82 "joinflood_threshold" "5";
83 "adjust_delay" "30";
84 "chan_expire_freq" "3d";
85 "chan_expire_delay" "30d";
86 "max_chan_users" "512";
87 "max_chan_bans" "512";
88 "trigger" "!";
89 "lame_tricks" "1";
90 "8ball" ("Not a chance.",
91 "In your dreams.",
92 "Absolutely!",
93 "Could be, could be.");
94 "support_channel" "#support";
95 "max_owned" "5";
96 "refresh_period" "3h";
97 };
98
99 "global" {
100 "nick" "Global";
101 "db_backup_freq" "1000";
102 };
103
104 "helpserv" {
105 "enable" "1";
106 "description" "Help Queue Manager";
107 "db_backup_freq" "900";
108 };
109};
110
111"sockcheck" {
112 "enabled" "0";
113 "max_sockets" "64";
114 "max_read" "1024";
115 "gline_duration" "1h";
116 "max_cache_age" "60";
117};
118
119"policers" {
120 "commands-luser" {
121 "size" "3";
122 "drain-rate" "0.33";
123 };
124};
125
126"rlimits" {
127 "data" "50M";
128 "stack" "6M";
129 "vmem" "100M";
130};
131
132"server" {
133 "hostname" "srvx.test.net";
134 "description" "Test Network Services";
135 "network" "Testnet";
136 "numeric" "10";
137 "ping_freq" "60";
138 "ping_timeout" "90";
139 "max_cycles" "30";
140};