medal of honor spearhead

Home
my forums
sig page
server ip
rcon commands
map download page
Clan website's

rcon commands

medal of honor spearhead rcon commands
 

+set ui_console 1

Your shortcut target should look like this:

"C:\Program Files\EA GAMES\MOHAA\MOHAA.exe" +set ui_console 1

Notice the space after the last quote and before the + sign! If you have problems doing this, you can also enable it in the game itself . From the main menu, click the radio on the left hand side. Go to Advanced Options, and make sure "Console" has a red X in the box. Then hit Apply.

How to use RCON

To use RCON, simply pull down the console, by pressing the tilde key "~". This key is located in the upper left hand corner of your keyboard, just left of the "1" key. There are several ways to connect to your dedicated game server: 1: Your connected to your server as a client. Simply add your rcon password after the rcon and before the command you wish to execute. Type in the console:

rcon [password] status

You will have to do this every time you wish to send a command to your server. 2: Your playing MOH, but not on your server. You could be playing a single player game or connected to another game server. Type in the console:

rconaddress [your server’s IP address] rconpassword [your password]

This only has to be done once per session.
NOTE: If you are already connected to the server, then all you to do is type: rconpassword [password]. 3: Your not playing MOH and you have "The All Seeing Eye" (ASE) installed. You can download a free trial version ( limited ) at: http://www.udpsoft.com/eye/ ASE has an RCON client built into it. This is the best way of accessing your game server, when your not playing MOH. You first need to enter your game server’s RCON password into ASE. This is only done once and only needs to be changed, if you ever change your server's RCON password. Setup: 1st Pull up your server in the ASE window. 2nd Right click your server 3rd Left click on "Server Properties" 4th Enter your RCON password To access your server’s RCON: 1st Pull up your server in the ASE window. 2nd Right click your server 3rd Left click on "remote console" 4th Enter your commands in ASE’s pop up box. When using ASE. You do not use the rcon command before your other commands. ASE automatically adds this command for you. Thus, it makes it even easier and quicker to send commands to your server.

 

RCON Commands

cd

Usage: rcon cd [path]
cd = Change Directory. This is the same command used in dos. You can change directory on the server.

clientkick

Usage: rcon clientkick [client number]
Use this command after using the status command. This enables a server admin to easily kick users via their client number instead of their name.

cmdlist

Usage : rcon cmdlist [letter]
Will return all know rcon commands. Optionally, if you put a single letter it will only return commands starting with that letter. Not all work though.
Submitted by DogMeat

crash

Usage: rcon crash
Will crash your server. Be careful with this command. Especially if your host does not run a script to restart your MOH.exe
Submitted by mikerush76

cvarlist

Usage : rcon cvarlist [letter]
Will return all know variables, or cvars. Optionally, if you put a single letter it will only return cvars starting with that letter.
Submitted by DogMeat

dir

Usage: rcon dir
Will return a directory listing of your dedicated servers MOH\main directory

(folder) dumpuser

Usage: rcon dumpuser [client name]
Will return info on a user : userinfo
--------
dm_playermodel : allied_airborne - Name of the skin the client is currently using
dm_playergermanmodel : german_elite_sentry - Name of the model the client is currently using
name : JohnDoe - Name of the client
rate : 20000 - Clients rate
snaps : 20 - ??
password : bungee - If the client is connecting via a password, this is the password he is using

exec

Usage: rcon exec server.cfg
This will execute your server.cfg file. causing any changes made to this file to take effect. If you have multiple cfg file. Say one for TDM and one for OBJ. maps. You can use this to execute the *.cfg file of your choice. changing game types, maplist or other properties of a cfg file.

freeze

Usage: rcon freeze [seconds]
Freezes all players on the server for what ever amount of time you put. ( Good for getting the undivided attention of clan mates/ Clients)
Submitted by mikerush76

kick

Usage: rcon kick [client name or "all"]
kicks a client by his in game nick. If a the client has a space in his name. Surround his name in quotes. If you wish to kick all clients at once. then use all.

map

Usage: rcon map [complete map name. ie: dm/mohdm4 or obj/obj_team4]
Use this to change maps.

meminfo

Usage: rcon meminfo
This will return information, on how much memory your dedicated server is using. May be helpful when renting a server from another party.

quit

