• Страница 1 из 1
  • 1
Настройка параметров файла server.cfg
CS-AN-NET-69-69Дата: Вторник, 01.12.2009, 02:13 | Сообщение # 1
[ Hosting-Admin ]
Группа: Администраторы
Сообщений: 7047
Статус: Offline
Настройка параметров файла server.cfg, Это файл конфигурации сервера!!!

Настройка параметров файла server.cfg
server.cfg- Это примеры наших серверов.

1.Это для публичного сервера настройка

СКАЧАТЬ

2.Это для CW - сервера настройка

СКАЧАТЬ

Настройка параметров файла server.cfg - Это пример
публичного сервера которые сейчас стоят.
Исходный код

//Это "файл конфигурации сервера - этот шаблон находится по адресу www.arbigon.ru"
// "Загружается автоматически во время создания сервера"

// "В некоторых командах:"
// "Значение 0 - выключено"
// "Значение 1 - включено"

// "В некоторых командах:"
// "Значения выставлены на мой вкус)"

// "Конечно это не все команды, а только те что смог найти, к тому же, для некоторых так и не смог"
// "найти описание. Для безопасности - не меняйте у них значения."

hostname "_VBG______RUS_"
sv_password ""
sv_region "3"
sv_contact "digit2006@yandex.ru"
rcon_password "546tyrfu6u6"
exec "banned_user.cfg"
writeid ""

// "Настройки игры"
mp_footsteps "1"
mp_flashlight "1"
mp_autocrosshair "0"
mp_friendlyfire "1"
mp_chattime "10"
mp_timelimit "30"
mp_buytime ".55"
mp_maxrounds "0"
mp_winlimit "0"
mp_startmoney "1300"
mp_roundtime "2.30"
mp_freezetime "5"
mp_c4timer "35"
mp_limitteams "2"
mp_autoteambalance "1"
mp_dynamicpricing "0"

//Ограничения "оружия"
ma_restrict awp 2
ma_restrict g3sg1 2
ma_restrict sg550 2

// "punish"
mp_tkpunish "0"
mp_autokick "0"
mp_spawnprotectiontime "0"
mp_hostagepenalty "0"

// "world"
sv_turbophysics "1"
phys_pushscale "10"
sv_gravity "800"
sv_stopspeed "75"
sv_maxspeed "320"
sv_accelerate "5"
sv_airaccelerate "10"
sv_wateraccelerate "10"
sv_waterfriction "1"
sv_footsteps "1"
sv_rollspeed "200"
sv_rollangle "0"
sv_friction "4"
sv_bounce "0"
sv_maxvelocity "3500"
sv_stepsize "18"
sv_backspeed "0.6"
sv_waterdist "12"
sv_pushaway_force "30000"
sv_pushaway_min_player_speed "75"
sv_pushaway_max_force "1000"

// "rcon"
sv_rcon_minfailuretime "30"
sv_rcon_minfailures "5"
sv_rcon_maxfailures "10"
sv_rcon_banpenalty "5"

// "network"
sv_unlag "1"
sv_maxunlag ".5"
sv_lagflushbonecache "1"
sv_unlag_fixstuck "1"
sv_max_usercmd_future_ticks "8"
sv_runcmds "1"
sv_showimpacts "0"
sv_showplayerhitboxes "0"
sv_lan "0"
sv_minrate "15000"
sv_maxrate "35000"
sv_minupdaterate "40"
sv_maxupdaterate "100"
sv_mincmdrate "40"
sv_maxcmdrate "100"
sv_client_interpolate "1"
sv_client_interp "0.01"
sv_client_cmdrate_difference "10"
sv_timeout "65"
//sv_visiblemaxplayers "27"
// "2 невидимых, для этого ставим что видимых слотов будет 10, а 2ух"
// "как будто не будет, можно будет подсоединится к серверу набрав в консоле connect и ip сервера."
sv_pure_kick_clients "1"

// "queries"
sv_enableoldqueries "1"
sv_max_queries_sec_global "60"
sv_max_queries_window "30"
sv_max_queries_sec "3.0"

// "voice"
sv_alltalk "0"
sv_voiceenable "1"
sv_voicecodec "vaudio_speex"

// "files"
net_maxfilesize "64"
sv_consistency "1"
sv_allowupload "1"
sv_allowdownload "1"
//sv_downloadurl ""
cl_pushaway_force 20000
ac_enableconsistency 1

// "logs"
log "on"
sv_logbans "0"
sv_log_onefile "0"
sv_logecho "1"
sv_logflush "0"
sv_logfile "1"
sv_logsdir "logs"
sv_logblocks "0"
sv_logdownloadlist "1"
mp_logdetail "3"

