Talk:Console Command List

From Valve Developer Community
Jump to: navigation, search

should the Console Command List include Console Variables also?—ts2do (Talk | @) 23:30, 4 Jan 2006 (PST)

The currently listed commands are for Half-Life 2 single player, right? --Pizzahut 09:40, 5 Jan 2006 (PST)

I would like to know in what way you'd like this article cleaned up. I'd like to scrap this list by turning it into several smaller pages under the Console Commands and Console Variables sub-categories. It will take some time, but I might find the energy to do it. --Andreasen 17:41, 14 Feb 2006 (PST)

I really don't think this is a very helpful documented list...instead of having a full list of'd make more sense to have specific articles on a set of Advanced Crosshair ConVarsts2do 18:25, 14 Feb 2006 (PST)

Yes, that page looks beautiful. We'll see if I can find the time to start converting. Working at converting a tutorial right now. --Andreasen 20:09, 14 Feb 2006 (PST)
I'm glancing over this page once more and would want to know how we would divide it. Are we going to do it alphabetically, and make an "ai_" page with all the ai_* or perhaps the ai* commands/variables, or are we going with topic categories, with all the commands controlling the ai, like making an "AI CVars" page? I'm voting for the topic categories, tough this ironically means that I won't be able to categorize this, knowing nothing about these commands. With topic categories, things like "addip", "writeip" and "writeid" end up in the same "ban" category. --Andreasen 04:30, 19 Feb 2006 (PST)

it also would be a good idea to make redirect for each cvar listed in the articles—ts2do 20:19, 14 Feb 2006 (PST)

You mean a page for each cvar, so that you can type them in the search box? Good idea, but just so you know, that's gonna be a looot of pages to create - will probably spam up the "Recent changes" page. --Andreasen 04:30, 19 Feb 2006 (PST)

so? that's what happened with my Steam Resource Map image uploading—ts2do 08:43, 19 Feb 2006 (PST)

Yes, but that was a very small amount of pictures compared to this entire list. I'm not telling you not to do it. I'm perhaps telling you to see if these pages can be automatically created OUTSIDE of the "Recent changes" list somehow, with the aid of some admin here. --Andreasen 23:45, 19 Feb 2006 (PST)
The list currently has 1817 items, by my count; I don't think separate per-item pages would be a realistic goal. Functional grouping sounds good.--WatercoolerWarrior 20:34, 22 Feb 2006 (PST)
Yeah, functional grouping is the only way this can be properly organised and still remain easily readable.--JamesHarrison 07:55, 5 Sep 2006 (PDT)

Updated list of sv_ variables and the last extract from all server console commands.--KillahInstinct 10:28, 6 Jun 2007 (PDT)

Category Suggestions


In order to prepare for groupings, we could suggest which commands belong together here, and what the group is going to be titled.

After having created a group and transfered the list of commands/variables with their descriptions there, we could reroute the pages of these commands to the group page, and have the description in the Console Command List say for instance: "See Player Keys."

For a layout of a group page, see Advanced Crosshair ConVars, but we could also add which game the commands/variables are for, if it differs, like something like I've seen somewhere else (and can't remember at the moment).

Ban System Control

IP Ban ConCommands

Add an IP address to the ban list.
Remove an IP address from the ban list.
List IP addresses on the ban list.
Save the ban list to banned_ip.cfg.

ID Bans ConCommands

Add a user ID to the ban list.
Remove a user ID from the ban list.
Lists banned users.
Writes a list of permanently-banned user IDs to banned_user.cfg.

Ban ConVars

Default value: 0
Set packet filtering by IP mode.
Default value: 1
Number of minutes to ban users who fail rcon authentication.
Default value: 0
Max number of times a user can fail rcon authentication before being banned.
Default value: 10
Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned.
Default value: 5
Number of seconds to track failed rcon authentications.
Default value: 30

Player Keyboard Control Commands

Any command that that can be bound to a key through the Keyboard tab in the games in-game settings. Most of these are +/- commands.

+/- commands in general are typically bound to keys, using the bind command.

Any commands with "+" in front of it, is activated immediately as the key bound to it is pressed down. Every "+" command has an identical "-" command twin that is activated when that key is released again, which is implied in this list.

