]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.example.conf
Added code for the start of the DataLayer format as well as a basic FilePlayerDAO...
[irc/gameservirc.git] / gameserv / gameserv.example.conf
index ffb09aba77cd3e59d15ff3e2feb657d2a0a4a703..d14a10b470fb05bf00f805f14bc6f3fb1a7d30f0 100644 (file)
@@ -39,6 +39,23 @@ remoteport 6667
 # The password for linking to the real ircd 
 remotepass linkpass
 
+# The hostname of the local machine you wish to bind to when connecting
+localhost 0.0.0.0
+
+# This is a true/false type config directive.
+# True: GameServ will attempt to identify with nickserv
+# False: It will not (DEFAULT)
+usenickserv false
+
+# Your NickServ's nickname on your network. GameServ will use this to identify
+# CAUTION: This will intentionally cause GameServ to send a PRIVMSG to your services
+# *** This could cause an infinite loop if you use the USEPRIVMSG directive ***
+# Either comment out USEPRIVMSG or add your services server to the ignore list
+nsname NickServ
+
+# The password GameServ will use to identify with your NickServ
+nspass nickpassword
+
 # Seconds to wait on load before displaying "Hello Nick" to new users
 # joining your network
 welcomedelay 10
@@ -48,8 +65,10 @@ welcomedelay 10
 # 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.
+# You can use <S as many times as you want, though, because that is automatically
+# Replaced with the s_GameServ variable.
 # *****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.
+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.
@@ -70,15 +89,46 @@ ignoreservers services.yourdomain.com stats.yourdomain.com
 # as a regular user
 #BOPER
 
-########## END IRC STUFF ##########
+# This is a true/false type config directive.
+# True: GameServ will send a message to the forest channel every time the
+#       player database is updated
+# False: It will not (DEFAULT)
+SAVEDNOTICE false
 
+########## END IRC STUFF ##########
 
 # Filename to store player data in.
-playerdata players.dat
+playerdata data/players.dat
+
+# Filename to store the items in
+itemdata data/items/masteritems.dat
+
+# Filename to store the items that are abailable in the store
+storeitemdata data/items/store.dat
+
+# Filename to store the items that are available in the tavern
+tavernitemdata data/items/tavern.dat
+
+# Filename to store the master stats in
+masterdata data/masters.dat
+
+# Filename to store current dragon stats in.
+dragondata data/currentdragon.dat
+
+# Directory to look for scripts in - No trailing / necessary
+scriptdir data/scripts
+
+# This is the filename for the gameserv process ID
+# This should be different between .conf files so you have different pid
+# files saved for each process (if you want)
+# If left the same for all processes, the pid file will hold the process
+# Id for the last run process
+pidfile gameserv.pid
 
 # Filename to store news data in
 newsdata news.dat
 
+
 # Password to control SHUTDOWN, LOAD, and SAVE
 adminpass apass
 
@@ -98,15 +148,28 @@ 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
+# Maximum number of items a player can carry
+maxitems 100
+
+# How many forest fights per day should everyone get 
+# (this is the number of fights that will roll over if you say true below)
 forestfights 100
 
-# This is the filename for the gameserv process ID
-# This should be different between .conf files so you have different pid
-# files saved for each process (if you want)
-# If left the same for all processes, the pid file will hold the process
-# Id for the last run process
-pidfile gameserv.pid
+# True or False - Should GameServ roll over the forestfights
+rolloverforestfights false
+
+# How often (in seconds) ro rollover forest fights
+# 86400 Seconds in a day
+# 43200 Seconds in 12 hours
+# 3600 Seconds in an hour
+rolloverperiod 864
+
+# Maximum number of forest fights to roll over total. Forest fights per player will never
+# Roll over to be above this number
+maxforestfights 100
+
+# Number of forest fights to roll over every rolloverperiod.
+numrolloverfights 1
 
 # This is the maximum number of levels above you a player
 # can be to be able to fight them.
@@ -125,6 +188,12 @@ maxafightdistance 2
 #      player fights only
 maxbfightdistance 1
 
+# Leave this as is if you want to enable fair fight checking
+# This will not let a player fight another player if they will
+# Kill the other player with 1 hit... useful for those pesky Level 1 players
+# That have the best armor and weapons because they play way too much!
+fairfights true
+
 # This is the maximum time (in seconds) that a player may remain idle
 # before something naughty happens to them :)
 maxidletime 300
@@ -137,5 +206,8 @@ maxidletime 300
 #     random it gets.
 idlecheckperiod 300
 
+# This is the maximum length that a nickname can be
+maxnicklen 20
+
 # Delete or comment this line so that GameServ will Load
 die You must read the entire config file!