Crytek Studios Server Command Table for Far Cry™ Patch 1.
04/07/2006
© 2006 Crytek 1
Crytek Studios Server Command Table for Far Cry™ Patch 1.4
Server Command Table for
Far Cry™ Patch 1.4
This is a list of all new and modified commands available for Far Cry™ Multiplayer. The left
column shows the command and the respective information to activate it properly. The right
column gives you an explanation about the command and the default value if there is one.
Additional information:
Passing "NetSynch" as third parameter means server synchronized (cannot be changed on
client and is synchronized if changed on the server)
Score limit when a round will end
gr_ScoreLimit
(default value is 0)
Time limit when a round will end
gr_TimeLimit
(default value is 20, “NetSynch”)
Affects damage of all weapons
gr_DamageScale
(default value is 1)
Normal damage multiplied by this number for headshots
gr_HeadshotMultiplier
(default value is 2)
gr_NextMap Shows/loads the next map set in the mapcycle.txt
Time until respawn after death; 0 deactivates respawning in
gr_RespawnTime waves
(default is 20, “NetSynch”)
1 = Prewar state on,
0 = Prewar state off
gr_PrewarOn
(default is 0, “NetSynch”); do not alter since gr_minteamlimit
does the correct work on pre-war now.
Countdown for round start
gr_CountDown
(default value is 5)
[1..100], time in seconds it takes for pickups to fade away
gr_DropFadeTime
(default value is 20, “NetSynch”)
Respawns the player at death position; works only in
gr_RespawnAtDeathPos FFA/TDM
(default value is 1)
Determines if teammates can hurt each other
gr_FriendlyFire
(default value is 1)
gr_Detonate (default is 0, “NetSynch”)
System variable; do not alter
gr_votetime
(default value is 60)
© 2006 Crytek 2
Crytek Studios Server Command Table for Far Cry™ Patch 1.4
Defines minimum player number that needs to be spawned
gr_MinTeamLimit before the game starts
(default value is 1)
Maximum number of players per team side
gr_MaxTeamLimit
(default value is 16)
Amount of time player is invulnerable after spawning
gr_InvulnerabilityTimer
(default value is 5, “NetSynch”)
Determines whether enemy names appear on crosshair
gr_CrossName
(default value is 1, “NetSynch”)
1=on/0=off, determines whether vehicles get damage from
g_vehicleBulletDamage
bullets
In ASSAULT gametype, sets the current flag to capture;
gr_checkpoint
requires map restart
Turns the task list on/off
gr_task_enable
(default value is 1)
Autoloads the task list on server start
gr_task_autoload
(default value is 1)
Allows teamkilling
gr_allow_teamkilling
(default = 0 (no))
Number of teamkills without time punishment
gr_free_teamkills
(default value is 0)
Adds respawntime for each teamkill after number of free
gr_teamkill_extra_time teamkills exceeded
(default value is 10)
Forces player who reached maximum number of teamkills to
gr_teamkill_force_spectate be spectator for the remaining time on the map
(default value is 5)
If “protected names” should be punished for teamkills
gr_punish_protected
(default value is 1)
Creates a log of teamkillers to teamkillers_[x].log
gr_log_teamkillers
(default value is 0)
gr_spawnmessage1 First message that will appear on HUD when player spawns
Second message that will appear on HUD when player
gr_spawnmessage2
spawns
gr_spawnmessage3 Third message that will appear on HUD when player spawns
Fourth message that will appear on HUD when player
gr_spawnmessage4
spawns
Amount of AG36 nades the player has equipped on spawn
gr_initial_ag36_nades
(default value is 5)
© 2006 Crytek 3
Crytek Studios Server Command Table for Far Cry™ Patch 1.4
Amount of AG36 nades the player gets when at ammobox
gr_pickup_ag36_nades
(default value is 0)
Amount of AG36 nades the player gets from picking up a
gr_droppickup_ag36_nades dropped box
(default value is 2)
Maximum amount of AG36 nades on a player at one time
gr_max_ag36_nades
(default value is 5)
Amount of OICW nades the player has equipped on spawn
gr_initial_oicw_nades
(default value is 5)
Amount of OICW nades the player gets when at ammobox
gr_pickup_oicw_nades
(default value is 0)
Amount of OICW nades the player gets from picking up a
gr_droppickup_oicw_nades dropped box
(default value is 2)
Maximum amount of OICW nades on a player at one time
gr_max_oicw_nades
(default value is 5)
Amount of rockets the player has equipped on spawn
gr_initial_rockets
(default value is 5)
Amount of rockets the player gets when at ammobox
gr_pickup_rockets
(default value is 0)
Amount of rockets the player gets from picking up a dropped
gr_droppickup_rockets box
(default value is 2)
Maximum amount of rockets on a player at one time
gr_max_rockets
(default value is 5)
Amount of bombs the player has equipped on spawn
gr_initial_sticky_explosives
(default value is 3)
Amount of bombs the player gets when at ammobox
gr_pickup_sticky_explosives
(default value is 3)
Amount of bombs the player gets from picking up a dropped
gr_droppickup_sticky_explosives box
(default value is 1)
Maximum amount of bombs on a player at one time
gr_max_sticky_explosives
(default value is 4)
Amount of sniper rounds the player has equipped on spawn
gr_initial_sniper_ammo
(default value is 20)
Amount of sniper rounds the player gets when at ammobox
gr_pickup_sniper_ammo
(default value is 10)
Amount of sniper rounds the player gets from picking up a
gr_droppickup_sniper_ammo dropped box
(default value is 10)
© 2006 Crytek 4
Crytek Studios Server Command Table for Far Cry™ Patch 1.4
Maximum amount of sniper rounds on a player at one time
gr_max_sniper_ammo
(default value is 30)
Maximum number of rockets allowed in FFA
gr_max_rockets_ffa
(default value is 10)
Maximum number of OICW nades allowed in FFA
gr_max_oicw_nades_ffa
(default value is 10)
Maximum number of AG36 nades allowed in FFA
gr_max_ag36_nades_ffa
(default value is 10)
Percentage damage rockets due based on default amount
gr_rocket_damage_factor (1=100%, 0.5=50%)
(default value is 1)
Percentage damage OICW nades due based on default
gr_oicw_nade_damage_factor amount (1=100%, 0.5=50%)
(default value is 1)
Percentage damage OICW nades due based on default
gr_ag36_nade_damage_factor amount (1=100%, 0.5=50%)
(default value is 1)
Sets snipers to spawn with flashbang grenades
gr_sniper_flashbang (1=yes/0=no)
(default value is 0)
Sets grunts to spawn with flashbang grenades (1=yes/0=no)
gr_grunt_flashbang
(default value is 0)
Sets engineers to spawn with flashbang grenades
gr_engineer_flashbang (1=yes/0=no)
(default value is 0)
Sets the amount of kills needed to have a killing spree
gr_killing_spree
(default value is 5)
0 = displays every kill after spree announced,
gr_killing_spree_display
1 = display only the total at end of the spree
Sets the maximum allowed ping on the server;
gr_max_average_ping
0 means no ping kick
Check each player’s ping each every X seconds
gr_ping_check_interval
(default value is 8)
Number of sequential warnings before kick
gr_ping_warnings
(default value is 3)
Sets whether ping stats are reset upon player reconnect;
gr_ping_reset_on_connect 0 = player gets kicked again immediately
(default value is 0)
System variable; do not alter
gr_last_checked
(default value is 0)
© 2006 Crytek 5
Crytek Studios Server Command Table for Far Cry™ Patch 1.4
System variable; do not alter
gr_last_spawn_checked
(default value is 0)
0 = no message,
gr_announce_headshot 1 = message on headshot kill
(default value is 1)
0 = message to all players,
gr_headshot_message_private 1 = message to shooter only
(default value is 0)
Displays who saves flag
gr_flag_saved_message
(default value is 1)
Displays who captures flag
gr_flag_captured_message
(default value is 1)
Displays who starts flag capture
gr_flag_startcapture_message
(default value is 1)
Number of kills needed to get Rambo move message
gr_rm_needed_kills (0 to disable Rambo move)
(default value is 5)
Time added for each kill. While time > game time, Rambo
move is active (when flag is activated no time will be
gr_rm_kill_addtime
reduced)
(default value is 5)
Export stats to a file called stats_[x].txt, while x being a
gr_stats_export number set here
(default value is 0)
Directory to put logfiles in, defaults to Far Cry/ (use / instead
gr_stats_dir
of \)
Percentage of run speed based on 1 = default 100%, 0.5 =
gr_runspeed_factor 50%
(default value is 1)
Percentage of stamina depletion when running based on 1 =
gr_stamina_use_run default 100%, 0.5 = 50%
(default value is 1)
1 = discard any ammo left in clip when reloading
gr_realistic_reload
(default value is 0)
1 = Keep teamlocks on mapchange (no auto release)
gr_keep_lock
(default value is 1)
Both teams get same amount of time to capture all flags
gr_fulltime equal to gr_timelimit
(default value is 0)
Respawn timer is set to this fixed amount (overrides
gr_static_respawn respawntime), 0 is off
(default value is 0)
1 = Spectating allowed,
gr_allow_spectators
0 = no spectating allowed
© 2006 Crytek 6
Crytek Studios Server Command Table for Far Cry™ Patch 1.4
Damage scale factor (overrules standard damage scale, if
gr_customdamagescale set higher than 1) (not added, just overrules)
(default value is 1)
1 = Keeps a player’s score even when they join spectators
gr_keep_score and then rejoin game
(default value is 0)
Percentage of walk speed based on 1 = default 100%, 0.5 =
gr_walkspeed_factor 50%
(default value is 1)
Percentage of swim speed based on 1 = default 100%,
gr_swimspeed_factor 0.5=50%
(default value is 1)
Percentage of speed when prone based on 1 = default
gr_crouchspeed_factor 100%, 0.5 = 50%
(default value is 1)
Percentage of jump based on 1 = default 100%, 0.5 = 50%
gr_jumpforce_factor
(default value is 1)
Max snipers on a team
gr_max_snipers
(default is 99)
Max grunts on a team
gr_max_grunts
(default is 99)
Max engineers on a team
gr_max_engineers
(default is 99)
1 = For scoring in Assault, each capture gives one point
gr_point_per_flag
(default value is 1)
1 = Eliminates all Rocket Launchers
gr_norl
(default value is 0)
Autokick players stuck connection after X seconds
gr_autokick_connecting
(default value is 45)
System variable; do not alter
gr_lastConnectCheck
(default value is 0)
Number of seconds that pass before admin panel calls
gr_map_restart_delay sv_restart
(default value is 5)
First person spectator mode, 1=on/0=off; not supported
gr_first_person_spectator
(default value is 0)
Disables/Enables voting on a server, 1=on/0=off
gr_allow_voting
(default value is 1)
© 2006 Crytek 7
Crytek Studios Server Command Table for Far Cry™ Patch 1.4
Server side flood protection variables
Server message flood protection, 1=on/0=off
sv_message_flood_protection
(default value is 1)
If flood protection is on this will toggle whether or not to kick
sv_kick_flood_offender a flooder, 1=on/0=off
(default value is 1)
sv_pb_kick_flood_offender_time Unused console variable
Number of times a message can be repeated by client
sv_message_repeat
(default value is 3)
Number of seconds until client message count is reset to 0
sv_flood_reset_time
(default value is 5)
Maximum number of messages a player can send within X
sv_max_messages_per_timeframe number of seconds
(default value is 6)
X number of seconds for max messages in timeframe kick
sv_flood_protection_timeframe
(default value is 10)
Client side flood protection variables
Client message flood protection, 1=on/0=off
cl_message_flood_protection
(default value is 1)
Number of times a message can be repeated by other
cl_message_repeat clients
(default value is 3)
Player movement controls
gr_move [pId]
Move player to team.
[team=blue/red/spectators]
Optional: <forceteam>. 1 = make them stay
<forceteam>
gr_moveall [team=blue/red/spectators] Move all but protected to team (can return)
gr_release [pId] Release teamforcing on player
gr_lock [team=red/blue] Players (except protected) cannot join a team
gr_unlock [team=red/blue] Unlocks teams
Release ALL locks
gr_unlockall
(forced player teams (gr_move) + (gr_lock))
© 2006 Crytek 8
Crytek Studios Server Command Table for Far Cry™ Patch 1.4
gr_switchteams All players switch teams
Player admin utilities
gr_list Displays detailed players list
When a player dies, they receive extra respawn time.
[pId] = scoreboard slot number
gr_punish [pId] <extra time> <reason>
Option1: amount of extra respawn time in seconds
Option2: reason person is punished
gr_cpc [pId]
Changes the players' class on next respawn
[class = sniper1..4/engy1..4/grunt1..6]
Players stay on same teams, but switches from offense to
gr_switchobjectives
defense or vice versa
Reloads the protected names file
gr_load_protected
(profiles/server/p_names.txt)
gr_add_protected [pId] Add a player to protected name list
gr_list_protected Displays all current protected names
gr_clear_protected Clears all protected names
gr_save_protected Saves protected names to p_names.txt
Server settings
The following commands change the mapcycle to file in
server.cfg [gr_mapcycle_ffa / gr_mapcycle_assault / gr_mapcycle_tdm]
gr_ffa (changes mapcycle to gr_mapcycle_ffa)
gr_tdm (changes mapcycle to gr_mapcycle_tdm)
gr_assault (changes mapcycle to gr_mapcycle_assault)
Server utilities
gr_ss [text] Sends HUD message to all players
gr_config [configfile] (Re)loads a config file and restarts the server
gr_config1 [configfile] (Re)loads an alternate config file and restarts the server
gr_reboot_server Reboots the server
gr_nextmap go to the next map in the map cycle
© 2006 Crytek 9