Note: This is Rcon commands and cheat enabled commands!!
Console commands:
To insert the following codes, enable the console from the in-game options. Press ~ and type in "seta thereisacow 1337", pressing Enter thereafter. From here, type "spdevmap bog_a" and press Enter again. Then, you can insert the following cheats.
* cg_drawgun - Drop your gun
* cg_fov - Zoom with any gun
* cg_LaserForceOn 1 - Laser site with any gun
* demigod - God Mode (with shaking screen)
* give (item) - Acquire any item
* give all - Get any weapon
* give ammo - Full ammo
* god - God Mode (without screen shaking)
* jump_height # - Adjust gravity (39 is default)
* noclip - No Clipping
* notarget - Dumb AI
* r_fullbright - Brighter features
* timescale # - Adjust the time (1.00 is default)
* ufo - No Clipping (II)
* player_sustainammo 1 - No reload
Rcon commands:
First to login recon in game:
/recon login xxxxxxxxxx {your passowrd}
You can also edit your path on your pc for your exe
/rcon login password you can put the login in your shortcut target line as well.
"C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" +rcon login ***** +password **** +connect ***.**.***.*** * Is your server ip.
That will connect you with rcon logged into a private slot to a specific server. In general all of the basic rcon for the most part seems to be the same as in COD2. Don't forget that you have to hold the shift key down while pressing the ~ key to pull down the console.
/rcon say
/rcon status
/rcon clientkick #
/rcon banclient #
/rcon map_rotate
Here's some more information for those that are new to using rcon for the COD series.
Console Commands
You will have to put /rcon space then the command below for it to work. Remember to use the shift then ~
/map mapname
Loads the map specified by mapname.
/map_rotate
Loads next map in rotation set in sv_maprotation.
/serverinfo
Shows the current server's settings.
/map_restart
Restarts the map.
/kick [name]
Kicks a player by name from the server.
/clientkick [id]
Kicks a player by client id from the server.
/status
Displays info of all the players on the server.
/banUser [name]
Bans a user by their ingame name. Writes their GUID to ban.txt
/banClient [id]
Bans a user by their client number. Writes their GUID to ban.txt
/tempBanUser [name]
Kicks and temporarily bans player by name from server.
/tempBanClient [id]
Kicks and temporarily bans player by client id from server
/unban [name]
Unban every player banned with [name]. If you want to unban a single player whose name appears more than once, you should edit "ban.txt" manually.
/tell [id]
Sends private message to specified client id
Here's another version with more details.....
Kicking players
There are a few ways in which to kick players, but I'm only going to cover the easiest and best way to do so. It involves using the status and clientkick commands. I prefer using this method of kicking as it prevents you from having to type out a players name, which can be lengthy and difficult depending on the complexity of the name. In addition, the player could also change his/her name in mid command and then you'd be forced to re-type the new name. In other words, use the below described method.
Status displays a list of the people currently connected to the server, whether they're playing or spectators. It works as follows:
Example: /rcon status
The following is then displayed in your console:
Client ID Score Ping GUID Player Name IP Address
0 23 45 100000 zG| Timeout 208.100.48.138
1 13 65 100001 zG| timein 75.126.169.115
2 33 51 100002 zG| timeover 64.34.163.177
3 25 30 100003 teatime 208.100.48.143
4 21 32 100004 totaltime 208.100.10.232
5 12 100 100005 zG| timesaver 208.100.10.233
Once this is displayed, you simply find the player you wish to kick from the server and note their Client ID. You then use the command, clientkick, with the ID of the person, to boot them from the server. For this example, we will kick client #3 for being a bad little boy:
Example: /rcon clientkick 3
Banning Players
Banning players is done almost exactly the same as kicking them, just uses a different command. If you find that someone warrants banning, simply use the above status command to obtain the players client id, then use the either the tempbanclient or banclient commands.
Example: /rcon status
The following is then displayed in your console:
Client ID Score Ping GUID Player Name IP Address
0 23 45 100000 zG| Timeout 208.100.48.138
1 13 65 100001 zG| timein 75.126.169.115
2 33 51 100002 zG| timeover 64.34.163.177
3 25 30 100003 teatime 208.100.48.143
4 21 32 100004 totaltime 208.100.10.232
5 12 100 100005 zG| timesaver 208.100.10.233
Permanently Banning Players
Once this is displayed, you simply find the player you wish to ban from the server and note their Client ID. You then use the command, banclient, using the ID, to permanently boot the person from the server. For this example, we will kick client #3 for not getting the hint:
Example: /rcon banclient 3
Temporarily Banning Players
Temporarily banning players is a good way to get rid of annoying players that didn't really deserve and permanent ban but were not getting the hint in being kicked a few times. In our server config, I have sv_kickBanTime set to 3600 seconds, otherwise known as 1 hour. Using the above status info, temporarily banning client 4 would look like this:
Example: /rcon tempbanclient 4
UnBanning Players
UnBanning players is a little more complicated. There are currently 2 built-in ways to unban a player: 1) using the unBanUser command; 2) Connecting to your server via FTP and removing the player from the ban.txt file. If you banned players using 3rd party software, check with its user guide for info on unbanning.
Using the above example banned example, to remove the ban for joehacks, you would issue the following, matching the players name exactly:
Example: /rcon unbanuser joehacks.
~[E]Я4G3Я