X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/5a6d6ae5ecb5189c7090378f14266477dd96e2c8..5f1600ab20e3f14e3330552b83976280c1049907:/x3.conf.example diff --git a/x3.conf.example b/x3.conf.example index 1028941..9aeac09 100644 --- a/x3.conf.example +++ b/x3.conf.example @@ -48,6 +48,7 @@ * x3 does not set the host suffix for users, but must know it when making * things like bans, where it should not show the user's real hostname. */ "numeric" "51"; // hint: If you get collisions on link, CHANGE THIS. + "type" "4"; // Only change this to 5 if you are using Nefarious 0.5.0 off SVN "max_users" "256"; // You can save a little memory by setting this to a lower value. "force_n2k" "1"; // Use extended (5-digit) numnick for self, even if 3 are possible. "ping_freq" "60"; @@ -60,6 +61,10 @@ "www.afternet.org", "Support Staff " ); + /* extended_accounts - + * enable this for nefarious 0.4.x and higher. Sends 'AC R nick account'instead of + * 'AC nick account' and allows for renames etc. */ + "extended_accounts" "1"; /* the following two settings are for ircu's HEAD_IN_SAND features, and are equivelent to * the F: lines in ircu's ircd.conf. both can be disabled by commenting them out. */ //"his_servername" "*.AfterNET.org"; // hidden server name, shown in remote /whois requests @@ -174,7 +179,6 @@ "drain-rate" "0.05"; }; - // How to integrate with email cookies? // In order to use mail, mail must be enabled and configured // down below in the mail section of this config file. @@ -189,10 +193,18 @@ "set_title_level" "900"; // Access to use 'uset title'. "set_fakehost_level" "1000"; //Access to set a freeform fakehost. (uset fakehost) + // A list of denied words in the fakehosts + "denied_fakehost_words" ("sex", + "fuck", + "asshole"); + // This is a hacked in feature which exports every account change to a file sync.log. Afternet uses this and // a bunch of custom PHP scripts to make our websites SQL user db the same as authserv, every 5 minutes. // You have to be a pretty handy person with the shell commands and programming to make use of this.. "sync_log" "0"; // Log account changes to a file for syncing w/ a website? + + // Nickserv 'style' setting affects .userlist and other outputs. + "default_style" "n"; // can be: n = normal, c = clean, or a = advanced. }; /* @@ -225,6 +237,9 @@ "staff_auth_channel" "#OperServ"; // Bot will join this channel, also. "staff_auth_channel_modes" "+tnOs"; // modes get set every time X3 starts up + // which channels should all services autojoin? + "autojoin_channels" ("#TheOps", "#OperServ"); + // how many clones to allow from an untrusted host? // Use this carefully, users with half the # of clones will trigger this // when a server pings out and they reconnect before the old connection is noticed @@ -238,6 +253,9 @@ // how long to g-line for ?block (or, by default, for trace gline)? "block_gline_duration" "12h"; + // how long to shun for ?sblock (or, by default, for trace shun)? + "block_shun_duration" "12h"; + // When a user joins an illegal channel, O3 joins it and locks it down. // how long to keep an illegal channel locked down (seconds)? "purge_lock_delay" "60"; @@ -260,12 +278,21 @@ "size" "200"; "drain-rate" "3"; }; + // Min opserv level needed to set 'silent' glines in trace/addalert + // (nefarious only) + "silent_level" "700"; }; "chanserv" { "nick" "X3"; - // Does your ircd have off-channel services support? - // Bahamut has it, Nefarious has it, but its inharently flawed and will cause desynch, so don't use it. + + // The off_channel setting takes one of three numerical values: + // 0 = off + // 1 = use a registered channel mode, have services op themselves + // 2 = all of the above, and a channel setting to have ChanServ not + // idle in the channel + // NOTE: +z mode, needed for this to work, is inharently flawed and + // will cause desynch, so don't use it IMO -Rubin. "off_channel" "no"; // Infolines are sent when channel users join the channel. Users set them with USET INFO in X3. @@ -330,8 +357,8 @@ // maximum number of channels a user may have. ( FORCE can override ) "max_owned" "2"; - // how long between automatic topic refreshes with TopicRefresh 0 - "refresh_period" "99d"; // Nefarious sync's topics so we'll practically disable this.. + // how long between automatic topic and userlist refreshes with TopicRefresh/Resync + "refresh_period" "10h"; // what should !access say for various staff? "irc_operator_epithet" "AfterNET IRC Operator"; @@ -343,6 +370,9 @@ // minimum opserv access to set, clear or override channel nodelete setting? "nodelete_level" "1"; + + // when does god mode time out? + "god_timeout" "30m"; }; /* Global is a service bot that can send out network-wide messages for you. I @@ -355,6 +385,60 @@ // opt into (or out of, depending on this setting) "announcements_default" "on"; }; + + + "spamserv" { + // You may enable this service by removing the double slashes from the config + // item. To disable it again add the double slashes back. + // "nick" "SpamServ"; + + // debug channel + "debug_channel" "#operserv"; + + // url of the network rules. if you don't have network rules, remove this key. + "network_rules" "http://www.afternet.org/aup"; + + // trigger for spamserv; remove this key to disable the trigger + "trigger" "%"; + + // ban duration of a short timedban. + "short_ban_duration" "15m"; + + // ban duration of a long timedban. + "long_ban_duration" "1h"; + + // duration of a gline. SpamServ will issue it after several violations and a kill. + "gline_duration" "1h"; + + // users may add "exception_max" exceptions to the list. IRCOps can override "exception_max". + "exception_max" "10"; + + // minimum & maximum length of an exception. + "exception_min_len" "4"; + "exception_max_len" "12"; + + // users may add "badword_max" badwords to the list. IRCOps can override badword_max". + "badword_max" "10"; + + // minimum & maximum length of an badword. + "badword_min_len" "4"; + "badword_max_len" "12"; + + // if someone advertises a channel, which doesn't exist (channel is empty, no users), + // SpamServ doesn't punish the user. + // enable this setting, if SpamServ has to ignore advertisements of channels, which do not exist. + // disable this setting, if SpamServ has to punish the users whenever they advertise. + "adv_chan_must_exist" "1"; + + // remove all mirc codes from messages before checking for advertisements. + // if this setting is disabled and someone spams a url which + // contains a bold char, SpamServ doesn't punish him. + "strip_mirc_codes" "1"; + + // enable this, if SpamServ has to "follow" ChanServ, when a channel moves or merges. + // disable it, if it shouldn't be possible to move or merge SpamServ with /msg chanserv move|merge. + "allow_move_merge" "1"; + }; }; /* MODULES (optional components) ************************************************* @@ -406,12 +490,26 @@ // Show new users and joins from net joins? (off by default) "show_bursts" "0"; }; + /* Track works just like Snoop except it only sends events for users + * who have been specified + */ + "track" { + // What to track by default? + "snomask" "nick,join,part,kick,new,del,auth,chanmode,umode"; + // Where to send snoop messages? + "channel" "#MrPeanuts"; + // Which bot? + "bot" "O3"; + // Show new users and joins from net joins? (off by default) + "show_bursts" "0"; + }; /* Memoserv lets users send messages to other users accounts. */ "memoserv" { "bot" "MemoServ"; "message_expiry" "30d"; // age when messages are deleted; set // to 0 to disable message expiration + "limit" "30"; // Max amount of messages a person can get. }; }; @@ -457,12 +555,14 @@ // This just illustrates how you can jam every database into one huge ("mondo") file. "ChanServ" { "mondo_section" "ChanServ"; }; "gline" { "mondo_section" "gline"; }; + "shun" { "mondo_section" "shun"; }; "Global" { "mondo_section" "Global"; }; "HelpServ" { "mondo_section" "HelpServ"; }; "modcmd" { "mondo_section" "modcmd"; }; "NickServ" { "mondo_section" "NickServ"; }; "OpServ" { "mondo_section" "OpServ"; }; "sendmail" { "mondo_section" "sendmail"; }; + "SpamServ" { "mondo_section" "SpamServ"; }; // These are the options if you want a database to be in its own file. "mondo" {