]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.example.conf
Implemented a player timeout scheme
[irc/gameservirc.git] / gameserv / gameserv.example.conf
index 92178718b08650e23db19915a328b8049e9be155..b06443623b1bea5b97f6072d64f2cf81800ca788 100644 (file)
@@ -90,5 +90,17 @@ maxafightdistance 2
 #      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!