Difference between revisions of "Console/Commands"
(Added list of client-side commands.) |
m (Sortable tables.) |
||
| Line 1: | Line 1: | ||
| − | {| class="wikitable" | + | {| class="sortable wikitable" |
|- | |- | ||
!Command | !Command | ||
| Line 562: | Line 562: | ||
Client-side commands: | Client-side commands: | ||
| − | {| class="wikitable" | + | {| class="sortable wikitable" |
|- | |- | ||
!Command | !Command | ||
Revision as of 23:07, 25 October 2018
| Command | Source | Category | Cheat | Description |
|---|---|---|---|---|
| rebuildsoundcachefile | ||||
| reloadadminlist | ||||
| kicksteamid | ||||
| clearvotemaplist | ||||
| removevotemap | ||||
| addvotemap | ||||
| voteban_show | ||||
| voteban_remove | ||||
| voteban_remove_all | ||||
| as_dumphooks | Server | Angelscript | ||
| as_fs_quota_usage | Server | Angelscript | ||
| as_fs_validate_file_usage | Server | Angelscript | ||
| as_fs_dumpfilesystem | Server | Angelscript | ||
| as_fs_output_openfile | Server | Angelscript | ||
| as_reloadplugin | Server | Angelscript | ||
| as_reloadplugins | Server | Angelscript | ||
| as_removeplugin | Server | Angelscript | ||
| as_removeplugins | Server | Angelscript | ||
| as_execute | Server | Angelscript | ||
| as_commandstats | Server | Angelscript | ||
| as_command | Server | Angelscript | ||
| as_removeallcommands | Server | Angelscript | ||
| toggle_classic_mode | Server | |||
| log_commands | ||||
| toggle_survival_mode | Server | |||
| string_memusage | ||||
| appenddemo | ||||
| cl_messages | ||||
| connect | ||||
| disconnect | ||||
| endmovie | ||||
| entities | ||||
| fullserverinfo | ||||
| gamedir | ||||
| gg | ||||
| httpstop | ||||
| list | Engine | Networking | print list of local servers to the console; use slist to search for servers | |
| listdemo | ||||
| pingservers | ||||
| playdemo | Engine | Demo | play a demo; Usage: playdemo <demo_name> | |
| rcon | ||||
| record | Engine | Demo | start recording a demo, see stop; usage: record <demo_name> | |
| removedemo | ||||
| retry | ||||
| screenshot | Engine | Rendering | take a screenshot (TGA) | |
| setdemoinfo | ||||
| slist | Engine | Networking | search for local servers; use list to print the list | |
| snapshot | Engine | Rendering | take a screenshot (BMP) | |
| spec_pos | ||||
| startmovie | ||||
| stop | Engine | Demo | stop recording a demo, see record | |
| swapdemo | ||||
| timedemo | ||||
| upload | ||||
| voice_showbanned | ||||
| invprev | Client | HUD, Weapon Selection | select previous weapon | |
| invnext | Client | HUD, Weapon Selection | select next weapon | |
| cancelselect | Client | HUD, Weapon Selection | cancel weapon selection | |
| slot10 | Client | HUD, Weapon Selection | select weapon group 10 (or menu item 10) | |
| slot9 | Client | HUD, Weapon Selection | select weapon group 9 (or menu item 9) | |
| slot8 | Client | HUD, Weapon Selection | select weapon group 8 (or menu item 8) | |
| slot7 | Client | HUD, Weapon Selection | select weapon group 7 (or menu item 7) | |
| slot6 | Client | HUD, Weapon Selection | select weapon group 6 (or menu item 6) | |
| slot5 | Client | HUD, Weapon Selection | select weapon group 5 (or menu item 5) | |
| slot4 | Client | HUD, Weapon Selection | select weapon group 4 (or menu item 4) | |
| slot3 | Client | HUD, Weapon Selection | select weapon group 3 (or menu item 3) | |
| slot2 | Client | HUD, Weapon Selection | select weapon group 2 (or menu item 2) | |
| slot1 | Client | HUD, Weapon Selection | select weapon group 1 (or menu item 1) | |
| teammenu | ||||
| ForceCloseCommandMenu | ||||
| +commandmenu | ||||
| +inventory | ||||
| inventory | ||||
| npc_moveto | ||||
| missionbriefing | ||||
| servermotd | ||||
| uzi_gilded | ||||
| vgui_closeall | ||||
| vgui_votemap | ||||
| votemenu | ||||
| RelPls | Client | HUD, Media player | reload playlist | |
| DecVol | Client | HUD, Media player | decrease media player volume | |
| IncVol | Client | HUD, Media player | increase media player volume | |
| MediaPlayer | Client | HUD, Media player | open media player | |
| PlayMedia | Client | HUD, Media player | play song | |
| StopSong | Client | HUD, Media player | stop song | |
| RandomSong | Client | HUD, Media player | random song | |
| LastSong | Client | HUD, Media player | last song | |
| NextSong | Client | HUD, Media player | next song | |
| MediaTime | Client | HUD, Media player | ||
| MEDIAHUD | Client | HUD, Media player | ||
| PauseSong | Client | HUD, Media player | pause song | |
| Fog | ||||
| centerview | ||||
| joyadvancedupdate | ||||
| force_centerview | ||||
| cam_toggle_followaim | ||||
| snapto | ||||
| +camdistance | ||||
| +cammousemove | ||||
| firstperson | ||||
| thirdperson | ||||
| +camout | ||||
| +camin | ||||
| +camyawright | ||||
| +camyawleft | ||||
| +campitchdown | ||||
| +campitchup | ||||
| cl_flushsoundcache_force | ||||
| cl_flushsoundcache | ||||
| cl_stopsound | Client | Sound | ||
| +break | Client | Unused: This command has no effect. | ||
| +graph | Client, Engine | HUD, Network graph | show network graph (mode 2) | |
| +showscores | Client | HUD | show the scoreboard | |
| +score | Client | HUD | show the scoreboard | |
| +alt1 | Client | Controls | tertiary attack | |
| +reload | Client | Controls | reload current weapon | |
| +duck | Client | Controls | duck | |
| +jlook | Client | Controls | ||
| +mlook | Client | Controls | ||
| +klook | Client | Controls | ||
| impulse | Client | * | See Impulse commands. | |
| +jump | Client | Controls | jump | |
| +use | Client | Controls | ||
| +attack2 | Client | Controls | secondary attack | |
| +attack | Client | Controls | primary attack | |
| +speed | Client | Controls | walk | |
| +moveright | Client | Controls | ||
| +moveleft | Client | Controls | ||
| +strafe | Client | Controls | ||
| +lookdown | Client | Controls | ||
| +lookup | Client | Controls | ||
| +back | Client | Controls | move backward | |
| +forward | Client | Controls | move forward | |
| +right | Client | Controls | turn right | |
| +left | Client | Controls | turn left | |
| +movedown | Client | Controls | ||
| +moveup | Client | Controls | ||
| condump | ||||
| +voicerecord | ||||
| _refresh | Engine | System | ||
| _restart | Engine | System | ||
| _set_vid_level | Engine | System | ||
| _setaddons_folder | Engine | System | ||
| _setgamedir | Engine | System | ||
| _sethdmodels | Engine | System | ||
| _setrenderer | Engine | System | ||
| _setvideomode | Engine | System | ||
| addip | ||||
| alias | ||||
| autosave | ||||
| banid | ||||
| bind | ||||
| cd | Engine | Sound | control CD/MP3 player. Usage: cd on - no effect??? | |
| changelevel | ||||
| changelevel2 | ||||
| clear | ||||
| cmd | ||||
| cmdlist | ||||
| condebug | ||||
| contimes | ||||
| cvarlist | ||||
| delta_clear | ||||
| delta_stats | ||||
| demos | ||||
| dlfile | ||||
| dropclient | ||||
| echo | ||||
| envmap | ||||
| escape | ||||
| exec | ||||
| exit | Engine | System | quit game or server without confirmation | |
| flush | ||||
| fly | Engine | Developer | Yes | Changes player's move type to MOVETYPE_FLY. Obsolete: This command doesn't work correctly in GoldSrc/Svengine. Use cl_noclip instead. |
| fs_dump_paths | Engine | Filesystem | ||
| fs_warning_level | Engine | Filesystem | ||
| fullinfo | ||||
| fullupdate | ||||
| gl_dump | Engine | Rendering | ||
| gl_dumpaamodes | Engine | Rendering | ||
| gl_info | Engine | Rendering | ||
| gl_texels | Engine | Rendering | ||
| gl_texturemode | Engine | Rendering | ||
| god | Engine | Developer | Yes | toggle god mode. Makes the player invincible when enabled. Obsolete: Use cl_godmode instead. |
| heartbeat | ||||
| hideconsole | ||||
| hpkextract | ||||
| hpklist | ||||
| hpkremove | ||||
| hpkval | ||||
| interp | ||||
| kick | ||||
| kill | ||||
| listid | ||||
| listip | ||||
| load | ||||
| localinfo | ||||
| log | ||||
| logaddress | ||||
| logaddress_add | ||||
| logaddress_del | ||||
| logaddress_list | ||||
| map | ||||
| maps | ||||
| maxplayers | ||||
| mcache | ||||
| messagemode | ||||
| messagemode2 | ||||
| motd | ||||
| motd_write | ||||
| mp3 | ||||
| new | ||||
| noclip | Engine | Developer | Yes | toggle clipping mode. When clipping disabled (noclip active), you can walk through walls and fly. Requires sv_cheats 255 in multiplayer. Obsolete: Use cl_noclip instead. |
| notarget | Engine | Developer | Yes | toggle notarget mode. NPCs will ignore the player when enabled.
Obsolete: Use cl_notarget instead. |
| pause | Engine | Game | pause game; Requires pausable 1. | |
| ping | ||||
| play | ||||
| playvol | ||||
| pointfile | ||||
| quit | Engine | System | quit game or server without confirmation | |
| reconnect | ||||
| reload | ||||
| removeid | ||||
| removeip | ||||
| resetrcon | ||||
| restart | ||||
| save | ||||
| say | ||||
| say_team | ||||
| sendents | ||||
| sendres | ||||
| serverinfo | ||||
| setinfo | ||||
| setmaster | ||||
| setpause | ||||
| showinfo | ||||
| shutdownserver | ||||
| skybox | ||||
| soundfade | ||||
| soundinfo | ||||
| soundlist | ||||
| spawn | ||||
| speak | ||||
| spk | ||||
| startdemos | Engine | Demo | ||
| stat | ||||
| stats | ||||
| status | ||||
| stopdemo | Engine | Demo | stop playing a demo | |
| stopsound | ||||
| stuffcmds | ||||
| tell | ||||
| timerefresh | ||||
| toggleconsole | ||||
| unbind | ||||
| unbindall | ||||
| unpause | ||||
| user | ||||
| users | ||||
| version | ||||
| wait | ||||
| waveplaylen | ||||
| writecfg | ||||
| writeid | ||||
| writeip |
Client-side commands:
| Command | Source | Category | Cheat | Description |
|---|---|---|---|---|
| say | Client | |||
| say_team | Client | |||
| medic | Client | |||
| heal | Client | |||
| grenade | Client | |||
| takecover | Client | |||
| gibme | Client | Let players gib themselves | ||
| hurtme | Client | Let players hurt themselves (Internal builds only) | ||
| stuck | Client | |||
| unstuck | Client | |||
| unstick | Client | Allow alive players to free themself from inside a door/wall/whatever, limited distance | ||
| inventorylist | Client | Inventory | ||
| dropitem | Client | Inventory | ||
| npc_return | Client | NPC | ||
| npc_findcover | Client | NPC | ||
| npc_attackmytarget | Client | NPC | ||
| npc_moveto | Client | NPC | ||
| cl_entitycount | Client | |||
| cl_precachecount | Client | |||
| mapname | Client | |||
| mapinfo | Client | |||
| nextmap | Client | |||
| myinfo | Client | |||
| thatinfo | Client | Yes | ||
| playlist | Client | |||
| time | Client | |||
| timeleft | Client | |||
| gametext | Client | (debug builds only) | ||
| time | Client | (debug builds only) | ||
| monster_status | Client | Yes | impulse 103 | |
| giveall | Client | Yes | impulse 101 | |
| frametime | Client | |||
| give | Client | Yes | ||
| givepoints | Client | Yes | ||
| trigger | Client | Yes | ||
| ent_trigger_ahead | Client | Yes | ||
| ent_name_ahead | Client | Yes | Get the name of the entity i'm looking at, if any. | |
| ghost | Client | Yes | ||
| godmode | Client | Yes | ||
| cl_noclip | Client | Yes | ||
| cl_notarget | Client | Yes | ||
| cl_nonsolid | Client | Yes | ||
| cl_invisible | Client | Yes | Invisibility | |
| teleport | Client | Yes | ||
| reviveme | Client | Yes | ||
| healme | Client | Yes | ||
| chargeme | Client | Yes | ||
| activeidle | Client | |||
| toggleextras | Client | |||
| drop | Client | |||
| dropammo | Client | |||
| dropsecammo | Client | drop secondary ammo | ||
| fov | Client | Yes | ||
| use | Client | |||
| weapon_ | Client | |||
| lastinv | Client | |||
| nav_generate | Client | (unused) | ||
| submitid | Client | |||
| stuck_kill | Client | |||
| nodepath | Client | |||
| create | Client | Yes | ||
| create_grunt | Client | Yes | ||
| remove | Client | Yes | remove entity by targetname | |
| concuss | Client | Yes | ||
| showextras | Client | |||
| getextras | Client | |||
| debug | Client | Yes | (debug builds only) | |
| debug_getgroundtexinfo | Client | Yes | Gets info from the current ground texture the player is standing on. (debug builds only) |