Server/Client Console Commands
i have compiled this guide of Server/client console commands that may be usefull to running any server. if you have any more console that i missed, just post them and i will put them up
Can a mod please pin this?
::BEGIN::
Guide:
<tags> = User Imputs
(brackets) = Simple command defeniton
Note: 1 always means on, and 0 alwas means off
server commands:
say <text> (allows you to chat in the game (eg: Console: bla bla bla )
changelevel <map name> (changes Map)
KICK <username> (dont make me explain this one)
KickID <number> <reason> (Kicks a player based on his/her number. Use "status" to get the player numbers)
addip <IP Address> (adds a IP to ban list)
MP_FLASHLIGHT <0, 1> (Toggles Flashlight)
SV_ALLTALK <0, 1> (a Voice chat function. 1 means everyone can hear someone talking, 0 means only your teammates can hear you)
SV_CHEATS <0, 1> (again, not explaining)
SV_LAN <0, 1> (tells the server to be either a Internet server (0) or a LAN server (1)
sv_footsteps <0, 1> (weather or not you hear footsteps)
mp_weaponstay <0, 1> (weather or not weapons stay on the gorund after falling)
mp_forcerespawn <0, 1> (Weather or not Force Respawn is enabled)
mp_autoteambalance <0,1> (not sure weather this is a CS:S command or not)
SF Server Commands: (Note: UPDATED FOR 1.9)
togglephase - switch between combat phase / build phase
addtime (seconds) - add specified number of seconds to current phase
(these two require sv_cheats 1)
sf_team_blocklimit - max blocks per team
sf_roundlimit - server will change levels after this number of combat phases
sf_scorelimit - server will change levels when a team scores this many points (N.B. a flag cap is 100pts)
sf_build_long_length - first build phase length
sf_build_short_length - other build phase lengths
sf_combat_length - combat phase length
(these are all in seconds)
sf_team_autoassign - force players to join smallest / losing team on connect
Client Commands
Kill (self Explanitory)
Bind <key> <command> (binds a key to a command (EG: Bind n kill will make it so if you press N, you kill yourself)
Name <name> (changes your Playername)
IMPULSE 200 (removes HUD and wepons, Usefull for screanshots))
Status (gives you the server's status. usefull for posting idiots to be banned)
::END::
If there are anymore, post them here, and i will add them
UPDATED
I updated this with the most recent commands.
|