]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.example.conf
Fixed some upper bounds stuff and do_reset
[irc/gameservirc.git] / gameserv / gameserv.example.conf
index b06443623b1bea5b97f6072d64f2cf81800ca788..58e008dc08f15b468cfd88e00c678c5d8474bf59 100644 (file)
@@ -24,6 +24,9 @@ servername gameserv.yourdomain.com
 # GameServ Forest channel
 c_Forest #forest
 
+# True or false - whether or not to listen for commands on c_Forest
+listenonc_forest true
+
 # GameServ Forest Channel Topic
 c_ForestTopic The forest is dark and gloomy.
 
@@ -41,18 +44,41 @@ remotepass linkpass
 welcomedelay 10
 
 # Message that is displayed to new clients that join the IRC Network
-# Welcomemsg is a formatted string. To use it in a function that uses formatting like notice(), you must include a string
-# as an argument. i.e. notice(s_GameServ, u, welcomemsg, nick);
-# This is only true if you include anything like %s etc... if you include more than one %s or %d or anything, you must
-# include the proper type as an argument also.
+# Welcomemsg is a formatted string. You MUST include one %s and only
+# one %s. Do not put any %d %ld or other %s into this string! You will
+# break something, because there will be a leftover argument when it is
+# called in tcpclient.cpp, because that expects one %s and nothing else.
+# *****Comment this out to disable sending a welcome message*****
 welcomemsg Hello, %s! This network utilizes a services package called GameServ. For info on how to play the game, type /msg %S help.
 
+# This is an optional config file entry that allows you to specify
+# up to 32 servers that gameserv should completly ignore.
+# The list must be on one line, and there must be a space inbetween
+# each servername. Comment out or delete this line if you don't want
+# gameserv to ignore any servers.
+# ***** Does not work on P10 servers yet *****
+ignoreservers services.yourdomain.com stats.yourdomain.com
+
+# This is an optional config file entry that allows you to make
+# gameserv use privmsg instead of notice (/msg instead of /notice).
+# Uncomment it to enable using /msg, comment it or delete it to use /notice
+#USEPRIVMSG
+
+# This is an optional config file entry that allows you to specify
+# whether or not gameserv should be an oper or not.
+# Uncomment to make gameserv oper, comment it or delete it to leave gameserv 
+# as a regular user
+#BOPER
+
 ########## END IRC STUFF ##########
 
 
 # Filename to store player data in.
 playerdata players.dat
 
+# Filename to store news data in
+newsdata news.dat
+
 # Filename to load monsters from
 monsterdata monsters.dat
 
@@ -63,6 +89,18 @@ adminpass apass
 # shutdown or crash, this should be set fairly low. 180 seconds = 3 minutes.
 updateperiod 180
 
+# How often (in seconds) to refresh all players.
+# 86400 Seconds in a day
+# 43200 Seconds in 12 hours
+# 3600 Seconds in an hour
+refreshperiod 86400
+
+# How many days until unused accounts at level 1 are deleted
+level1expire 14
+
+# How many days until unused accounts at all other levels are deleted
+defaultexpire 30
+
 # How many forest fights per day should everyone get
 forestfights 100