SphereIRC.ini
// You may copy and paste this for your SphereIRC.ini if you want.
[ME]
// Name of your server
name = "irc.sphereserver.com"
// Some info about it
info = "SphereIRC Server"
// Unique number for each server on the network,
// any number will do as long as each is different
// (server to server linkning is not completely working 100% yet)
numeric = 77
[ADMIN]
// Admin contact info, typing /admin will show this
line = "SphereIRC Chat Server"
line = "SphereServer Game Server"
line = "someone@email.com"
[SETTINGS]
// Number of channels users may be on at once
maxchannelsperuser = 10
// Who to tell a klined user to email
kline-address = "irc-admin@email.com"
// Give this mode to all users on connect
// (+o is ignored in this setting)
modes-on-connect = "+x"
// Give this mode to all ircops when they /oper
modes-on-oper = "+xwgs"
// Put ircops in these channels when they /oper,
// seperated by commas
oper-auto-join = "#opers"
// Not implemented yet
dns_nameserver = "123.23.34.45"
// Not implemented yet
dns_timeout = 2s
// Not implemented yet
dns_retries = 2s
// To add options, simply put a line for each
// To remove options comment them out with // or delete them
// web-tv irc clients need special support
option = webtv-support
option = hide-ulines
// This controls hostmask cloaking
option = no-stealth
// Show ircops the OperMOTD when they /oper
option = show-opermotd
// Require ident on connect (not implemented)
option = identd-check
// Let other ircops know when someone fails a /oper attempt
option = fail-oper-warn
// Show connection information during login
option = show-connect-info
// Allow ircops to use the /chatops and similar commands
option = allow-chatops
// Not implemented yet
anti-spam-quit-message-time = 10s
// Not implemented yet
oper-only-stats = "okG"
// Name of your network (not just server)
network-name = "SphereNet"
// Not implemented
default-server = "irc.sphereserver.com"
// Name of server your chanserv, nickserv, etc will be on
services-server = "services.sphereserver.com"
// Name of server for stats
stats-server = "stats.sphereserver.com"
// Channel to tell users to go to for help
help-channel = "#SphereHelp"
// When hostmask cloaking is enabled, this will prefix the virtual host
hiddenhost-prefix = "SphereIRC"
// Override the default "Quit:" message
prefix-quit = "Quit:"
// When your ircops /oper, they will get
// the following virtual hosts according
// to their oper privs (host_x's are not implemented yet)
host_local = "locop.sphereserver.com"
host_global = "ircop.sphereserver.com"
host_coadmin = "coadmin.sphereserver.com"
host_admin = "admin.sphereserver.com"
host_servicesadmin = "csops.sphereserver.com"
host_techadmin = "techadmin.sphereserver.com" // I believe techadmin is removed
host_netadmin = "netadmin.sphereserver.com"
// Turn off the virtual hosts above for ircops
host-on-oper-up = no
// Keys irc server will use to randomly
// generate the cloaked hostmasks for users when cloaking is enabled
// You MUST have 3 listed
// They MUST be in order: cloak_key1, cloak_key2, cloak_key3
cloak_key1 = 29666
cloak_key2 = 23333
cloak_key3 = 23330
// clients are typical people who login with an IRC client
[CLASS clients]
// ping frequency for this class in seconds
// i.e. How often we should check to see if they're still alive
pingfreq = 90
// Max clients we can have connected at a time for this class
maxclients = 500
// Size of their out bound queue (not implemented)
sendq = 100000
[CLASS servers]
pingfreq = 90
maxclients = 10
sendq = 1000000
// How many seconds between each connection attempt (not implemented)
connfreq = 100
// I'll scan for wingates and proxies on all but these hosts
// (not implemented)
[EXCEPT_scan]
mask = "*sphereserver.com"
mask = "*someplace.net"
[BAN IP]
// Don't let this IP on
mask = "255.255.255.255"
reason = "Delinked server"
[ALLOW]
// let this one in if a [BAN] would have blocked it
ip = "*"
hostname = "*"
class = clients
maxperip = 5
[ALLOW]
ip = "123.23.34.*"
hostname = "*.sphereserver.com"
class = clients
maxperip = 5
[ALLOW]
ip = "*@255.255.255.255"
hostname = "*@*.passworded.ugly.people"
class = clients
password = "f00Ness"
maxperip = 1
[VHOST "i.hate.jerks.com"]
// Allow users from this host to access the "i.hate.jerks.com" vhost
from = "*@*.image.fr"
// After connecting they will do /vhost stuckup thepass
login = "stuckup"
password = "thepass"
[BAN NICK]
// Prevent users from having these nicks to protect
// abusers pretending to be important services or people
mask = "*C*h*a*n*S*e*r*v*"
reason = "Reserved for Services"
[BAN NICK]
mask = "*N*i*c*k*S*e*r*v*"
reason = "Reserved for Services"
[BAN NICK]
mask = "*M*e*m*o*S*e*r*v*"
reason = "Reserved for Services"
[BAN NICK]
mask = "*Q*u*o*t*e*S*e*r*v*"
reason = "Reserved for Services"
[BAN NICK]
mask = "*O*p*e*r*S*e*r*v*"
reason = "Reserved for Services"
[BAN NICK]
mask = "*H*e*l*p*S*e*r*v*"
reason = "Reserved for Services"
[BAN NICK]
mask = "*S*t*a*t*S*e*r*v*"
reason = "Reserved for Services"
[BAN NICK]
mask = "*I*n*f*o*S*e*r*v*"
reason = "Reserved for Services"
[BAN NICK]
mask = "*B*o*t*S*e*r*v*"
reason = "Reserved for Services"
[BAN SERVER]
// Prevent this hostname from connecting
mask = "some.bad.guy"
reason = "Get lost you!"
[BAN USER]
// Prevent this user ident and hostmask from connecting
mask = "*k3wld00dz@*.quakers.com"
reason = "PK'er";
[BAN REALNAME]
// Prevent this real name from connecting
mask = "Bad Guy"
reason = "Living"
[EXCEPT_tkl]
// Allow this hostmask to connect even if banned from a gline
mask = "*sphereserver.com"
type = gline
[EXCEPT_tkl]
// Allow this hostmask to connect even if banned from a gzline
mask = "*sphereserver.com"
type = gzline
[EXCEPT_tkl]
// Allow this hostmask to connect even if shunned
mask = "*sphereserver.com"
type = shun
[EXCEPT_tkl]
//Allow this hostmask to connect even if klined
mask = "*sphereserver.com"
type = tkline
[EXCEPT_tkl]
// Allow this hostmask to connect even if zlined
mask = "*sphereserver.com"
type = tzline
[ALLOWCHANNEL]
// Allow this channel even if banned by (example) *warez*
channel="#i-hate-warez"
channel="#porn-is-for-losers"
[BANCHANNEL]
// Ban channels with warez* in the name from being used
channel="warez*"
channel="*porn*"
// Following are additional port lines to have the server
// listen for specific connections on. It will default to
// the port sphere runs on (usually 2593) but allow others
// if you specify here. (not implemented yet)
// Listen options are:
// ssl
// serversonly
// remoteadmin
// java
// mask
// ssl
// standard
// clientsonly
[LISTEN *:6601]
option = ssl
option = clientsonly
[LISTEN *:8067]
[LISTEN *:6668]
// Following are your connection lines for other
// servers to connect to your network
[LINK "irc2.somedomain.com"]
username = "*"
hostname = "irc2.someircnet.com"
bind-ip = "*"
port = 6669
hub = "*"
password-connect = "yomama"
password-receive = "yomama"
class = servers
option = autoconnect
option = ssl
option = zip
[TLD]
// This will setup specific rules for users
// connecting from certain hosts
mask = "*@*.ca"
// Canadian users in this example will receive
// the motd_ca.txt and rules_ca.txt on connect
motd = "irc\motd_ca.txt"
rules = "irc\rules_ca.txt"
// Candian users in this example will auto-join
// this channel on connect
channel = "#Canada"
[TLD]
// Default ruleset for all users
mask = "*@*"
// All users will receive the motd_default.txt
// and rules_default.txt on connect
motd = "irc\motd_default.txt"
// They will receive these in addition to any
// specific motd or rule messages you specify
rules = "irc\rules_default.txt"
// Force all users connecting to join this
// channel
channel = "#Lamers"
// You can setup specific user modes with flags="+oNaA" or whatever
// instead of oflag= lines if you prefer the old fashioned method
// oflag = netadmin
// oflag = global
[OPER "Westy"]
// Setup your opers here. They will gain ircop
// privs by typing /oper name pass
class = clients
password = "somepass"
from = "*@*.iwh.com"
oflag = netadmin
oflag = global
[OPER "Blink"]
class = "clients"
password = "somepass"
from = "*@*satx.rr.com"
oflag = netadmin
oflag=global
[OPER "RoseThorn"]
class = clients
password = "somepass"
from = "*@*cfl.rr.com"
oflag = netadmin
oflag = global
[DRPASS]
// Password required for ircops to restart
// the irc portion of the server
restart = "I-love-to-restart"
// Password required for ircops to kill
// the irc portion of the server
die = "die-you-stupid"
// Any unknown, bugged, syntactically incorrect, or just plain
// wrong sections will be added to the mistake list, which will
// be viewable via a command in an IRC client.
// (partially implemented)
[some unknown section]
with entries here
[EOF]
motd_xxxx.txt
These files contain the Message Of The Day for connecting clients. You can make as many as you like, and place them in the [TLD] sections as motd="motd_whatever.txt".
rules_xxxx.txt
These files contain the IRC rules for connecting clients. You can make as many as you like, and place them in the [TLD] sections as rules="rules_whatever.txt".
SphereIRCServices.ini
This files contains the configuration for your services. Services are Nickserv, Chanserv, Memoserv, etc. The .ini file is commented with explanation on what goes where fairly well. Just read through it for a quick setup. The majority of the file can be left at defaults and work just fine. There are helpfiles for them that go into great detail in the IRC\HelpFile\ subdirectory.