// "specs"
sv_specaccelerate "5"
sv_specspeed "1.5"
sv_specnoclip "1"
mp_forcecamera "0"
mp_allowspectators "1"
mp_playerid "0"
mp_playerid_delay "0.5"
mp_playerid_hold "0.25"
mp_fadetoblack "0"

// "misc"
sv_maxreplay "0"
sv_pausable "0"
sv_cheats "0"
sv_filterban "1"
sv_stats "1"
sv_instancebaselines "1"
mp_decals "200"
fps_max "1000"
decalfrequency "2000"
r_spray_lifetime "0"

exec "banned_ip.cfg"
exec "mani_server.cfg"
exec "bot.cfg"
exec "mani_quake_sounds.cfg"
exec "es_tools.cfg"

sv_pure "0"

Настройка параметров файла server.cfg - Это пример
закрытого сервера под CW и миксы которые сейчас стоят.

// server info - commented stuff must be set in upper level server.cfg
hostname "CW___ " // Hostname for server
sv_password "xxx"
sv_region 3 // The region of the world to report this server in.
sv_contact "" // Contact email for server sysop
rcon_password "ghjyjt678tyjfd"

// game
mp_footsteps 1
mp_flashlight 1
mp_autocrosshair 0
mp_friendlyfire 0
mp_chattime 10
mp_timelimit 0
mp_buytime .45
mp_maxrounds 0
mp_winlimit 0
mp_startmoney 800
mp_roundtime 2.30
mp_freezetime 3
mp_c4timer 35 // how long from when the C4 is armed until it blows
mp_limitteams 0
mp_autoteambalance 0
mp_dynamicpricing 0

// punish
mp_tkpunish 0 // Will a TK'er be punished in the next round? {0=no, 1=yes}
mp_autokick 0 // Kick idle/team-killing players
mp_spawnprotectiontime 0 // Kick players who team-kill within this many seconds of a round restart.
mp_hostagepenalty 4 // Terrorist are kicked for killing too much hostages

// world
sv_gravity 800 // World gravity.
sv_stopspeed 75 // Minimum stopping speed when on ground.
sv_maxspeed 320
sv_accelerate 5
sv_airaccelerate 10
sv_wateraccelerate 10
sv_waterfriction 1
sv_footsteps 1 // Play footstep sound for players
sv_rollspeed 200
sv_rollangle 0 // Max view roll angle
sv_friction 4 // World friction.
sv_bounce 0 // Bounce multiplier for when physically simulated objects collide with other objects.
sv_maxvelocity 3500 // Maximum speed any ballistically moving object is allowed to attain per axis.
sv_stepsize 18
sv_backspeed 0.6 // How much to slow down backwards motion
sv_waterdist 12 // Vertical view fixup when eyes are near water plane.
sv_pushaway_force 30000 // How hard physics objects are pushed away from the players on the server.
sv_pushaway_min_player_speed 75 // If a player is moving slower than this, don't push away physics objects (enables ducking behind things).
sv_pushaway_max_force 1000 // Maximum amount of force applied to physics objects by players.

// rcon
sv_rcon_minfailuretime 30 // Number of seconds to track failed rcon authentications
sv_rcon_minfailures 5 // Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_maxfailures 10 // Max number of times a user can fail rcon authentication before being banned
sv_rcon_banpenalty 5 // Number of minutes to ban users who fail rcon authentication
net_maxfilesize 64

// network
sv_unlag 1 // Enables player lag compensation
sv_maxunlag .5 // Maximum lag compensation in seconds
sv_lagflushbonecache 1 // Flushes entity bone cache on lag compensation
sv_unlag_fixstuck 1 // Disallow backtracking a player for lag compensation if it will cause them to become stuck
sv_max_usercmd_future_ticks 8 // Prevents clients from running usercmds too far in the future. Prevents speed hacks.
sv_runcmds 1
sv_showimpacts 0 // Shows client (red) and server (blue) bullet impact point (1=both, 2=client-only, 3=server-only)
sv_showplayerhitboxes 0 // Show lag compensated hitboxes for the specified player index whenever a player fires.
sv_lan 0 // Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_minrate 10000 // Min bandwidth rate allowed on server, 0 == unlimited
sv_maxrate 30000 // Max bandwidth rate allowed on server, 0 == unlimited
sv_minupdaterate 40 // Minimum updates per second that the server will allow
sv_maxupdaterate 100 // Maximum updates per second that the server will allow
sv_mincmdrate 40
sv_maxcmdrate 100
sv_client_interpolate 1
// sv_client_interp 0.01
sv_client_cmdrate_difference 5
sv_timeout 65 // After this many seconds without a message from a client, the client is dropped
// sv_visiblemaxplayers 12 // Overrides the max players reported to prospective clients

