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

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

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

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