The list below includes ALL the +/- commands I found in the list, some of which doesn't belong in this category, but as I don't know which keys can be set with the Keyboard tab, I included them all. Their functions are verified (and most of these descriptions hasn't been written in the big list), but the sub-categories I placed them in is made up and they should be structured according to the categories they are under in the in-game settings.

Edited with the help of these lists: Customizing Options: Keyboard

Bind Commands

Bind a key.
Unbind a key.
Unbind all keys.

Movement keys

Makes player strafe left.
Default key: a
Makes player strafe right.
Default key: d
Makes player move forward.
Default key: w
Makes player move backward.
Default key: s
Makes player turn left.
Makes player turn right.
Makes player swim up.
Makes player swim down.
Keyboard strafe modifier.
Makes player walk (slow) instead of run.
Default key: <Alt>

Action keys

Makes player fire his primary attack.
Default key: <Left Mouse Button>
Makes player fire his secondary attack.
Default key: <Right Mouse Button>
Makes player reload his current weapon.
Default key: r
Makes player use.
Default key: e
Makes player crouch.
Default key: <Ctrl>
Makes player jump.
Default key: <Space>
Activates player HEV suit sprint boost.
Default key: <Shift>
Activates player HEV suit zoom.
Default key: z

Other keys

Default key: <Escape>
Show/hide the console.
Default key: `
impulse 50
Makes player command (call/send) a squad.
Default key: c
impulse 100
Toggles the flashlight on/off for the player.
Default key: f
Open weapon selection category 1 for the player.
Default key: 1
Open weapon selection category 2 for the player.
Default key: 2
Open weapon selection category 3 for the player.
Default key: 3
Open weapon selection category 4 for the player.
Default key: 4
Open weapon selection category 5 for the player.
Default key: 5
Open weapon selection category 6 for the player.
Default key: 6
Open weapon selection category 7 for the player.
Default key: 7
Selects the previous weapon for the player.
Default key: <Mouse Wheel Up>
Select the next weapon for the player.
Default key: <Mouse Wheel Down>
Switches to the last weapon used by the player.
Default key: q
Swap between the gravity gun and the current weapon.
Default key: g
Takes a jpeg screenshot: jpeg <filename> <quality 1-100>.
Default key: <F5>
Pauses the game.
Default key: <Pause>

Look keys

Keyboard look modifier.
Makes player look down.
Makes player look up.

Strange key(?) stuff

A useful debugging tool for viewing materials and fonts being used by the game
Toggle a box containing memory usage by groups such as world textures, model textures, physics etc


The number of commands that requires sv_cheats 1 is too many to have its own category. However, this category could contain any command that is commonly used to provide an unfair advantage:

"God Mode" - Player becomes invincible. Type again to turn off.
impulse 101
See impulse.
Toggle. Player becomes non-solid and flies. Useful for developers and players that has gotten physically stuck.
Toggle. Player takes damage but won't die. (Shows red cross when health is zero.)
give <entity name> Give the player the item, weapon or asset stated.

Most of these are currently listed under sv_cheats, but most of these commands apparently doesn't require the sv_cheats command to be enabled (according to this list).

Progress Saving/Loading

Saves current game.
save quick - Quicksave game. Default key: <F6>
Load a saved game.
load quick - Load the latest quicksave. Default key: <F9>
Reload the most recent saved game (add setpos to jump to current view position on reload).
Restart the game on the same level (add setpos to jump to current view position on restart).
Set to 1 to save game on level transition. Does not affect autosave triggers. Default value: 1
Saves game for current level only.

Sound Emitter System

Play or stop a cd track.
Cd sound playback volume.
Default value: 1

(Counter-Strike: Source only.) Starts the Valve MP3 Player.

Occluder Debug System

(This list is from func_occluder. The debugging commands should be moved from that article and referred to.)

Show the occlusion proxies.
Prevents occlusion testing for entities that take up more than X% of the screen. 0 means use whatever the level said to use.
Prevents this occluder from being used if it takes up less than X% of the screen. 0 means use whatever the level said to use.
Activate/deactivates spew about what the occlusion system is doing.
At least this many occluders will be used, no matter how big they are.
Activate/deactivate the occlusion system.
Activate/deactivate wireframe rendering of what the occlusion system is doing.

Links that include more console commands/variables

I suggest merging the descriptions of these commands into seperate pages.

Updated list of sv_ variables and the last extract from all server console commands.

Recent changes done to the article

The changes made to the article to list commands by starting letter, which somebody created new pages for, would be much better done by simple linking them to the same page and using # symbols. This reduces page amounts, and cleans up the page and the wiki. Solokiller 04:12, 21 Nov 2007 (PST)

New pages for game specific commands

I really think it would be great if there were sub-sections of the console list to include games that have their own unique commands, as well as list which general source commands are unavailable in those games.

Team Fortress 2, Left 4 Dead, and Left 4 Dead 2 all have a lot of their own, unique commands as well as having many general commands de-listed.

The Cool Side of the Pillow 04:18, 4 January 2010 (UTC)

Red links

Personally, I think most of the console commands don't need their own page for an explanation. Some of them are self-explanatory and can be described in the description box next to them in the table. It may be just me, though. I hate seeing red links, especially for commands that only need two sentences of information. —Mattshu 22:33, 9 September 2011 (PDT)

Missing CVar: host_thread_mode

I was asked what "host_thread_mode" means, but I have no idea, and no Server to try out, yet. --Rautamiekka 11:10, 4 May 2013 (PDT)

Solved, why command list didn't updated in Console Command List page.

I updated /D list but it didn't show in main page anymore.
So I just made little edit in main page and saved, it worked. --Bacardi (talk) 09:24, 4 October 2017 (UTC)

Not everything needs its own page

A lot of these commands either link to pages that don't exist, or link to stub pages with short descriptions. For these more trivial commands, why not just have all the description in the table? That's what this page is for... I think Mattshu pointed this out in a previous section. --Stract (talk) 16:27, 14 July 2018 (UTC)

I agree but I think the information about the commands should be included on the page they're relevant to (like areaportal-related commands going on the areaportals page) or if there's a LOT, make them into their own page like Gel-related console commands. I don't think people use these pages for info. Honestly they're just so big and cluttered it's kind of hard. Pinsplash (talk) 16:40, 14 July 2018 (UTC)
Yes, I was mostly speaking regarding trivial commands that require or have little explanation. --Stract (talk) 16:42, 14 July 2018 (UTC)
Yeah, for something like jpeg_quality, it's fine here. Pinsplash (talk) 16:50, 14 July 2018 (UTC)

This is an impartial list of " Console Commands ". Steam console commands are missing from this section.

Subject says it all.

I bet hardly anyone knows that Steam has a console too.

Yet where is the command list for that?
I have figured out some. Valve never released a list though.

Hmm... I see this page editor is basically an HTML format editor.
Side note: Only the thumbnail can be seen. Dont click, Valve has bugs.
Side note: Who uses mediawiki>Phabricator as a HTML editor? Ewww...
VALVE STAFF NOTE: Effective June 1, 2021: Phabricator is no longer actively maintained.
VALVE STAFF NOTE: Time to find a new editor, and convert this outdated wiki editor.
--StealthMode (talk) 04:58, 20 November 2022 (PST)

Got Console?