sv_pure 0
sv_pure_kick_clients 1

// queries
sv_enableoldqueries 0 // Enable support for old style (HL1) server queries
sv_max_queries_sec_global 60 // Maximum queries per second to respond to from anywhere.
sv_max_queries_window 30 // Window over which to average queries per second averages.
sv_max_queries_sec 3.0 // Maximum queries per second to respond to from a single IP address.

// sourcetv
//tv_delay 100 // SrcTV broadcast delay in seconds
//tv_delaymapchange 1 // Delays map change until broadcast is complete
//tv_enable 0 // Activates SourceTV on server.
//tv_dispatchmode 1 // Dispatch clients to relay proxies: 0=never, 1=if appropriate, 2=always
//tv_overridemaster 0 // Overrides the SourceTV master root address.
//tv_autorecord 0 // Automatically records all games as SourceTV demos.
//tv_maxclients 128 // Maximum client number on SourceTVserver.
//tv_snapshotrate 16 // Snapshots broadcasted per second
//tv_timeout 30 // SourceTV connection timeout in seconds.
//tv_autoretry 1 // Relay proxies retry connection after network timeout
//tv_chattimelimit 3 // Limits spectators to chat only every n seconds
//tv_maxrate 5000 // Max SourceTV spectator bandwidth rate allowed, 0 == unlimited
//tv_nochat 0 // Don't receive chat messages from other SourceTV spectators

// voice
sv_alltalk 1
sv_voiceenable 1
sv_voicecodec vaudio_speex // Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.

// files
sv_consistency 1 // Whether the server enforces file consistency for critical files
sv_allowupload 1 // Allow clients to upload customizations files
sv_allowdownload 1 // Allow clients to download files
// sv_downloadurl "http://maps.otstrel.ru/source/" // Location from which clients can download missing files

// logs
log on // Enables logging to file, console, and udp < on | off >.
sv_logbans 0 // Log server bans in the server logs.
sv_log_onefile 0 // Log server information to only one file.
sv_logecho 1 // Echo log information to the console.
sv_logflush 0 // Flush the log file to disk on each write (slow).
sv_logfile 1 // Log server information in the log file.
sv_logsdir "logs" // Folder in the game directory where server logs will be stored.
sv_logblocks 0 // If true when log when a query is blocked (can cause very large log files)
sv_logdownloadlist 1
mp_logdetail 3 // Logs attacks. Values are: 0=off, 1=enemy, 2=teammate, 3=both)

// specs/playerid
sv_specaccelerate 5
sv_specspeed 3
sv_specnoclip 1
mp_forcecamera 1
mp_allowspectators 1 // toggles whether the server allows spectator mode or not
mp_playerid 0 // Controls what information player see in the status bar: 0 all names, 1 team names, 2 no names
mp_playerid_delay 0.5 // Number of seconds to delay showing information in the status bar
mp_playerid_hold 0.25 // Number of seconds to keep showing old information in the status bar
mp_fadetoblack 0 // fade a player's screen to black when he dies

// misc
sv_maxreplay 0 // Maximum replay time in seconds
sv_pausable 0 // Is the server pausable.
sv_cheats 0 // Allow cheats on server
sv_filterban 1 // Set packet filtering by IP mode
sv_stats 1 // Collect CPU usage stats
sv_instancebaselines 1 // Enable instanced baselines. Saves network overhead.
mp_decals 200
fps_max 1000 // Frame rate limiter
decalfrequency 2000
r_spray_lifetime 0 // Number of rounds player sprays are visible

exec banned_ip
exec banned_user


Ставка дня 69-13-59.ru
Бонус 19500 RUB на первый депозит
Бонус 5000 RUB на первый депозит
Кредитная карта 100 дней без %
 
CS-AN-NET-69-69Дата: Вторник, 01.12.2009, 02:13 | Сообщение # 2
[ Hosting-Admin ]
Группа: Администраторы
Сообщений: 7047
Статус: Offline
cool
Прикрепления: server_PUBLIC.rar (3.5 Kb) · server_CW.rar (3.4 Kb)


Ставка дня 69-13-59.ru
Бонус 19500 RUB на первый депозит
Бонус 5000 RUB на первый депозит
Кредитная карта 100 дней без %
 
CS-AN-NET-69-69Дата: Воскресенье, 31.01.2010, 00:19 | Сообщение # 3
[ Hosting-Admin ]
Группа: Администраторы
Сообщений: 7047
Статус: Offline
cool

Ставка дня 69-13-59.ru
Бонус 19500 RUB на первый депозит
Бонус 5000 RUB на первый депозит
Кредитная карта 100 дней без %
 
  • Страница 1 из 1
  • 1
Поиск: