/[LeafOK_CVS]/pvpgn-1.7.4/conf/bnetd.conf.win32
ViewVC logotype

Contents of /pvpgn-1.7.4/conf/bnetd.conf.win32

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Tue Jun 6 03:41:37 2006 UTC (19 years, 9 months ago) by sysadm
Branch: GNU, MAIN
CVS Tags: arelease, HEAD
Changes since 1.1: +0 -0 lines
no message

1 ##############################################################################
2 # bnetd.conf - Configuration file for the Unix Battle.net daemon #
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 # Storage section #
14 # storage_path will tell pvpgn how and where from/to to read/write accounts #
15 # right now it supports 2 "drivers" : file and sql #
16 # #
17 # Syntax: #
18 # * for plain file driver: #
19 # storage_path = file:mode=plain;dir=<path_to_user_files>;clan=<path_to_clan_files>;team=<path_to_team_files>;default=/path/to/default/account #
20 # * for cdb file driver: #
21 # storage_path = file:mode=cdb;dir=<path_to_cdb_files>;clan=<path_to_clan_files>;team=<path_to_team_files>;default=/path/to/default/account #
22 # * for sql driver: #
23 # storage_path = sql:variable=value;...;default=0 (0 is the default uid) #
24 # Variables can be: #
25 # - "mode" : tells PVPGN the sql mode you will use (mysql/pgsql/etc..) #
26 # - "host" : the database host #
27 # - "port" : the TCP/IP port if needed #
28 # - "socket" : the UNIX local socket if needed #
29 # - "name" : database name #
30 # - "user" : db username #
31 # - "pass" : db password #
32 # #
33 # Examples: #
34 # storage_path = file:mode=plain;dir=var\users;clan=var\clans;team=var\teams\;default=conf\bnetd_default_user.plain
35 # storage_path = file:mode=cdb;dir=var\userscdb;clan=var\clans;team=var\teams\;default=conf\bnetd_default_user.cdb
36 # storage_path = sql:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0
37 #----------------------------------------------------------------------------#
38
39 storage_path = file:mode=plain;dir=var\users;clan=var\clans;team=var\teams;default=conf\bnetd_default_user.plain
40
41 # #
42 ##############################################################################
43
44 ##############################################################################
45 # File section #
46 # The pidfile can be set to "" to turn it off. #
47 # Use absolute paths in these lines to avoid problems! #
48 #----------------------------------------------------------------------------#
49
50 filedir = files
51 reportdir = var\reports
52 chanlogdir = var\chanlogs
53 motdfile = conf\bnmotd.txt
54 issuefile = conf\bnissue.txt
55 channelfile = conf\channel.conf
56 newsfile = conf\news.txt
57 adfile = conf\ad.conf
58 topicfile = conf\topics.conf
59 ipbanfile = conf\bnban.conf
60 helpfile = conf\bnhelp.conf
61 transfile = conf\address_translation.conf
62 mpqfile = conf\autoupdate.conf
63 logfile = var\bnetd.log
64 realmfile = conf\realm.conf
65 versioncheck_file = conf\versioncheck.conf
66 mapsfile = conf\bnmaps.conf
67 xplevelfile = conf\bnxplevel.conf
68 xpcalcfile = conf\bnxpcalc.conf
69 #pidfile = var\bnetd.pid
70 ladderdir = var\ladders
71 command_groups_file = conf\command_groups.conf
72 statusdir = var\status
73 aliasfile = conf\bnalias.conf
74 anongame_infos_file = conf\anongame_infos.conf
75 DBlayoutfile = conf\sql_DB_layout.conf
76 supportfile = conf\supportfile.conf
77
78 fortunecmd = bin\fortune.exe
79
80 # #
81 ##############################################################################
82
83
84 ##############################################################################
85 # Message logs #
86 #----------------------------------------------------------------------------#
87
88 # Multiple log levels can be defined by connecting them with a comma (,)
89 # Available loglevels are:
90 # none
91 # trace
92 # debug
93 # info
94 # warn
95 # error
96 # fatal
97 #loglevels = fatal,error,warn,info,debug,trace
98 loglevels = fatal,error
99
100 # #
101 ##############################################################################
102
103
104 ##############################################################################
105 # D2CS realm server settings #
106 #----------------------------------------------------------------------------#
107
108 # Version of D2CS server to connect with (set to zero to disable version check)
109 d2cs_version = 0
110
111 # Allow the D2CS server to change realm names?
112 allow_d2cs_setname = true
113
114 # #
115 ##############################################################################
116
117
118 ##############################################################################
119 # Downloadable files #
120 #----------------------------------------------------------------------------#
121
122 # These filenames are reported directly to the client and are relative to
123 # the "filedir" directory specified above.
124 iconfile = "icons.bni"
125 war3_iconfile = "icons-WAR3.bni"
126 star_iconfile = "icons_STAR.bni"
127
128 tosfile = "tos.txt"
129
130 # #
131 ##############################################################################
132
133
134 ##############################################################################
135 # Client verification and upgrades #
136 #----------------------------------------------------------------------------#
137
138 # This option lists the client types allowed to connect (only valid for
139 # the bnet protocol). The list is a comma separated list of any of the
140 # following elements:
141 # all : all client types allowed (default)
142 # chat : client type "CHAT" allowed (used by some bot software)
143 # dshr : client type Diablo 1 Shareware
144 # drtl : client type Diablo 1 (Retail)
145 # sshr : client type Starcraft Shareware
146 # star : client type Starcraft
147 # sexp : client type Starcraft Broodwar
148 # w2bn : client type Warcraft II Battle.Net Edition
149 # d2dv : client type Diablo 2
150 # d2xp : client type Diablo 2 LOD
151 # war3 : client type Warcraft III (Reign Of Chaos)
152 # w3xp : client type Warcraft III Frozen Throne
153 #
154 # Example: allowed_clients = war3,w3xp
155 allowed_clients = all
156
157 # If this option is enabled, the verification step is skipped if possible.
158 # This only works with clients < 109. It is useful because you no longer
159 # need any of the IX86AUTH?.MPQ and PMACAUTH?.MPQ files. Note that it will
160 # also skip over all the autoupdate checks effectively disabling it.
161 #
162 # If you disable this you must have one or more of the MPQ files. Otherwise
163 # clients will hang when they first connect because they are attempting to
164 # download them. The versioncheck can only be skipped for clients older
165 # than 109. Starting with version 109 the clients will always do version
166 # checking since they do not function properly if the server does not
167 # request it.
168 skip_versioncheck = false
169
170 # If you enable the version checks but want to allow clients that don't pass
171 # the checksum test then enable this.
172 allow_bad_version = false
173
174 # If you enable the version checks but want to allow clients that aren't
175 # listed in the versioncheck configuration file then enable this. Unless
176 # you have a very complete file or are very paranoid about cheaters this
177 # is a good idea.
178 allow_unknown_version = true
179
180 # This defines how the exeinfo field in the versioncheck file is being
181 # checked. You can choose between no match at all [none] (default),
182 # exact match [exact], exact case-sensitive match [exactcase], dumb wildcard
183 # match [wildcard], and parsed value comparison [parse].
184 # NOTE: [parse] needs the mktime() function and might therefore not work on
185 # every system.
186 version_exeinfo_match = none
187
188 # If you have choosen [parse] above, this is the tolerance with which
189 # the time can differ. The value must be given in seconds. If it's 0 this
190 # check is disabled.
191 version_exeinfo_maxdiff = 0
192
193 # #
194 ##############################################################################
195
196
197 ##############################################################################
198 # Time values #
199 #----------------------------------------------------------------------------#
200
201 # Time in seconds between account file updates, 0 means wait forever.
202 usersync = 300
203 # Number of seconds of inactivity before file is unloaded from memory.
204 # (only checked during account file updates)
205 userflush = 1200
206 # Number of users checked for updates at once. Higher values make sense if you
207 # either have very fast hardware or you don't have many number of accounts.
208 # Lower values make sense if you have very high CPU usage on the system you run
209 # the server (dont make it too low or your system will save accounts continously).
210 # Modify this value ONLY if you know what you are doing!!
211 userstep = 100
212
213 # How often to send user latency tests in seconds.
214 latency = 600
215
216 # How often to send null or keepalive packets in seconds.
217 nullmsg = 120
218
219 # Amount of time to delay shutting down server in seconds.
220 shutdown_delay = 300
221 # Amount of time delay period is decremented by either a SIGTERM or SIGINT
222 # (control-c) signal in seconds.
223 shutdown_decr = 60
224
225 # How often should bans be checked for expiration? (in seconds)
226 #ipban_check_int = 30
227
228 # #
229 ##############################################################################
230
231
232 ##############################################################################
233 # Policy options #
234 #----------------------------------------------------------------------------#
235
236 # If you don't want people to be able to create new accounts, set this to
237 # false.
238 new_accounts = true
239
240 # Set this to the maximum number of accounts you want to allow to be
241 # created on your server. A value of 0 means infinite and is the default.
242 #max_accounts = 0
243
244 # If someone attempts to log in more than once, should it kick off the old
245 # login, or deny the new one?
246 kick_old_login = true
247 #kick_old_login = false
248 # With no passwords, this is bad to have enabled --NonReal
249
250 # load_new_account option has been eliminated and the functionality now is
251 # always active in PvPGN
252
253 # If a user is creating a new channel, should it be added automatically, or
254 # prompt them first?
255 ask_new_channel = true
256
257 # Should a game report be written for every game played or just ladder
258 # games?
259 #report_all_games = false
260 report_all_games = true
261
262 # Should Diablo I/II reports be written? There are no winners/losers.
263 report_diablo_games = false
264
265 # Should games with passwords be hidden on the game list?
266 hide_pass_games = true
267
268 # Should games already started be hidden on the game list? (for heavily
269 # loaded servers)
270 hide_started_games = true
271
272 # Should non-permanent channels hidden on the channel list?
273 hide_temp_channels = true
274
275 # Should the extended /-commands be avaliable? (of course!)
276 extra_commands = true
277
278 # Should any and all disconnects to be counted as losses?
279 # (Turning this on will override the user's choice in ladder games!)
280 disc_is_loss = false
281
282 # List additional game types to be counted as ladder games
283 # Curently allowed types: topvbot, melee, ffa, oneonone
284 # Example: ladder_games = "topvbot,oneonone"
285 ladder_games = "none"
286
287 # If additional game types are configured (see above) to be counted as ladder
288 # games then this setting configures a game name prefix to make only games
289 # which match this game name prefix be counted as ladder. This allows to
290 # still have normal games of the game types configured with "ladder_games"
291 # directive. However if this setting is commented or "" then ALL games
292 # which match the game types configured with "ladder_games" are to be
293 # considered as ladder games. The prefix checking is CASE SENSITIVE!
294 # Example: ladder_prefix = "ldr_"
295 ladder_prefix = ""
296
297 # Should all users be able to use the /con and /connections commands?
298 enable_conn_all = true
299
300 # Should client IP addresses (from /con, /games, /gameinfo, /netinfo)
301 # be hidden from non-admins?
302 hide_addr = false
303
304 # Should private channel messages be logged to files in the chanlogdir
305 # directory? (see channels.list for public channels)
306 chanlog = false
307
308 # Do you want to use the channel quota feature?
309 quota = yes
310
311 # The following options deal with flood prevention.
312 #
313 # How many lines do you accept in quota_time seconds?
314 # (The default should allow 5 lines in 5 seconds,
315 # longer time periods allow "bursts" of traffic before the quota is full.)
316 quota_lines = 5 # must be between 1 and 100 lines
317 quota_time = 5 # must be between 1 and 60 seconds
318 # "virtual wrapping", so long lines count as multiple lines
319 quota_wrapline = 40 # must be between 1 to 256 chars
320 # absolute maximum characters allowed in a line
321 quota_maxline = 200 # must be between 1 to 256 chars
322 #
323 # How many lines do you accept in quota_time seconds before user is
324 # disconnected?
325 # (According to Jung-woo, Dobae is a Korean term for flooding the game server...
326 # it originally meant "to paint the wallpaper on a new or refurbished house").
327 # If it less than or equal to quota_lines, there is no warning before
328 # disconnection so don't set this too low.
329 quota_dobae = 10 # must be between 1 and 100 lines
330
331 # Mail support
332 mail_support = true
333 mail_quota = 5
334
335 # Channel logging message
336 log_notice = "*** Please note this channel is logged! ***"
337
338 # Ban on repeated password fails against bruteforce password thieves
339 # Fails required to get ip banned (0 to disable ban on password fail)
340 passfail_count = 0
341
342 # Password fail IP ban duration (in seconds)
343 passfail_bantime = 300
344
345 # Max users limit in private channels (0 = unlimited)
346 maxusers_per_channel = 0
347
348 # #
349 ##############################################################################
350
351
352 ##############################################################################
353 # Account configuration #
354 #----------------------------------------------------------------------------#
355
356 # Should account files be named by the account number or the player name?
357 savebyname = true
358
359 # Save the account data on logoff
360 sync_on_logoff = false
361
362 # How man rows should the account lookup hash table have? Servers with
363 # more accounts should use a larger table for better performance.
364 hashtable_size = 61
365
366 # Per default, only alphanumerical symbols are allowed in account names
367 # with this variable you can add some extra symbols to be allowed
368 # but be warned - that some of them might cause trouble - at least with
369 # savebyname=true (some symbols are forbidden in filenames or might cause
370 # you real trouble - plz neither allow wildcard symbols like '*' or '?'.
371 # Path delimiters like '/' or '\' are hardcoded filtered and can't be allowed.
372 # Also note that allowing the '.' might cause u some headache on win32 systems.
373 # You have been warned - the rest is up to you.
374 # default setting is "-_[]" as it was previous versions
375 account_allowed_symbols = "-_[]"
376
377 # maximum number of friends a user can add to there friends list
378 # default setting is 20
379 max_friends = 20
380
381 # #
382 ##############################################################################
383
384
385 ##############################################################################
386 # Tracking server info #
387 #----------------------------------------------------------------------------#
388
389 # Set track=0 to disable tracking. Any other number will set number
390 # of seconds between sending tracking packets. This is OFF by default.
391 #track = 0
392 track = 60
393 # 10 minutes
394
395 # Tracking server(s)
396 # Use a comma delimited list of hostnames with optional UDP port numbers
397 # after colons. (port 6114 is the default for the newer tracking protocol)
398 #trackaddrs = "track.bnetd.org,localhost:9999"
399 #trackaddrs = "track.pvpgn.org"
400
401 # Change these to match your system, for example:
402 location = "unknown"
403 description = "unknown"
404 url = "unknown"
405 contact_name = "a PvPGN user"
406 contact_email = "unknown"
407
408 # #
409 ##############################################################################
410
411
412 ##############################################################################
413 # Server network info #
414 #----------------------------------------------------------------------------#
415
416 # Set this to the maximum number of concurrent connections allowed on
417 # this server.
418 max_connections = 1000
419
420 # Set this option to true to allow TCP to detect and close stale
421 # connections.
422 use_keepalive = false
423
424 # Limit maximum number of connections per IP (0 = unlimited)
425 # this feature is new, so no recommended value so far
426 max_conns_per_IP = 0
427
428 # This is a comma delimited list of hostnames that the server should
429 # listen on. It might be useful to make an internal-only server on a
430 # gateway machine for example. If the list is not set or if it has a
431 # entry with no host component, the server will bind to that port on all
432 # interfaces.
433 #servaddrs = ":9999"
434 #servaddrs = "myinternalname.some.com,localhost"
435 #servaddrs = ":" # default interface (all) and default port (6112)
436
437 # Don't change these unless you really need to! You will need to run a proxy
438 # or modify the clients. Also note that these will not change when simply
439 # sending a HUP signal to the server; they are only read on startup.
440
441 # This is the port the server send the UDP test packets to by default.
442 # Setting it to zero makes the server use the same port as the TCP connection
443 # comes from. Newer clients can override this setting on a per connection
444 # basis.
445 #udptest_port = 6112
446
447
448 # W3 Play Game router address. Just put your server address in here
449 # or use 0.0.0.0:6200 for server to bind to all interfaces,
450 # but make sure you set up w3trans if you do.
451 w3routeaddr = "0.0.0.0:6200"
452
453 # w3routeshow has been removed.
454 # see the address_translation.conf for translating the w3route ip for local networks
455
456 # initkill_timer sets up a periodic timer on init/defer class connections
457 # this should detect and clean up stale connections to your server
458 initkill_timer = 120
459
460 # #
461 ##############################################################################
462
463
464 ##############################################################################
465 # Internet Relay Chat (IRC) configuration #
466 #----------------------------------------------------------------------------#
467
468 # NOTE: IRC support is still experimental!
469
470 # This specifies the addresses where IRC connections should be accepted. See
471 # the description of servaddrs for formatting information. Leave this field
472 # blank if you do not want to accept IRC connections. If the port is not
473 # specifed then 6667 will be used.
474 #ircaddrs = ":6667"
475
476 # This is the server name used for IRC connections. Set this to your
477 # server name, if the automatic detection doesn't correctly.
478 #servername = "none"
479
480 # Set this to the desired IRC connection timeout in seconds.
481 #irc_latency = 180
482
483 # #
484 ##############################################################################
485
486
487 ##############################################################################
488 # Telnet configuration #
489 #----------------------------------------------------------------------------#
490
491 # This specifies the addresses where telnet connections should be accepted.
492 # See the description of servaddrs for formatting information. Leave this
493 # field # blank if you do not want to accept telnet connections. If the port
494 # is not specifed then 23 will be used.
495 #telnetaddrs = ":23"
496
497 # #
498 ##############################################################################
499
500 ###############################################################################
501 # war3 ladder textual output #
502 #-----------------------------------------------------------------------------#
503 # this is for all the guys, that want Warcraft 3 ladder, but don't want their
504 # server to run with MySQL support.
505 # For each ladder (solo, team, ffa, at) a corresponing file is created,
506 # so it's easy to build your ladder pages with them
507
508 # the following value determines, at which rate, these files are created
509 # set to 0 if you don't want or need these files
510 war3_ladder_update_secs = 300
511
512 # jfro's latest ladder is based on XML... so we can switch to XML output of ladder
513 # on demand. Maybe we should set update interval bigger cause XML output version
514 # is much more verbose than the standard output
515 XML_output_ladder = false
516
517 ###############################################################################
518 # server status textual output #
519 #-----------------------------------------------------------------------------#
520 # This is for writing status of the server in an attempt to see number of user
521 # on line actually, and games/chans.
522 # This is store in file var\status\warcraft3.dat as a *.ini format.
523 # Shouldn't be so hard in php to create dynamic website using this content.
524
525 # the following value determines, at which rate, these files are created
526 # set to 0 if you don't want or need these files
527 output_update_secs = 60
528
529 # jfro's latest ladder is based on XML... so we can switch to XML output of ladder
530 # on demand. Maybe we should set update interval bigger cause XML output version
531 # is much more verbose than the standard output
532 XML_status_output = false
533
534 ###############################################################################
535 # clan settings #
536 #-----------------------------------------------------------------------------#
537
538 # Time in hours for a new member of clan to be a newer(Peon icon, cannot premote to Grunt)
539 # default value 168(7 days). If set to 0, all new members could be promote in no time
540 clan_newer_time = 0
541
542 # max members count allowed in a clan, set between 10&255, default 50.
543 clan_max_members = 50
544
545 # Default clan channel status when create a clan, 1 for private, 0 for public
546 clan_channel_default_private = 0

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1