]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.example.conf
Added messages.cpp and find.cpp, which contain functions from gameserv.cpp
[irc/gameservirc.git] / gameserv / gameserv.example.conf
index 99187627c7e95198616a9b2c5fa5b3bbd1e37474..d14a10b470fb05bf00f805f14bc6f3fb1a7d30f0 100644 (file)
@@ -65,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.
@@ -95,7 +97,6 @@ SAVEDNOTICE false
 
 ########## END IRC STUFF ##########
 
-
 # Filename to store player data in.
 playerdata data/players.dat
 
@@ -114,6 +115,9 @@ 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)
@@ -184,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
@@ -196,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!