Elite Force RCon Guide


Rcon Login

Task Syntax Description
Login to rcon /rconpassword password It's better to store your rcon password in a game browser and not login through the console.

We recommend that you avoid logging in to rcon through the game console. If you mistype the command you risk printing your rcon password on screen for everyone on the server to see. Game browsers like All-Seeing Eye and HLSW can store your rcon password and log you in automatically when you join your server. Alternatively, you can create a key bind that enters in your password, for example: /bind r "rconpassword password".


General Commands & Variables
To issue these with rcon from the game console they must be preceded with /rcon

Task Syntax Description
Change server name sv_hostname "name" Change the server name, remember to enclose the name with quotes.
Private server g_needpass 0/1 0=Do not use g_password, 1=Use g_password to protect server. Set from server.cfg only. Use "g_password none" to disable g_needpass on a running server.
Set a server password g_password password Sets the password needed to join the server, to clear the password and make the server public use g_password "".
Change rcon password rconpassword password Allows you to change the rcon password. Once changed you will need to login with the new rcon password.
Change Map map mapname Changes to that map. Use the proper map name, ie. ctf_voy1.
Map restart map_restart Restarts round. Any gametype and round limit setting changes will take effect.
Map rotate vstr d# Loads map in rotation spot d#.
Friendly fire g_friendlyfire 0/1 Friendly fire off 0=Off 1=On
Force respawn g_forcerespawn 0/1 Force players to respawn.
Gametype g_gametype 0/1/2/3/4 Sets gametype. Requires a map_restart to take effect. 0=FFA 1=Tournament 2=Solomatch 3=Team Holomatch 4=CTF
Message of the day g_motd "motd" Sets the message of the day.
Allow voting g_allowvote 0/1 Allow voting. Both variables must be set to 1 to allow voting.
Status status Gives the status of all players on the server, including slot number. Doesn't work properly with 20+ players.
Kick player by name or slot # kick name or kick # Kick player by name. It's easier to use kick by slot number.
Ban player by IP addip x.x.x.x Ban player by IP address.
Remove Ban removeip x.x.x.x Remove banned player by IP address.
Gravity g_gravity value Controls gravity for players. Lower = less, default 800.
Speed g_speed value Controls speed of movement for players. Higher = faster, default 250.
Chat via the console svsay text Messages are shown in game preceded by console:
Kill the server quit Restarts the server.
Weapon Respawn g_weaponrespawn # Sets the amount of time before a weapon will respawn, in seconds (does not work in Team Holomatch)
Adaptive Respawn g_adaptrespawn 0/1 Sets adaptive weapon respawning times, based on amount of players in server - 0=Off 1=On
Damage Multiplier g_dmgmult x.x Sets the damage multiplier, default is 1
Frag limit fraglimit Sets the # of frags before switching to a new map (for FFA or Team Holomatch modes).
Capture limit capturelimit Sets the capture limit for switching maps, CTF gametype only
Private clients sv_privateClients # Sets private player slots, use in conjunction with sv_privatepassword, this will take x # of your slots and make them only available to those who use the password set below. This is great for reserving slots on a busy server for paying members.
Private password sv_privatePassword Set the password for the private player slots.

// Preygrounds Default EF Server Config

// Server Config
seta sv_pure 1
seta com_hunkMegs "64" 
seta com_zoneMegs "32"

// General Settings
seta sv_maxclients "16"
// seta sv_privateClients "2" 
seta sv_fps "20"
seta g_friendlyFire "0"
seta g_warmup "20"
seta sv_zombietime "1"
seta g_inactivity "120"

// Voting
seta g_allowVote "1"
seta g_teamForceBalance "0"

// Extras
// seta sv_maxPing "500"
// seta sv_minPing "0"
seta sv_floodProtect "1"
seta sv_maxRate "10000"

// Server Passwords
seta rconpassword "rconpass"
seta g_needpass "0"

// Game Type Settings
seta g_gametype 4
seta timelimit "20"
seta g_speed "275"
seta g_weaponrespawn "2"

// Start the Map Rotation
set d1 "map ctf_voy1; set nextmap vstr d2"
set d2 "map ctf_voy2; set nextmap vstr d3"
set d3 "map ctf_faceoff; set nextmap vstr d4"
set d4 "map ctf_spyglass; set nextmap vstr d1"

vstr d1

// Server Config
seta sv_hostname "Server Name"
seta g_motd "Hosted by www.PreyGrounds.com"

// public info
seta "Administrator" "Your Name"
seta "Email" "your@email.com"
seta "url" "http://www.PreyGrounds.com"
seta "Location" "Los Angeles, CA"
seta "CPU" "Dual AMD MP2800+"
seta "Clan" "YourClan"
seta "Connection" "100mbit"

// add up to 4 additional master servers to report to
seta sv_master2 "Master.gamespy.com:27900"