Server Administration: Difference between revisions

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


==Rcon Commands==
==Rcon Commands==
{| WIDTH=100% BORDER=1 BORDERCOLOR="#000000" CELLPADDING=4 CELLSPACING=3
|-
|| '''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.
|-
|HEIGHT=21 |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 <BR>(located in your
server's main directory)
|}

Revision as of 13:11, 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

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)