Before creating a server, it is a good idea to familiarize yourself with the cvars you will need to properly configure your server to your likings. We are going to cover the basic cvars, more advanced can be found on our
page. Starting with the basic:
// hostname - Set the name of your server
hostname "My Counter-Strike Server"
// rcon_password - This allows you to control your server remotely, things like changing maps, kick/ban clients, etc.
rcon_password "specialpassword"
// mp_buytime <seconds> - The amount of time to allow purchasing weapons/equipment on round start
mp_buytime 0.45
// mp_startmoney <money> - Specify how much money players start off with
mp_startmoney 800
// mp_c4timer <seconds> - How long before the c4 explodes
mp_c4timer 45
// mp_timelimit <minutes> - How long each map should be played before switching levels
mp_timelimit 25
// mp_freezetime <seconds> - How long players are unable to move during round starts
mp_freezetime 5
// sv_cheats <0/1> - Whether to allow game cheat commands to be used by clients. 0 = off | 1 = on
sv_cheats 0
// sv_maxrate <1000-25000> - The maximum bandwidth rate the server is allowed to transmit to clients
sv_maxrate 10000
// sv_pausable <0/1> - Whether to allow clients to pause the server. 0 = off | 1 = on
sv_pausable 0
// sv_contact <email/web address> Contact email for server admin
sv_contact "admin@domain.com"
// sv_region <1-7> - The region of the world to report the server in.
// region codes can be found on
this page.
sv_region 0
. For Counter-Strike, the server.cfg goes in the cstrike directory and for Counter-Strike: Source extract to the cstrike/cfg directory.
Now that we've covered the basic commands we can start installing Counter-Strike. On the next page we'll cover a CS Source Install on Windows, if you wish to install Counter-Strike 1.6 skip to page 4 for Windows or page 6 for Linux.