]> jfr.im git - irc/gameservirc.git/blame - gameserv/gameserv.example.conf
added items to the tavern.dat, added the filename option to the config file
[irc/gameservirc.git] / gameserv / gameserv.example.conf
CommitLineData
20d5d721 1# This is an example configuration file for GameServ that contains every
2# configuration directive necessary to properly load GameServ
3# You should read this file along with the Changes file for any updates
4# and changes to the config file directives.
5
6# You should copy this file to gameserv.conf then edit it. gameserv.conf
7# is the name of the config file that will be loaded at runtime.
8
9########## IRC STUFF ##########
10
85ce9d3e 11# Comments can only begin at the beginning of a line, and must begin with a pound (#)
12# GameServ Nickname
13s_GameServ GameServ
14
15# GameServ Host
a948af1c 16gshost yourdomain.com
85ce9d3e 17
18# GameServ username (ie. username@host)
19gsident GameServ
20
21# Gameserv Psuedo Server Name
a948af1c 22servername gameserv.yourdomain.com
85ce9d3e 23
24# GameServ Forest channel
25c_Forest #forest
26
ff7d02f3 27# True or false - whether or not to listen for commands on c_Forest
28listenonc_forest true
29
85ce9d3e 30# GameServ Forest Channel Topic
31c_ForestTopic The forest is dark and gloomy.
32
33# The hostname/ip of the real ircd gameserv will be connected to
a948af1c 34remoteserver 127.0.0.1
85ce9d3e 35
36# The port on the real ircd gameserv will be connecting to
a948af1c 37remoteport 6667
85ce9d3e 38
39# The password for linking to the real ircd
a948af1c 40remotepass linkpass
85ce9d3e 41
5431156e 42# This is a true/false type config directive.
43# True: GameServ will attempt to identify with nickserv
44# False: It will not (DEFAULT)
45usenickserv false
46
47# Your NickServ's nickname on your network. GameServ will use this to identify
48# CAUTION: This will intentionally cause GameServ to send a PRIVMSG to your services
49# *** This could cause an infinite loop if you use the USEPRIVMSG directive ***
50# Either comment out USEPRIVMSG or add your services server to the ignore list
51nsname NickServ
52
53# The password GameServ will use to identify with your NickServ
54nspass nickpassword
55
028aa0c6 56# Seconds to wait on load before displaying "Hello Nick" to new users
57# joining your network
58welcomedelay 10
59
60# Message that is displayed to new clients that join the IRC Network
18b84d11 61# Welcomemsg is a formatted string. You MUST include one %s and only
62# one %s. Do not put any %d %ld or other %s into this string! You will
63# break something, because there will be a leftover argument when it is
64# called in tcpclient.cpp, because that expects one %s and nothing else.
25e56e30 65# *****Comment this out to disable sending a welcome message*****
028aa0c6 66welcomemsg Hello, %s! This network utilizes a services package called GameServ. For info on how to play the game, type /msg %S help.
67
448a1531 68# This is an optional config file entry that allows you to specify
69# up to 32 servers that gameserv should completly ignore.
70# The list must be on one line, and there must be a space inbetween
71# each servername. Comment out or delete this line if you don't want
72# gameserv to ignore any servers.
25e56e30 73# ***** Does not work on P10 servers yet *****
448a1531 74ignoreservers services.yourdomain.com stats.yourdomain.com
75
6f727d4c 76# This is an optional config file entry that allows you to make
77# gameserv use privmsg instead of notice (/msg instead of /notice).
78# Uncomment it to enable using /msg, comment it or delete it to use /notice
79#USEPRIVMSG
80
81# This is an optional config file entry that allows you to specify
82# whether or not gameserv should be an oper or not.
83# Uncomment to make gameserv oper, comment it or delete it to leave gameserv
84# as a regular user
85#BOPER
86
0799ad9c 87# This is a true/false type config directive.
88# True: GameServ will send a message to the forest channel every time the
89# player database is updated
90# False: It will not (DEFAULT)
91SAVEDNOTICE false
92
20d5d721 93########## END IRC STUFF ##########
94
95
85ce9d3e 96# Filename to store player data in.
97playerdata players.dat
45a84400 98
ec4605a9 99# Filename to store the items in
100itemdata data/items/masteritems.dat
101
c7bceafd 102# Filename to store the items that are available in the tavern
103tavernitemdata data/items/tavern.dat
104
3209db25 105# Filename to store the master stats in
106masterdata data/masters.dat
107
24c4f29e 108# Filename to store current dragon stats in.
30c535d6 109dragondata data/currentdragon.dat
24c4f29e 110
afe0863e 111# Filename to store news data in
112newsdata news.dat
113
45a84400 114# Password to control SHUTDOWN, LOAD, and SAVE
115adminpass apass
bf2cabcd 116
8450c018 117# How often (in seconds) to save the player database. In case of accidental
118# shutdown or crash, this should be set fairly low. 180 seconds = 3 minutes.
119updateperiod 180
20d5d721 120
25e56e30 121# How often (in seconds) to refresh all players.
122# 86400 Seconds in a day
123# 43200 Seconds in 12 hours
124# 3600 Seconds in an hour
125refreshperiod 86400
126
14e24ba1 127# How many days until unused accounts at level 1 are deleted
128level1expire 14
129
130# How many days until unused accounts at all other levels are deleted
131defaultexpire 30
132
20d5d721 133# How many forest fights per day should everyone get
134forestfights 100
135
69ae096c 136# This is the filename for the gameserv process ID
137# This should be different between .conf files so you have different pid
138# files saved for each process (if you want)
139# If left the same for all processes, the pid file will hold the process
140# Id for the last run process
141pidfile gameserv.pid
142
8450c018 143# This is the maximum number of levels above you a player
144# can be to be able to fight them.
145# ie. If this is set to 2, you can fight players two levels above you
146# eg. a level 1 player can fight a level 2 or 3 player, but not 4+
02c8dcd3 147# HINT: Set maxbfightdistance and maxafightdistance to 0 to allow same level
148# player fights only
149
8450c018 150maxafightdistance 2
151
152# This is the maximum number of levels below you a player
153# can be to be able to fight them.
154# ie. If this is set to 1, you can fight players 1 level below you
155# eg. a level 12 player can fight a level 11 player, but not 10 or below
02c8dcd3 156# HINT: Set maxbfightdistance and maxafightdistance to 0 to allow same level
157# player fights only
8450c018 158maxbfightdistance 1
159
40251952 160# This is the maximum time (in seconds) that a player may remain idle
161# before something naughty happens to them :)
162maxidletime 300
163
164# This is the period (in seconds) that gameserv will wait between
165# checking the entire players list for idlers.
166# Warning: bigger networks should not set this too low!
167# Minor Warning: This should be fairly close to the maxidletime, but
168# it doesn't have to be. The farther the two are apart, the more
169# random it gets.
170idlecheckperiod 300
171
20d5d721 172# Delete or comment this line so that GameServ will Load
173die You must read the entire config file!