]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.example.conf
New config file directive listenonc_forest
[irc/gameservirc.git] / gameserv / gameserv.example.conf
index bb9142e5803be138f57a883b7c7df5d77ca08f59..fc19f67454ea2444eeb902cef5f5907948132669 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.
 
@@ -59,9 +62,9 @@ monsterdata monsters.dat
 # Password to control SHUTDOWN, LOAD, and SAVE
 adminpass apass
 
-# How often (in seconds) to save the player database. In case of accidental shutdown or crash, this should be set fairly
-# low. 300 seconds = 5 minutes.
-updateperiod 300
+# How often (in seconds) to save the player database. In case of accidental
+# shutdown or crash, this should be set fairly low. 180 seconds = 3 minutes.
+updateperiod 180
 
 # How many forest fights per day should everyone get
 forestfights 100
@@ -73,5 +76,34 @@ forestfights 100
 # Id for the last run process
 pidfile gameserv.pid
 
+# This is the maximum number of levels above you a player
+# can be to be able to fight them.
+# ie. If this is set to 2, you can fight players two levels above you
+# eg. a level 1 player can fight a level 2 or 3 player, but not 4+
+# HINT: Set maxbfightdistance and maxafightdistance to 0 to allow same level
+#       player fights only
+
+maxafightdistance 2
+
+# This is the maximum number of levels below you a player 
+# can be to be able to fight them.
+# ie. If this is set to 1, you can fight players 1 level below you
+# eg. a level 12 player can fight a level 11 player, but not 10 or below
+# HINT: Set maxbfightdistance and maxafightdistance to 0 to allow same level
+#      player fights only
+maxbfightdistance 1
+
+# This is the maximum time (in seconds) that a player may remain idle
+# before something naughty happens to them :)
+maxidletime 300
+
+# This is the period (in seconds) that gameserv will wait between
+# checking the entire players list for idlers.
+# Warning: bigger networks should not set this too low!
+# Minor Warning: This should be fairly close to the maxidletime, but
+#     it doesn't have to be. The farther the two are apart, the more
+#     random it gets.
+idlecheckperiod 300
+
 # Delete or comment this line so that GameServ will Load
 die You must read the entire config file!