Usage: rcon quit
This will shutdown your dedicated game server. Kicking all clients and dropping your rcon connection. Some providers run scripts that monitor your MOH.exe. When this script notices your moh.exe not running. They will restart the moh.exe for you. This is good when you upload a new map and need to restart your server. For the new maps load. Check with your provider to see if they have any type of script running on the server before executing this command!

rconaddress

Usage: rconaddress [server ip address]
This is how you initiate a connection to the rcon server your trying to control .Please note there is no spaces between rcon and address.

rconpassword

Usage: rconpassword [password]
This is your rcon password you setup within your server.cfg file. If you ever post or send someone your cfg file, make sure you do not include this entry. Please note that there is no spaces between rcon and password.

restart

Usage: rcon restart
Will restart the current map. Say
Usage: rcon say [your message]
This command is used to broadcast messages to all clients in real time.

serverinfo

Usage: rcon serverinfo
Will return the following dedicated server information:
---------------------
cheats: 0 -is cheats enabled on server 0=no 1=yes
sv_allowDownload : 0 -does the server allow people to download current maps 0=no 1=yes ( does not work )
sv_maplist : dm/mohdm1 dm/mohdm2 dm/mohdm3 dm/mohdm4 dm/mohdm6 dm/mohdm7 -current map list running on server
sv_hostname : =CKR= www.alliedassault.com members v1.11 custom maps TDM =CKR= -host name
sv_privateClients : 4 -number of private slots. must connect with the correct password
sv_maxclients : 16 - max number of clients allowed to connect
sv_maxRate : 8000 - Max data transmit rate by clients connected to the server
sv_maxPing : 600 - maximum ping allowed when client connects. If client connects with a ping over this value. They will not be allowed to join the server
g_gametype : 2 - game type 1= FFA 2= TeamMatch 3= RoundBased 4= Objective
deathmatch : 1 -??
version : Medal of Honor Allied Assault 1.11 win-x86 Mar 5 2002 - version of MOH running
skill : 0 -??
dmflags : 0 -??
fraglimit : 0 - How many kills a team needs to win the battle
timelimit : 15 - How long the map will run. By setting both fraglimit and timelimit at the same time. The game will end whenever one of these conditions are met first.
protocol : 8 -??
mapname : dm/mohdm2 - current map playing on server
sv_minPing : 0 - Min ping allowed to play on server
sv_floodProtect : 1 -??
g_gametypestring : Team-Match - ??
sv_fps : 20 -
Admin : Rudedog - Server's admin set via cfg file
URL : www.alliedassault.com members -URL set via cfg file
Connection : Full T1 -Just for information to users. Set via cfg file
g_allowjointime : 5 -
roundlimit : 0 - number of rounds when playing Obj based game play
nomonsters : 0 -??
sv_friction : 4 -??
sv_stopspeed : 100 -??
sv_waterfriction : 1 -??
sv_waterspeed : 400 -??
sv_cinematic : 0 -??
g_forceready : 1 -??
g_forcerespawn : 0 -??
g_maxintermission : 15 -??
g_obj_alliedtext1 : Destroyed Village -motd for current map
g_obj_axistext2 : [TFO]DogMeat Map Fix -motd for current map
g_obj_axistext3 : TFO.ServeBeer.com 1.2 -motd for current map
g_scoreboardpic : mohdm2 -??

status

Usage: rcon status
Will return information on all connected clients including: current map name, client number, client's score, client's ping, client's name, client's IP address, client's qport and client's rate.

systeminfo

Usage: rcon systeminfo
Will return system info g_syncronousclients, sv_serverid, and timescale.

set

Usage : rcon set [variable] [value]
Sets the value of a variable.
Submitted by Crow King

seta

Usage : rcon seta [variable] [value]
Sets the value of a variable and the archive flag so that the value will be saved to the user's Default.cfg file to be loaded each time the game is loaded.
Submitted by Crow King

sets

Usage : rcon sets [variable] [value]
Sets the value of a variable and the server flag so that the variable is transmitted to clients upon connect. Is implemented in MoHAA but does not seem to function properly.
Submitted by Crow King

setu

Usage : rcon setu [variable] [value]
Sets the variable with the userinfo flag, so it will be transmitted from a client to a server while connecting.
Caveat : Not tested, however I suspect that like sets , it is not functioning properly.
Submitted by DogMeat

seta sv_hostname

Usage: rcon seta sv_hostname [server name]
You can change your servers name ( ASE / GameSpy ) at any time. Just remember that it may take several seconds for gamespy or ASE to update. Good when you have just set the server private.

sets Admin

