.
Server Console Commands
These commands are server side. Another words only admins will be able to use them.
hostname | The name of the server. |
sv_password | Set server password. Leave blank to disable. |
mp_friendlyfire <0/1> | Turn on/off friendly fire. Default: off |
mp_footsteps <0/1> | Turn on/off footsteps. Default: on |
mp_autoteambalance <0/1> | Force clients to auto-join the opposite team if they are not balanced. Default: on |
mp_autokick <0/1> | Kick idle/team-killing players. Default: off |
mp_flashlight <0/1> | Turn on/off the ability for clients to use flashlight. Default: off |
mp_tkpunish <0/1> | Punish TK’ers on next round? Default: on |
mp_forcecamera <0/1> | Force dead players to first person mode, effectively disabling freelook. Default: off |
sv_alltalk <0/1> | Players can hear all other players, no team restrictions. Default: off |
sv_pausable <0/1> | Can the server be paused Default: 0 |
sv_consistency <0/1> | Force cleints to pass consistency check for critical files before joining server? Default: 0 |
sv_cheats <0/1> | Allow cheats on server. Default: 0 |
sv_gravity <0/1> | World Gravity Default: 800 |
sv_maxvelocity | Maximum speed any ballistic object is allowed to attain per axis. Default: 3500 |
sv_unlag <0/1> | Enables player lag compensation. Default: 1 |
sv_voicecodec | Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.. Default: vaudio_miles |
sv_hltv <0/1> | Enables HLTV on the server. Default: 0 |
sv_allowupload <0/1> | Allow clients to upload their custom decals to the server. Default: 1 |
sv_allowdownload <0/1> | Allow clients to download files. Default: 1 |
sv_maxspeed | Maximum speed a player can move. Default: 320 |
mp_limitteams <0-20> | Max # of players 1 team can have over another. Default: 2 |
mp_hostagepenalty <##> | How many hostages a Terrorist can kill before being kicked, 0 to disable. Default: 5 |
sv_voiceenable <0/1> | Allow clients to use mic. Default: 1 |
mp_allowspectators <0/1> | Allow spectators on the server. Default: 1 |
mp_chattime <0-120> | amount of time in seconds players can chat after the game is over. Lower value = faster map load change. Default: 10 |
sv_timeout <##> | After this many seconds without a message from a client, the client is dropped. Default: 65 |
Rcon Cvars | |
rcon_password | Set rcon passsword. Leave blank to disable rcon |
sv_rcon_banpenalty <mins> | Number of minutes to ban users who fail rcon authentication. Default: 0 |
sv_rcon_maxfailures <0-20> | Max number of times a user can fail rcon authentication before being banned. Default: 10 |
sv_rcon_minfailures <0-20> | Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned. Default: 5 |
sv_rcon_minfailuretime <1-seconds> | Number of seconds to track failed rcon authentications. Default: 30 |
Round Cvars | |
mp_freezetime <0-60> | Time in seconds to keep players frozen when the round starts. Default: 6 |
mp_roundtime <1-9> | How much time in minutes does a round last. Default: 5 |
mp_startmoney <800-16000> | Amount of money each player gets when they reset (16000 max) Default: 800 |
mp_c4timer <10-90> | The amount of time in seconds before bomb explodes after planted. Default: 45 |
mp_fraglimit <##> | Amount of frags a player can exceed before changing maps. Default: 0 |
mp_maxrounds <##> | Amount of round to play before server changes maps. Default: 0 |
mp_winlimit <0-20> | Max number of rounds one team can win before server changes maps. Default: 0 |
mp_playerid <0/1/2> | Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names. Default: 0 |
mp_spawnprotectiontime | Time in seconds to Kick players who team-kill after round restart. Default: 5 |
Bandwidth Rates | |
sv_minrate <0-25000> | Min bandwidth rate allowed on server. Default: 0 (unlimited) |
sv_maxrate <0-25000> | Max bandwidth rate allowed on server. Default: 0 (unlimited) |
decalfrequency | Amount of time in seconds a player can spray their decal. Default: 10 |
sv_maxupdaterate | Maximum updates per second that the server will allow. Default: 60 |
sv_minupdaterate | Minimum updates per second that the server will allow. Default: 10 |
Server logging | |
log <on/off> | Enable server logging? Default: off |
sv_logbans <0/1> | Log server bans in the server logs. Default: 0 |
sv_logecho <0/1> | Echo log information to the console. Default: 1 |
sv_logfile <0/1> | Log server information in the log file. Default: 1 |
sv_log_onefile <0/1> | Log server information to only one file. Default: 0 |
sv_logsdir | Folder in the game directory where server logs will be stored. |
Bots | |
bot_add | ‘bot_add’ is a value itself. Adding this to your server configuration will enable bots |
bot_quota <1-32> | Amount of bots to add. Adding many bots will use more cpu. Start with a few bots, then add more if needed. |
bot_quota_mode <normal/fill> | If ‘Fill’, the server will adjust bots to keep # players in the game, where # is bot_quota (from above) Default: Normal |
bot_difficulty <0/1/2/3> | Skill of bots. Values are: 0=easy, 1=normal, 2=hard, 3=expert. Default: 0 |
bot_chatter | Control how bots talk. Values: ‘off’, ‘radio’, ‘minimal’, or ‘normal’. Default: Normal |
bot_auto_follow <0/1> | Allow bots to automatically follow a human player. Default: 1 |
bot_auto_vacate <0/1> | Kick bots to automatically make room for human players. Default: 1 |
bot_join_after_player <0/1> | Bots must wait for a people to join before joining? If No, bots will play without people. Default: 1 |
bot_defer_to_human <0/1> | Can bots complete objectives if there are humans on a team? Default: 0 |
bot_prefix | Prefix for bot names. A prefix is a tag that bots will have in front of their name. you can enter your clan tag or leave blank. |
bot_allow_rogues <0/1> | bots may occasionally go ‘rogue’. Rogue bots do not obey radio commands, nor pursue scenario goals.. Default: 0 |
bot_walk <0/1> | The speed at which bots can move. 0=walk+run, 1=walk Default: 0 |
bot_join_team <any/T/CT> | What teams are bots allowed to join? Default: any |
bot_eco_limit <0-16000> | Bots will not buy if their money falls below this amount. Default: 2000 |
Bot Weapon Restriction | |
bot_all_weapons | Allow bots to use all weapons. ‘bot_all_weapons’ is the value. |
bot_knives_only | Allow bots to use only knives. ‘bot_knives_only’ is the value. |
bot_pistols_only | Allow bots to use only pistols. ‘bot_pistols_only’ is the value. |
bot_snipers_only | Allow bots to use only sniper rifles. ‘bot_snipers_only’ is the value. |
bot_allow_grenades <0/1> | Allow bots to use grenades. Default: 1 |
bot_allow_pistols <0/1> | Allow bots to use pistols. Default: 1 |
bot_allow_sub_machine_guns <0/1> | Allow bots to use sub machine guns. Default: 1 |
bot_allow_shotguns <0/1> | Allow bots to use shotguns. Default: 1 |
bot_allow_rifles <0/1> | Allow bots to use rifles. Default: 1 |
bot_allow_snipers <0/1> | Allow bots to use sniper rifles. Default: 1 |
bot_allow_machine_guns <0/1> | Allow bots to use machine guns. Default: 1 |
Operation | |
sv_lan <0/1> | 0=Public/LAN, 1=LAN Default: 0 |
sv_region | Geographic location of the server. -1 World 0 US East coast 1 US West coast 2 South America 3 Europe 4 Asia 5 Australia 6 Middle East 7 Africa |
sv_contact | Contact email for server sysop |
In CSS, you can use Developer Console for execute Commands and Have Fun with sv_cheats 1
.
So, here i’m going to show you some developer console commands in CS:S.
(And Them need sv_cheats 1 to work!)
- sv_cheats 1 – Enables cheats on the server.
- buddha – Makes you survive if your health reaches on 1.
- noclip – Makes you fly around on the map.
- thirdperson – Enables the Third Person camera. (It makes your camera on your back.)
- firstperson – Enables the First Person camera. (It resets the camera to normal if you use thirdperson.
Okay, that was SOME Commands of Developer Console..
Now, Time to some possible entities in CS:S.
- ent_create weapon_ak47 – Creates a AK-47 on the map.
- ent_create weapon_aug – Creates a AUG on the map.
- ent_create weapon_awp – Creates a AWP on the map.
- ent_create weapon_c4 – Creates a C4 on the map.
- ent_create weapon_deagle – Creates a Deagle on the map.
- ent_create weapon_elite – Creates The Beretta 92s on the map.
- ent_create weapon_famas – Creates a Famas on the map.
- ent_create weapon_fiveseven – Creates a Five-Seven on the map.
- ent_create weapon_flashbang – Creates a Flashbang on the map that players can pick up.
- ent_create weapon_g3sg1 – Creates a G3SG1 on the map.
- ent_create weapon_galil – Creates a Galil on the map.
- ent_create weapon_glock – Creates a Glock on the map.
- ent_create weapon_hegrenade – Creates a Frag Grenade on the map that players can pick up.
- ent_create weapon_knife – Creates a Knife on the map.
- ent_create weapon_m249 – Creates a FN M249 on the map.
- ent_create weapon_m3 – Creates a Benelli M3 on the map.
- ent_create weapon_m4a1 – Creates a M4A1 on the map.
- ent_create weapon_mac10 – Creates a MAC-10 on the map.
- ent_create weapon_mp5navy – Creates a MP5 on the map.
- ent_create weapon_p228 – Creates a P228 on the map.
- ent_create weapon_p90 – Creates a P90 on the map.
- ent_create weapon_scout – Creates a Stery Scout on the map.
- ent_create weapon_sg550 – Creates a SG550 on the map.
- ent_create weapon_sg552 – Creates a SG552 on the map.
- ent_create weapon_smokegrenade – Creates a Smoke Grenadethat players can pick up.
- ent_create weapon_tmp – Creates a TMP on the map.
- ent_create weapon_ump45 – Creates a UMP-45 on the map.
- ent_create weapon_usp – Creates a USP on the map.
- ent_create weapon_xm1014 – Creates a XM1014 on the map.
- ent_create weapon_itemdefuser – Creates a Defuser Kit on the map.
- ent_create hostage_entity – Spawns a Hostage on the map.
BUT..
You can change your weapon entity’s ammo too!
You Just Need to:
For Example:
- ent_create weapon_ak47 ammo 999 – Creates a AK-47 on the map with 999 ammo.
ammo <integer>
Amount of reserve ammo to be added. Fallback value is 0. !FGDBut that doesn’t work with grenades and c4..
And Now, Some CSS Commands.
- mp_c4timer <Numbers 10 – 90 > – Changes the C4’s time. (For example:
mp_c4timer 10
) - mp_timelimit – Changes Next Map time. (if 0, will disable Next Map time.)
Now, showtriggers_toggle.
showtriggers_toggle
?, Lemme Explain.
showtriggers_toggle Is a developer console command, It shows all triggers entities on the map. (Affects ALLPlayers.)
For Example:
- showtriggers_toggle – Shows all Triggers on the map.
Here how it looks like in-game.
showtriggers_toggle in action.
Now, nav_edit
.
nav_edit
?, Lemme Explain.
nav_edit Is a developer console command, It is useful for show Navigation Mesh on the map.
For Example:
- nav_edit 1 – Shows Navigation Mesh on the map.
Here how it looks like in-game.
nav_edit in action.
Now, func_bomb_target
.
func_bomb_target?, Lemme Explain.
An invisible brush-based entity used to mark where the bomb can be planted. If a Terrorist is inside the func_bomb_target, then they can plant the bomb. The radar will automatically label a func_bomb_target as either “A” or “B”. The first created ‘func_bomb_target will be “A” and the second will be “B”.
For Example:
- ent_create func_bomb_target model *5 targetname bomb01 – Creates a
func_bomb_target
.
Here how it looks like in-game.
A func_bomb_target in action. It allows players to plant C4 on that brush entity.
Now, func_hostage_rescue.
func_hostage_rescue?, Lemme Explain.
func_hostage_rescue
is a brush entity that marks an area at which hostages may be saved. It is not rendered. The trigger texture is appropriate to use on this entity’s brushwork. Many instances of this entity may be used in a map.
For Example:
- ent_create func_hostage_rescue model *5 targetname rescue01 – Creates a
func_hostage_rescue
.
Here how it looks like in-game.
A func_hostage_rescue in action. If a hostage touch that brush entity, The hostage will be rescued.
Alright, that was not all the CS:S Developer console commands..