In this part I will describe how to configure Counter-Strike 1.6 server (Steam Version). Before that it is highly recommended to keep a back up of hlds folder. Go to hlds folder inside that folder there is a folder named cstrike, this is root folder of Counter-Strike 1.6. Inside root folder you will find a file named server.cfg open that file using notepad ot wordpad. This is a configuration file of your file. Every time when you will start server it will be executed it also executes at the time of map change. now follow this table. I tried to discuss about all important cvars in this table. If you open the server.cfg file you can view these types cvars. In every line there will be only one cvar & the pattern will be like this, <cvar name> <value>. If you want to stop a cvar then uncomment them using // Just put double slash before a cvar name it will stop executing that cvar. I also made a server.cfg file. If you wish you can download by clicking here. If you use my server.cfg file you have to replace the original one, if you wish you can also edit the original cfg file.
CVar Name
|
Default Value
|
Minimum Value
|
Maximum Value
|
Type
|
Category
|
Description
|
||||||
hostname
|
String
|
Server
|
Sets
the name of the server.
|
|||||||||
rcon_password
|
String
|
Server
|
It sets
the rcon password on the server for the administrators to be able to use
admins commands/cvars. The administrators have also to set rcon_password in
their client console to be able to use admins commands/cvars with the rcon
command
|
|||||||||
mp_footsteps
|
1
|
0
|
1
|
Boolean
|
Server
|
Toggles the footsteps of the player. If it is
enabled we can hear footsteps.
|
||||||
mp_autoteambalance
|
1
|
0
|
1
|
Boolean
|
Server
|
Toggles
the forcing of clients to join teams to make it balanced.
|
||||||
mp_autokick
|
1
|
0
|
1
|
Boolean
|
Server
|
Toggles automatic team-killer banning and kicking of
idle clients.
|
||||||
mp_flashlight
|
0
|
0
|
1
|
Boolean
|
Server
|
Toggles
the use of flashlights by clients.
|
||||||
mp_tkpunish
|
0
|
0
|
1
|
Boolean
|
Server
|
Toggles the forcing of a player to sit out the next
round if he has just killed a teammate.
|
||||||
sv_alltalk
|
0
|
0
|
1
|
Boolean
|
Server
|
If sv_voiceenable
is on, then you can allow only team-team discussions, or, allow everyone to
talk to each other by enabling this.
|
||||||
Pausable
|
0
|
0
|
1
|
Boolean
|
Server
|
Allow the
pausing of the server. If set to yes, clients can pause the server (not
recommended).
|
||||||
sv_cheats
|
0
|
0
|
1
|
Boolean
|
Cheat
|
Toggles
the allowing of cheats.
|
||||||
sv_allowupload
|
1
|
0
|
1
|
Boolean
|
Server
|
Allow clients to upload files to server.
|
||||||
sv_allowdownload
|
1
|
0
|
1
|
Boolean
|
Server
|
Allow
clients to download files from server.
|
||||||
sv_maxspeed
|
320
|
1
|
Integer
|
Server
|
Sets the maximum client movement speed.
|
|||||||
mp_limitteams
|
2
|
0
|
Integer
|
Server
|
Sets the
maximum number of players that one team can have more than the other team.
Set to '0' to disable.
|
|||||||
mp_hostagepenalty
|
13
|
0
|
Integer
|
Server
|
Sets the number of hostages a player can kill before
they are booted from the server. Set to '0' to disable.
|
|||||||
sv_voiceenable
|
1
|
0
|
1
|
Boolean
|
Server
|
Toggles
the allowing of voice of human players.
|
||||||
mp_allowspectators
|
1
|
0
|
1
|
Boolean
|
Server
|
Toggles the allowing of spectators in server.
|
||||||
mp_timelimit
|
0
|
0
|
Integer
|
Server
|
Sets the
maximum amount of time in minutes between map rotations.
|
|||||||
mp_chattime
|
10
|
1
|
Integer
|
Server
|
Set the amount of time the server gives clients to
talk crap at the end of the map before rotating.
( done in seconds )
|
|||||||
mp_friendlyfire
|
0
|
0
|
1
|
Boolean
|
Server
|
Toggles
the allowing of friendly fire.
|
||||||
mp_forcecamera
|
0
|
0
|
2
|
Integer
|
Server
|
Camera
movement when a player gets killed.
0 : see
everything;
1 : see only
team members;
2 : camera position
stays with dead person
|
||||||
mp_forcechasecam
|
0
|
0
|
1
|
Boolean
|
Server
|
Toggles
the chasecam to follow teammates only - useful for LAN games.
|
||||||
mp_fadetoblack
|
0
|
0
|
1
|
Boolean
|
Server
|
Fade the camera to black after death.
|
||||||
sv_gravity
|
800
|
0
|
12000
|
Integer
|
Server
|
Gravity
of the server.
|
||||||
sv_aim
|
0
|
0
|
1
|
Boolean
|
Server
|
Toggles the auto aim feature.
|
||||||
sv_voicecodec
|
voice_miles
|
String
|
server
|
Voice
code of the server.
|
||||||||
sv_voicequality
|
3
|
1
|
5
|
Integer
|
Server
|
Voice quality of server.
|
||||||
mp_freezetime
|
6
|
Integer
|
Server
|
Sets the
amount of "freeze" time in seconds at the beginning of each round
to buy weapons and equipment. Set to '0' to disable
|
||||||||
mp_roundtime
|
5
|
1
|
15
|
Float
|
Server
|
Sets the maximum amount of time in minutes for each
round.
|
||||||
mp_startmoney
|
16000
|
0
|
16000
|
Integer
|
Server
|
Sets the
starting money for each player.
|
||||||
mp_c4timer
|
45
|
15
|
90
|
Integer
|
Server
|
Sets the c4 explosion time after plant (in second).
|
||||||
mp_fraglimit
|
0
|
Integer
|
Server
|
Set frag
limit before map change.
|
||||||||
mp_maxrounds
|
0
|
Integer
|
Server
|
Set max rounds before map change.
|
||||||||
mp_winlimit
|
0
|
Integer
|
Server
|
Set win limit
before map change.
|
||||||||
mp_playerid
|
0
|
0
|
2
|
Integer
|
Server
|
0 = When you
point your crosshair on a player it shows you their team and name.
1 = When you
point your crosshair on a teammate it shows you their name.
2 = Disabled.
|
||||||
mp_spawnprotectiontime
|
5
|
0
|
5
|
Integer
|
Server
|
Sets the
spawn protection for newly spawned players.
|
||||||
mp_buytime
|
1.5
|
0.25
|
Float
|
Server
|
Buy time in minutes.
|
|||||||
sv_lan
|
0
|
0
|
1
|
Boolean
|
Server
|
1 = If
this server is going to be restricted to LAN clients only;
0 = If
you're serving both LAN and internet clients
|
||||||
sv_region
|
-1
|
Integer
|
Server
|
This is for the server browser filters.
To set in which region the server should be Shown.
east coast sv_region 0
west coast sv_region 1
south America sv_region 2
Europe sv_region 3
Asia sv_region 4
Australia sv_region 5 Middle east sv_region 6
Africa sv_region 7
World sv_region 255
|
||||||||
sv_contact
|
String
|
Server
|
Contact email for server admin
|
|||||||||
sv_minrate
|
0
|
1000
|
20000
|
Integer
|
Server
|
This set the minimum bytes per seconds the
server can send to the client. 0 = unlimited. For internet games only (sv_lan
0), except if sv_lan_rate < 1001 on a LAN game (sv_lan 1).
|
||||||
sv_maxrate
|
0
|
1000
|
20000
|
Integer
|
Server
|
This set the maximum bytes per seconds the server can send to
the client. 0 = unlimited.
|
||||||
sv_minupdaterate
|
10
|
10
|
Integer
|
Server
|
This is the minimum amount of updates per second
the server is able to send to the client (See cl_updaterate).
|
|||||||
sv_maxupdaterate
|
30
|
10
|
Integer
|
Server
|
This is the maximum amount of updates per second the server is
able to send to the client (See cl_updaterate).
|
|||||||
sys_ticrate
|
100
|
0
|
1000
|
Integer
|
Server
|
This command sets the maximum frames per
second the server can calculate.
|
||||||
sv_unlag
|
1
|
0
|
1
|
Boolean
|
Server
|
It allows the clients to use lag compensation. Leave this ON.
|
||||||
log
|
On
|
On
|
Off
|
Boolean
|
Server
|
It allows server to make server log.
|
||||||
sv_logbans
|
0
|
0
|
1
|
Boolean
|
Server
|
It turns the logging of player bans on and off.
|
||||||
sv_logecho
|
0
|
0
|
1
|
Boolean
|
Server
|
It allows server to show all logs in
console.
|
||||||
sv_logfile
|
0
|
0
|
1
|
Boolean
|
Server
|
It allows server to maintain a log file. It generally store
logs in a store file at Log folder.
|
||||||
sv_log_onefile
|
0
|
0
|
1
|
Boolean
|
Server
|
It allows server to store all kinds of log
in one file.
|
||||||
In my next blog I will discuss about how to run a server in console & how to forward you computer's port. It will help every one to connect your server other wise no one will be able to connect your server. Till then stay tuned & do post your valuable comments. Thank you.
No comments :
Post a Comment