Usage: rcon sets admin [admin's name]
This will also update your ASE info on the fly. It may take a couple of seconds to update on the master server.

seta g_motd

Usage: rcon seta g_motd [message of the day]
This will also update your ASE/GS info on the fly. It may take a couple of seconds to update on the master server. Does not broadcast any messages to clients connecting to your server "MOTD"=message of the day.

sets URL

Usage: rcon sets URL [Server URL]
This will also update your ASE info on the fly. It may take a couple of seconds to update on the master server. Does not broadcast any messages to clients connecting to your server. This link should provide information to your clients. Map list, Map downloads, Server rules.

sets Connection

Usage: rcon sets Connection [Server's connection speed]
This will also update your ASE info on the fly. It may take a couple of seconds to update on the master server. Does not broadcast any messages to clients connecting to your server. This is only to inform your clients what type of connection your server uses. This can be anything.

seta timelimit

Usage: rcon seta timelimit [Number of minutes]
Whole number, representing how long each map will be played.

seta fraglimit

Usage: rcon seta fraglimit [Number of frags]
Whole number, representing how many kills a team needs to win a map.

set g_gametype

Usage: rcon set g_gametype [Number from 1 to 4]
Changes the game type 1= FFA 2= TeamMatch 3= RoundBased 4= Objective 5= Tug Of War

set g_teamdamage

Usage: rcon set g_teamdamage [0 or 1]
Changes FF ( friendly fire ): 0=no 1=yes set g_inactiveSpectate
Usage: rcon set g_inactiveSpectate [Number of seconds]
Whole number, representing how long, in seconds, before an inactive player is moved into Spectate.

set g_inactiveKick

Usage: rcon set g_inactiveKick [Number of seconds]
Whole number, representing how long, in seconds, before an inactive spectator will be kicked.

seta g_allowjointime

Usage: rcon seta g_allowjointime [Number of seconds]
The time period after a map start that the players are allowed to join in seconds: Default=30. Setting this to 5 will STOP RESPAWNERS
Submitted by Jericho Jones

seta g_minGameClients

Usage: rcon seta g_minGameClients [0 – max number of clients]
Number of clients required for the map to start: Default=0
Submitted by Jericho Jones

seta sv_maplist

Usage: rcon seta sv_maplist ["complete map name. Separated by a space, enclosed by quotes"]
Sets a new map rotation. Complete map name = dm/mohdm4 or obj/obj_team4

set rconpassword

Usage: rcon set rconpassword [Password]
Is used to change your password from rcon. You will need to reconnect after running this command.

set sv_maxclients

Usage: rcon set sv_maxclients [Number of clients]
Whole number, representing the total number of clients that can connect at the same time.

set sv_privateClients

Usage: rcon set sv_privateClients [Number of clients]
Whole number, representing the number of clients that must use a password to connect.

set sv_privatepassword

Usage: set sv_privatepassword [Password]
This is how you can set a private password, so only clients that provide the correct password can connect. To remove a password from the server use "" without spaces.

seta sv_minping

Usage: rcon seta sv_minping [Ping in ms]
Whole number, representing the minimum ping allowed by the server, for a client to connect.

seta sv_maxping

Usage: rcon seta sv_maxping [Ping in ms]
Whole number, representing the maximum ping allowed by the server, for a client to connect.

seta sv_gamespy

Usage: rcon seta sv_gamespy [0 or 1]
This will broadcast your server information to the master server used by Game spy and ASE: 0=no 1=yes seta sv_maxRate
Usage: rcon seta sv_maxRate [Number]
Whole number, representing how much bandwidth each client can receive. This depends on your server's connection.

Set sv_gravity

Usage: rcon set sv_gravity [Number]
This will change the gravity of all clients on the server: Default=800.

set g_allowVote

Usage: rcon set g_allowvote [0 or 1]
This command will allow your clients to call votes: 0=no 1=yes

sv_maxvelocity

Usage: rcon sv_maxvelocity [Number]
This will increase the velocity of the clients movement on the maps: Default = 6000

set net_port

Usage: rcon set net_port [port number]
This is used to set the game servers port number.

set net_noipx

Usage: rcon net_noipx [0 or 1 ]
When playing on a private network with ipx you can enable MOH to use the IPX protocol: 0=no 1=yes

sv_walkspeed

Usage: rcon sv_walkspeed [0-inf]
Sets the walk speed: Default = 150
Submitted by -=|MwD|=-DaiShan

sv_runspeed

Usage: rcon sv_runspeed [0-inf]
Sets the run speed: Default = 250
Submitted by -=|MwD|=-DaiShan

sv_crouchmult

Usage: rcon sv_crouchmult [0-inf]
Sets the crouch speed. Multiplayer: Default is 0.6. Set this to 0 and you can't move while crouching. Set it to 1 and you move just as fast as standing.
Submitted by -=|MwD|=-DaiShan

toggle

Usage : rcon toggle [variable]
Toggles the value of a flag variable. For example, "rcon toggle g_teamdamage" would turn friendly fire off, if it was currently on.
Submitted by DogMeat

path

Usage: rcon path
Will return all current game paths for .pk3 files on the server.

roundlimit

Usage: rcon set roundlimit [Number; Default = 0]
This will change the time limit for each round on a round based game.
Submitted by yochoylamuete

Spearhead

g_healthdrop

Usage: rcon set g_healthdrop [ 0 or 1]
When enabled players will drop a health pack when killed: 0=no 1=yes

g_realismmode

Usage: rcon set g_realismmode [ 0 or 1 ]
Sets server to EA's version of realism: 0=no 1=yes

sv_runspeed

Usage: rcon set sv_runspeed [Number]
Sets the walk speed for all clients. Default Spearhead = 287 Default MOHAA = 250

sv_dmspeedmult

Usage: rcon set sv_dmspeedmult [Number]
This is the players burst run speed. After a player has been running for a short period of time, his speed will increase. Default = 1.10000

g_healrate

Usage: rcon set g_healrate [Number]
This determines how fast players heal, in seconds, when they use a health pickup: Default = 10

maprotationtime

Usage: rcon maprotationtime [Number in Minutes]
This sets the maximum amount of time in minutes players will spend in a particular map.

sv_team_spawn_interval

Usage: rcon set sv_team_spawn_interval [Number]
This sets a delay in seconds between spawns. This is useful if you would like the player spawned in batches,
rather than one at a time: Default = 3

roundlimit

Usage: rcon roundlimit [Number in Minutes]
This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.

ui_dedicated

Usage: rcon set ui_dedicated [ 0 or 1 ]
Both this cvar and sv_gamespy must be set to 1 to show up on gamespy: 0=no 1=yes

g_forceteamspectate

Usage: rcon set g_forceteamspectate [ 0 or 1 ]
Forces players to only be able to spectate behind their own team: 0=no 1=yes

dmflags

Usage: rcon set dmflags [Number; the sum of each flag you with to set]
You can customize your Spearhead server, by setting flags. To set more then one, simply add together, each flag you wish to use.

DF_NO_HEALTH 1
DF_NO_POWERUPS 2
DF_WEAPONS_STAY 4
DF_NO_FALLING 8
DF_INSTANT_ITEMS 16
DF_SAME_LEVEL 32
DF_NO_ARMOR 2048
DF_INFINITE_AMMO 16384
DF_NO_FOOTSTEPS 131072
DF_ALLOW_LEAN
262144
DF_OLD_SNIPERRIFLE 524288
DF_GERMAN_SHOTGUN 1048576

sv_invulnerabletime

Usage: rcon set sv_invulnerabletime [Number in seconds]
Amount of time (in seconds) a player is invulnerable for after spawning: Default = 3

g_teamkillwarn

Usage: rcon set g_teamkillwarn [Number of times]
Amount of team kills before the player is warned: Default = 3

g_teamkillkick

Usage: rcon set g_teamkillkick [Number of times]
Amount of team kills before the player is kicked off the server: Default = 5

g_teamswitchdelay

Usage: rcon g_teamswitchdelay [Number in seconds]
How long you must wait before you can switch teams: Default = 15

sv_keywords

Usage: rcon sv_keywords [ Keywords ]
Keywords which allow browsers to filter servers.

Linux

sv_chatter

Usage: rcon sv_chatter [0 or 1]
This will echo any chat to console. It not only shows the general chat (useful for parsing to ban bad swear people) but also shows DM taunts: 0=no 1=yes
Submitted by GI jerk

Broken Commands

seta sv_pure

Validates the pk3 file on the client. Must match the server’s pk3 file. 0=no 1=yes

seta g_teamForceBalance

Forces team Balance. Evens the teams when a new client joins or leaves

seta sv_allowDownload

Allow clients to download maps directly from the server

done by -=[AGF]=- 2lt.Pinpoint [B-UK]