CS SOURCE COMMADNS

.

Server Console Commands

These commands are server side. Another words only admins will be able to use them.

hostnameThe name of the server.
sv_passwordSet 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_maxvelocityMaximum speed any ballistic object is allowed to attain per axis. Default: 3500
sv_unlag <0/1>Enables player lag compensation. Default: 1

sv_voicecodecSpecifies 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_maxspeedMaximum 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_passwordSet 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_spawnprotectiontimeTime 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)
decalfrequencyAmount of time in seconds a player can spray their decal. Default: 10
sv_maxupdaterateMaximum updates per second that the server will allow. Default: 60
sv_minupdaterateMinimum 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_logsdirFolder 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_chatterControl 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_prefixPrefix 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_weaponsAllow bots to use all weapons. ‘bot_all_weapons’ is the value.
bot_knives_onlyAllow bots to use only knives. ‘bot_knives_only’ is the value.
bot_pistols_onlyAllow bots to use only pistols. ‘bot_pistols_only’ is the value.
bot_snipers_onlyAllow 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_regionGeographic 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_contactContact 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!)

  1. sv_cheats 1 – Enables cheats on the server.
  2. buddha –  Makes you survive if your health reaches on 1.
  3. noclip – Makes you fly around on the map.
  4. thirdperson – Enables the Third Person camera. (It makes your camera on your back.)
  5. 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.

  1. ent_create weapon_ak47 – Creates a AK-47 on the map.
  2. ent_create weapon_aug – Creates a AUG on the map.
  3. ent_create weapon_awp – Creates a AWP on the map.
  4. ent_create weapon_c4 – Creates a C4 on the map.
  5. ent_create weapon_deagle – Creates a Deagle on the map.
  6. ent_create weapon_elite – Creates The Beretta 92s on the map.
  7. ent_create weapon_famas – Creates a Famas on the map.
  8. ent_create weapon_fiveseven – Creates a Five-Seven on the map.
  9. ent_create weapon_flashbang – Creates a Flashbang on the map that players can pick up.
  10. ent_create weapon_g3sg1 – Creates a G3SG1 on the map.
  11. ent_create weapon_galil – Creates a Galil on the map.
  12. ent_create weapon_glock – Creates a Glock on the map.
  13. ent_create weapon_hegrenade – Creates a Frag Grenade on the map that players can pick up.
  14. ent_create weapon_knife – Creates a Knife on the map.
  15. ent_create weapon_m249 – Creates a FN M249 on the map.
  16. ent_create weapon_m3 – Creates a Benelli M3 on the map.
  17. ent_create weapon_m4a1 – Creates a M4A1 on the map.
  18. ent_create weapon_mac10 – Creates a MAC-10 on the map.
  19. ent_create weapon_mp5navy – Creates a MP5 on the map.
  20. ent_create weapon_p228 – Creates a P228 on the map.
  21. ent_create weapon_p90 – Creates a P90 on the map.
  22. ent_create weapon_scout – Creates a Stery Scout on the map.
  23. ent_create weapon_sg550 – Creates a SG550 on the map.
  24. ent_create weapon_sg552 – Creates a SG552 on the map.
  25. ent_create weapon_smokegrenade – Creates a Smoke Grenadethat players can pick up.
  26. ent_create weapon_tmp – Creates a TMP on the map.
  27. ent_create weapon_ump45 – Creates a UMP-45 on the map.
  28. ent_create weapon_usp – Creates a USP on the map.
  29. ent_create weapon_xm1014 – Creates a XM1014 on the map.
  30. ent_create weapon_itemdefuser – Creates a Defuser Kit on the map.
  31. 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:

  1. 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.

  1. mp_c4timer <Numbers 10 – 90 > – Changes the C4’s time. (For example: mp_c4timer 10 )
  2. 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:

  1. 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:

  1. 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:

  1. 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:

  1. 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..

Leave a Reply

Your email address will not be published. Required fields are marked *