Debian Codegraph @

conf/d2cs.conf.in

raw
1 #################################################################################
2 # d2cs.conf - Configuration file for the diablo2 game control server #
3 #-------------------------------------------------------------------------------#
4 # #
5 # This file is an example configuration and may require modification to #
6 # suit your needs or your site. Blank lines and lines starting with a "#" #
7 # are ignored. Use quotes around values that contain spaces. #
8 # #
9 #################################################################################
10
11
12 #################################################################################
13 # Server Major Settings #
14 #-------------------------------------------------------------------------------#
15 # #
16 # Your realm server name #
17 # Here you put the value of the first column from the realm line in realm.conf
18 # Example, if you have the line
19 # "MyRealm" "My Super Realm" <someIP>:6113
20 # in realm.conf then here you put realmname = "MyRealm"
21 realmname = D2CS
22
23 # This is a comma delimited list of hostnames that the server should
24 # listen on. Generally, YOU DONT NEED TO TOUCH THIS but it might be useful
25 # to make an internal-only server on a gateway machine for example. If the
26 # list is not set or if it has a entry with no host component, the server will
27 # bind to that port on all interfaces.
28 # d2cs default listening port is 6113
29 # WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
30 servaddrs = 0.0.0.0:6113
31
32 # This is a comma delimited list of game servers. Put here the IPs
33 # (without ports) of the machines running d2gs. If you run d2gs on the same
34 # machine as d2cs you put the IP of that machine here.
35 # Example: gameservlist = 192.168.1.10
36 # (if you have a d2gs running on a machine with the IP 192.168.1.10)
37 #
38 # YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY
39 #
40 # WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
41 gameservlist = <d2gs-IP>,<another-d2gs-IP>
42
43 # Put here the address and port of the machine running bnetd (or pvpgn.exe).
44 # If you run d2cs on the same machine as bnetd (or pvpgn.exe) then here you
45 # put the IP of that machine.
46 #
47 # YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY
48 #
49 # bnetd default listening port is 6112
50 # WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
51 bnetdaddr = <bnetd-IP>:6112
52
53 # Set this to the maximum number of concurrent connections allowed on
54 # this server. DO NOT TOUCH UNLESS STRICTLY NECESSARY!
55 max_connections = 1000
56
57 # This sets the realm to Classic or LOD or Both
58 # Classic = 0
59 # LOD = 1
60 # Both = 2 (default)
61 lod_realm = 2
62
63 # This sets whether you can convert a clasic char to
64 # an expansion char.
65 # Allow Convert = 1
66 # Don't allow Convert = 0
67 allow_convert = 0
68
69 # here u can enter the symbols allowed in accountnames (additional to
70 # alphanumerical symbals which are always accepted). please note that
71 # it is absolutly mandatory that u set up the same symbols here as in
72 # bnetd.conf or else u wont be able to play D2 with some characters
73 # (those whose symbols are allowed in bnetd.conf but not here)
74 # same warnings as in bnetd.conf apply here - be warned - and just
75 # change something if you know what you are doing
76 #default setting is "-_[]"
77 account_allowed_symbols = "-_[]"
78
79 # #
80 #################################################################################
81
82 #################################################################################
83 # Message logs #
84 #-------------------------------------------------------------------------------#
85 # Multiple log levels can be defined by connecting them with a comma (,)
86 # Available loglevels are:
87 # none
88 # trace
89 # debug
90 # info
91 # warn
92 # error
93 # fatal
94 #loglevels = fatal,error,warn,info
95 loglevels = fatal,error,warn,info,debug,trace
96
97 # #
98 #################################################################################
99
100 #################################################################################
101 # File and Path section #
102 # Use absolute paths in these lines to avoid problems! #
103 #-------------------------------------------------------------------------------#
104 # #
105 logfile = "${LOCALSTATEDIR}/d2cs.log"
106 charsavedir = "${LOCALSTATEDIR}/charsave"
107 charinfodir = "${LOCALSTATEDIR}/charinfo"
108 bak_charsavedir = "${LOCALSTATEDIR}/bak/charsave"
109 bak_charinfodir = "${LOCALSTATEDIR}/bak/charinfo"
110 ladderdir = "${LOCALSTATEDIR}/ladders"
111 transfile = "${SYSCONFDIR}/address_translation.conf"
112 d2gsconffile = "${SYSCONFDIR}/d2server.ini"
113 #pidfile = "${LOCALSTATEDIR}/d2cs.pid"
114
115 # d2s template for a new created characters
116 newbiefile_amazon = "${LOCALSTATEDIR}/files/newbie.save"
117 newbiefile_sorceress = "${LOCALSTATEDIR}/files/newbie.save"
118 newbiefile_necromancer = "${LOCALSTATEDIR}/files/newbie.save"
119 newbiefile_paladin = "${LOCALSTATEDIR}/files/newbie.save"
120 newbiefile_barbarian = "${LOCALSTATEDIR}/files/newbie.save"
121 newbiefile_druid = "${LOCALSTATEDIR}/files/newbie.save"
122 newbiefile_assasin = "${LOCALSTATEDIR}/files/newbie.save"
123
124 # #
125 #################################################################################
126
127 #################################################################################
128 # Misc #
129 #-------------------------------------------------------------------------------#
130 # #
131 # Message Of The Day
132 motd = "No Message Of The Day Set"
133
134 # Set to non-zero to allow creation of new realm character
135 allow_newchar = 1
136
137 # Do you want d2cs to check client for multilogin for security reason?
138 check_multilogin = 0
139
140 # Maxinum number of character per account
141 # Max allowed value is 18 (enforced by server)
142 maxchar = 8
143
144 # Character sorting. Options are: level, ctime, mtime, name, none. (none assumed if
145 # not specified).
146 #charlist_sort = "none"
147
148 # Do we need ascending or descending order for charlist?
149 #charlist_sort_order = "ASC"
150
151 # Maxinum number of games will be shown in join game list
152 # Zero = infinite
153 maxgamelist = 20
154
155 # Set to non-zero to allow show all games with difficulty < character difficulty
156 # Otherwise, only game with difficulty = character difficulty will be shown
157 gamelist_showall = 0
158
159 # Maxinum time in seconds that a user can idle
160 # Zero = infinite
161 idletime = 3600
162
163 # Amount of time to delay shutting down server in seconds.
164 shutdown_delay = 300
165
166 # Amount of time delay period is decremented by either a SIGTERM or SIGINT
167 # (control-c) signal in seconds.
168 shutdown_decr = 60
169 #
170 #################################################################################
171
172
173 #################################################################################
174 # Internal System Settings #
175 # You may just ignore them and use the default value #
176 #-------------------------------------------------------------------------------#
177 #
178 # How often will the server purge all list to clean unused data (in seconds)
179 listpurgeinterval = 300
180
181 # How often will the server check game queues (in seconds)
182 gqcheckinterval = 60
183
184 # How often will the server retry to connect to bnetd
185 # when connection lost (in seconds)
186 s2s_retryinterval = 10
187
188 # How long time the s2s connection will timeout
189 s2s_timeout = 10
190
191 # How often the server will check server queues for expired data
192 sq_checkinterval = 300
193
194 # How long time will a server queue data expire
195 sq_timeout = 300
196
197 # Game serer binary files checksum, use zero to skip this checking
198 d2gs_checksum = 0
199
200 # Game server version, use zero to skip this checking
201 d2gs_version = 0
202
203 # Game server password
204 d2gs_password = ""
205
206 # Maxinum number of second that a game will be shown on list( zero = infinite )
207 game_maxlifetime = 0
208
209 # Maximum level allowed in this (realm) game.
210 # Normal games have a max level 99, while the internal field size limit is 255.
211 # Extreme game MODs may have higher values, but be warned:
212 # !!! Use them at your own risk !!!
213 # game_maxlevel = 255
214
215 # A game will be automatically destroied after how long time idle
216 max_game_idletime = 0
217
218 # Allow Limitation created game with password, player number or level limit?
219 allow_gamelimit = 1
220
221 # Ladder refresh time
222 ladder_refresh_interval = 3600
223
224 # server to server connection max idle time in seconds
225 s2s_idletime = 300
226
227 # server to server connection keepalive interval
228 s2s_keepalive_interval = 60
229
230 # all connection timeout check interval
231 timeout_checkinterval = 60
232
233 # game server restart interval
234 # when sending SIGUSR2 signal to your d2cs this issues a restart
235 # of all connected d2gs after d2gs_restart_delay seconds
236 d2gs_restart_delay = 300
237
238 # ladder start time
239 # format: yyyy-mm-dd hh:mm:ss
240 # be carefull:
241 # all chars created before this date will revert to non-ladder chars
242 ladder_start_time = ""
243
244 # number of days before a char expires (default 0=unlimited)
245 char_expire_day = 0
246
247 #
248 #################################################################################