Server Administration: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
Line 41: Line 41:


==Rcon Commands==
==Rcon Commands==
*Commonly Used Commands
{| WIDTH=100% BORDER=1 BORDERCOLOR="#000000" CELLPADDING=4 CELLSPACING=3
{| WIDTH=100% BORDER=1 BORDERCOLOR="#000000" CELLPADDING=4 CELLSPACING=3
|-
|-
Line 98: Line 100:
server's main directory)
server's main directory)
|}
|}
*Other Commonly Used Commands
{| WIDTH=100% BORDER=1 BORDERCOLOR="#000000" CELLPADDING=4 CELLSPACING=3
|-
||Task
||Usage
||Example
||Description
|-
||Change Gametype
||/rcon g_gametype type
||/rcon g_gametype koth
||Sets gametype. Requires a map restart
to take effect.
|-
||Auto Team Balancing
||/rcon scr_teambalance [0-1]
||/rcon scr_teambalance 1
||Force team balance off (0), on (1)
|-
||Friendly Fire
||/rcon scr_team_fftype [0-3]
||/rcon scr_team_fftype 1
||FF off (0), on (1), reflect (2),
shared (3)
|-
||Spectate Type
||/rcon scr_game_spectatetype [0-2]
||/rcon scr_game_spectatetype 2
||Disabled (0), Team/Players Only (1),
Free (2)
|-
||Kill Camera
||/rcon scr_game_allowkillcam [0-1]
||/rcon scr_game_allowkillcam 1
||Force killcam off (0), on (1)
|-
||Private Chat to Player
||/rcon tell [client #] [message]
||/rcon tell 3 Hello Player
||Sends private message to a player.
|-
||Chat Via Console
||/rcon say [message]
||/rcon say Hello Player
||Messages are shown in game preceded
by console:
|}
*Kick and Ban Commands

Revision as of 13:13, 15 October 2008

Server Administration

Logging Into Rcon

The rcon password is set in the server.cfg file, you must first login to rcon on the server before you can issue admin commands. Join your server and open the console with the tilde key (~). Type in '/rcon login yourpassword' (without the quotes) and hit Enter. Note: Always use, and never forget, the forward slash "/" when logging in or you will broadcast your rcon password to the other players on the server. Note: To expand console to full screen, hold down Shift and hit the tilde (~) key.

Custom Desktop Shortcut

This creates a custom shortcut directly to your server, gives you rcon, and puts you in a private slot if you have that configured in your server.cfg.

Right click your MP desktop shortcut and choose Copy. Right click your desktop and choose Paste. Right click your new shortcut and choose Rename. Rename it to w/e you want it to be called. Right click the shortcut and choose Properties. In the Target field you will see this:

"C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" 

At the very end, after the quote mark, click there so you have a blinking cursor, then hit space one time.

Copy this and paste it in:

+rcon login ***** +password ***** +connect xxx.xxx.xxx.xxx:28960" 

It should look like this when done:

"C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" 
+rcon login ***** +password ***** +connect xxx.xxx.xxxx:28960" 
 NOTES
Replace the *****'s with your passwords for rcon and private slot. 
Replace the x's with your server IP. 
This will take you right into the server with the last profile you selected in multiplayer. 
Also note that you can edit in the IP and Port and share this as is, the rcon and password 
settings will be ignored.

Rcon Commands

  • Commonly Used Commands
Task Usage Example Description
Logging in to rcon /rcon login password /rcon login superdude Gives player administrative rights on server.
Display Server Information /rcon serverinfo /rcon serverinfo Shows the current server settings.
Display System Information /rcon systeminfo /rcon systeminfo Shows the current System Information.
Display Player Information /rcon status /rcon status Displays info for all players on the server.
Change a Map /rcon map map_name /ron map mp_crash Loads the map specified by mapname.
Rotate to Next Map /rcon map_rotate /rcon map_rotate Loads next map in rotation.
Reload a Map /rcon map_restart /rcon map_restart Restarts round. Any gametype and round limit

setting changes will take effect.

Fast Restart a Map /rcon fast_restart /rcon fast_restart Restarts the current map.
Execute a Config /rcon exec filename.cfg /rcon exec rifles.cfg Executes a Server Config File
(located in your

server's main directory)

  • Other Commonly Used Commands
Task Usage Example Description
Change Gametype /rcon g_gametype type /rcon g_gametype koth Sets gametype. Requires a map restart

to take effect.

Auto Team Balancing /rcon scr_teambalance [0-1] /rcon scr_teambalance 1 Force team balance off (0), on (1)
Friendly Fire /rcon scr_team_fftype [0-3] /rcon scr_team_fftype 1 FF off (0), on (1), reflect (2),

shared (3)

Spectate Type /rcon scr_game_spectatetype [0-2] /rcon scr_game_spectatetype 2 Disabled (0), Team/Players Only (1),

Free (2)

Kill Camera /rcon scr_game_allowkillcam [0-1] /rcon scr_game_allowkillcam 1 Force killcam off (0), on (1)
Private Chat to Player /rcon tell [client #] [message] /rcon tell 3 Hello Player Sends private message to a player.
Chat Via Console /rcon say [message] /rcon say Hello Player Messages are shown in game preceded

by console:

  • Kick and Ban Commands