Setting up standard server configs

There are 5 main server config files.

/cstrike/mapcycle.txt - list of maps in the mapcycle.
/cstrike/maplist.txt list of all avaiable maps.
/cstrike/motd.txt - the intro page for your server (standard HTML).
/cstrike/cfg/server.cfg - a list of all the server variables that are set when the server is started.
/cstrike/cfg/autoexec.cfg - a list of commands that are run when the server is started.

.cfg files can simply be open with notepad, they are no different than .txt's.

The only file here that needs explanation is server.cfg, if you do not have a server.cfg,
make one or copy the one from my config zipfile.

List of all standard maps for mapcycle and maplist

as_oilrig
cs_747
cs_assault
cs_italy
cs_militia
cs_office
de_aztec
de_cbble
de_chateau
de_dust
de_dust2
de_inferno
de_prodigy
de_storm
de_torn
de_train

The Contents of Server.cfg

// General Settings
hostname "[404] Clan Server 100 Tick *Recruiting*" - the name of your server.
sv_password "" password of your server if private.
mp_chattime 20 - the amount of time to talk at the end of a map (seconds)
sv_lan 0 - 0 if internet server 1 if lan server
sv_secure 1 - VAC2 secure
sv_pausable 0 - Allows the game to be paused if set to 1.
sv_cheats 0 Allow cheat commands if set to 1.
sv_consistency 0 - Force client model consistancy if set to 1.
sv_allowdownload 1 - allow clients to download.
sv_allowupload 1 - allow clients to upload.
sv_downloadurl "" - optional url for clients to download from instead of the server.
sv_timeout 30 - seconds of idle time for client to timeout.
sv_voicecodec vaudio_miles - voice audio codec to use.
sv_voiceenable 1 - allow voice.
sv_alltalk 0 - allow opposite teams to hear each other if set to 1.
sv_region 0 - 0=US East coast, 1=US West coast, 2= South America, 3=Europe, 4=Asia,
5=Australia, 6=Middle East, 7=Africa and 255=world. mani_autobalance_teams 1 - manimod addon to balance uneven teams.
mani_dead_alltalk 0 - manimod addon to allow dead players to talk to live players if set to 1.

// Ban Settings
exec banned_user.cfg - execute the banned user file.
exec banned_ip.cfg - execute the banned ip config file.

// Rcon Settings
rcon_password "rconpass" - password for rcon commands
sv_rcon_banpenalty 15 - minutes to ban player who entered the rcon password wrong too many times.
sv_rcon_maxfailures 4 - failures needed to ban.
sv_rcon_minfailures 2 - failures needed to go towards ban
sv_rcon_minfailuretime 30 timeframe in seconds to record consecutive failures.

// Log Settings
sv_log_onefile 0 - make one huge logifle if set to 1.
sv_logfile 1 - make a logifle.
sv_logbans 1 - log bans in logfile.
sv_logecho 1 - log echos (say commands).
mp_logdetail 1 - verbosity of the logfile (0-3).
log on - turns on logging.

// Game Settings
mp_fraglimit 0 - amount of frags need of a player to end the map.
mp_maxrounds 0 - maximum rounds total to end the map.
mp_winlimit 35 - wins needed by one team to end the map.
mp_timelimit 0 - time in minutes needed to end the map.
mp_startmoney 800 - money given at start of map.
mp_roundtime 4 - minutes each round lasts.
mp_buytime 4 - minutes of each round players can buy.
mp_c4timer 40 - time in seconds c4 takes to detonate.
mp_falldamage 1 - turns on falling damage.
mp_flashlight 1 - allows flashlight.
mp_footsteps 1 - turns on footsteps.
mp_freezetime 3 - seconds of freeze time at beginning of round.
mp_friendlyfire 1 - turns on friendly fire.
mp_tkpunish 0 - kills player next round after tk if set to 1.
mp_hostagepenalty 0 - number of hostages killed to kick player.
mp_limitteams 0 - limit players on each team.
mp_playerid 1 - show player name and health when aimed at a teammate.
sv_footsteps 1 - footsteps on.

// Performance Settings
mp_weaponstay 0 - weapons on the ground stay if set to 1.
mp_decals 1000 - maximum decals on the level.
decalfrequency 10 - seconds between decal sprays.

// Spectator Settings
mp_allowspectators 1 - allow spectators in game.
sv_specaccelerate 5 - spectator accelleration.
sv_specnoclip 1 - spectators can go through walls.
sv_specspeed 3 - times the amount of normal player speed that spectators move.

// Physics Settings
sv_gravity 800 - gravity.
sv_friction 4 - friction.
sv_airaccelerate 10 - air accelleration.
sv_stopspeed 75 - stop speed.
sv_stepsize 18 - size of each step.
sv_maxspeed 320 - maximum player foward speed.

// Rate Settings
sv_minrate 5000 - minimum send rate in server.
sv_maxrate 25000 - maximum send rate in server.
sv_minupdaterate 15 - minimum update rate in server.
sv_maxupdaterate 0 - maximum update rate in server (0 = infinite).
sv_unlag 1 - unlag players.
sv_maxunlag 1 - max unlag amount.

These are the main server.cfg variables. Some configs may have more or less, if
a variable is not defined here, it will be set to the default value.

More on server setup and config.


© 2005 Brian Mears