Sniper Elite 4
Console command and variable reference
Note: Console commands and variables are not case sensitive. Variables are denoted by a V to the right of the entry.
Client reference (selected subset)
Command / Variable Arguments Description
Connect <ip>:<port> Connect to a server
ListCmds [<prefix>] List available commands. If a prefix is provided list only
commands beginning with that string.
ListVars [<prefix>] List available variables. If a prefix is provided list only variables
beginning with that string.
Lobby.ClearPassword Clear the lobby password
V
Lobby.Password <password> Set the password to use when joining a password protected
game
Rcon <command & arguments> Execute a console command on the server
Rcon.Password The password for remote console commands
V
Server reference
Command / Variable Arguments Description
? Display possible help options
Clear Clear the display
Exec <configuration file name> Executes the commands listed in the specified configuration
file
V
ExecPath <path> Set the config execution path. Config files executed with 'Exec'
will have this path prepended.
Game.End Force the game to end and return to the lobby
Game.Info Display information about the active game
Game.Start Force the game to start when in the lobby
Help [<command>] Display help information for a console command
IP <dotted ip address> specify which IP address to bind to
ListCmds [<prefix>] List available commands. If a prefix is provided list only
commands beginning with that string.
ListVars [<prefix>] List available variables. If a prefix is provided list only variables
beginning with that string.
Lobby.AutoTriggerMapVote <0/1> Enable or disable an automatic map vote when clients return
to the lobby.
Notes: The game mode and initial map is set with
"MapRotation.AddMap". After the initial map any map
rotation commands will be overridden by the results of map
votes.
Lobby.ClearPassword Clear the password required to join the game
Lobby.Password Set the password required to join the game
Lobby.StartTimer <time> Set the duration for the countdown timer in the multiplayer
lobby. Set to 0 to disable the automatic countdown.
MapRotation.AddMap <Map> <Type> [tl=<time>] Add a map to the end of the map rotation. E.g.
[sl=<score>]
> MapRotation.AddMap "rat run" DM
Supported game types:
'sl' and 'tl' are both optional and specify a new scorelimit
DM (Deathmatch) and/or timelimit to be applied when the map changes.
TDM (Team Deathmatch)
DK (Distance King) Use MapRotation.ListMaps to retrieve a list of available maps
TDK (Team Distance King)
NC (no-cross)
CL (control)
LMS (last man standing /
elimination)
CTF (capture the flag)
MapRotation.ClearMapRotation Remove all maps from the map rotation
MapRotation.ListMapRotation Display the current map rotation list
MapRotation.ListMaps Display a list of valid maps for use with map rotation
commands
MapRotation.RemoveMap Remove a map from the map rotation
V
MapRotation.RotateMapIndex <map index> Jump to a specific slot in the map rotation (after the round
has ended)
Quit Exit the dedicated server
Rcon.IP <address> Set the IP address to bind for Rcon. Defaults to localhost
(127.0.0.1)
Rcon.Listen Begin listening for public rcon connections. If it has been
called before it will toggle listening on and off.
Rcon.Password The password for remote console commands
Rcon.Port <port number> Set the port to bind for rcon
Rcon.WebStatusUpdate Force an update to be sent from the server to any connected
public rcon web interfaces.
Note: Updates are automatically sent every 5 seconds.
Server.AddTimedText <message> Add a message to the timed text list. These messages are
displayed at regular intervals during the game (see also
Server.TimedTextInterval)
Server.AuthPort <port number> Specify the port used for steam authentication
Server.ClearTimedText <port number> Clear the list of timed text messages
Server.GamePort <player string> Specify the port used for game data
Server.Host <player index> Begin hosting a multiplayer game
Server.Info Print a summary of server information
Server.Kick <player string> Kick a player from the server. You may provide any substring
of the player name to be kicked and it will attempt be
matched.
Server.KickBan Kick a player from the server and add them to the ban list. You
may provide any substring of the player name to be kicked
and it will attempt be matched.
Server.KickBanIndex <player index> Kick a player from the server and add them to the ban list. Use
Server.ListPlayers to find the index of the player.
Server.KickIndex <player index> Kick a player from the server. Use Server.ListPlayers to find
the index of the player.
Server.KickBanSteamID <steam id> Kick a player from the server. The Steam ID of the player, this
may be decimal or hex, for hex use the prefix 0x (e.g.
0x1234…). Use Server.ListPlayers to see a list of players and
their steam ID's.
NOTE: A player does not need to be playing on the server in
order to ban them in this way
Server.ListBans List all active bans
Server.ListPlayers List all players connected to the server. Each player listed will
print:
<Index> <Name> ( <Steam ID> / <Steam ID Hex>)
Server.ListTimedText Display a list of all the timed text messages
Server.LobbyPort <port number> Specify the port used for lobby data
Server.MoTD <message> Set the message of the day to be printed when users join
Server.Name <server name string> Specify the server name as broadcast to potential clients
Server.NetInfo Display the current network upload and download utilisation,
as well as the peak values recorded since the server was
started. Note: These figures are only for UDP game traffic sent
over the game port
Server.Say <message> Broadcast a chat message to clients
Server.TimedTextInterval <interval in minutes> Set the interval between timed text messages being displayed
Server.UnBan <ban index> Remove a player from the ban list. Provide the index of the
ban in the ban list, use Server.ListBans to show a list of bans
and their indices.
Server.UpdatePort <port number> Specify the port used for steam master server updates
Settings.AimAssist <0/1> Enable or disable aim assistance
Settings.AmmoCount <0/1/2/3> Set the player ammo count
The following values are
allowed:
0 - 50% ammo
1 - 100% ammo
2 - 150% ammo
3 - 200% ammo
Settings.Autobalance <0/1> Enable or disable autobalancing of teams in team games
Settings.BinoTagging <0/1> Enable or disable the use of player tagging in binoculars
Settings.BulletCam <0/1> Enable or disable the kill camera for long range kills
Settings.BulletDrop <0/1> Turn ballistics on or off
Settings.BulletTrails <0/1> Turn bullet trails on or off
Settings.DamageIndicators <0/1> Enable or disable damage indicators
Settings.DeathCam <0/1> Enable or disable the death camera
Settings.DefaultScoreLimit <score limit> Specify the default score limit. This is overriden by score limits
specified in the map rotation
Settings.DefaultTimeLimit <time limit> Specify the default time limit. This is overriden by score limits
specified in the map rotation
Settings.EmptyLungZoom <0/1> Enable or disable the zoom effect when in empty lung is used
Settings.ForceRespawn <0/1> Force players to respawn (on/off)
Settings.FriendlyFire <0/1> Turn friendly fire on or off
Settings.Grenades <0/1> Enable or disable grenades
Settings.HeadshotsOnly <0/1> Enable or disable headshot only mode
Settings.HealthItems <0/1> Enable or disable health items
Settings.Items <0/1> Enable or disable the use of carried items such as tripmines
and landmines
Settings.LandMines <0/1> Enable or disable land mines
Settings.MaxLatency <latency> Specify the maximum latency from clients beyond which they
will be kicked from the server (NOTE: We recommend you are
as lenient as possible with this value)
Settings.MaxPlayers <maximum players> Specify the maximum number of players allow on the server
Settings.MeleeKills <0/1> Enable or disable melee kills
Settings.OneShotKills <0/1> Turn one shot kills on or off
Settings.Panzerfausts <0/1> Enable or disable panzerfausts
Settings.Pistols <0/1> Enable or disable the use of pistols
Settings.PlayerHealth <0/1/2/3> Set the player starting health
The following values are
allowed:
0 - 50% health
1 - 100% health
2 - 150% health
3 - 200% health
Settings.RadarThreats <0/1> Enable or disable display of threats in the minimap
Settings.RespawnTime <respawn time> Specify the time in seconds between players dying and being
allowed to respawn
Settings.SecondaryWeapons <0/1> Enable or disable the use of secondary weapons
Settings.ShotTagging <0/1> Enable or disable the use of player shot tagging
Settings.ShowPlayersKiller <0/1> Enable or disable the kill camera for short range kills
Settings.SideSwapping <0/1> Enable or disable the ability for players to swap sides
Settings.SingleBulletReload <0/1> Enable or disable reloading sniper rifles after each shot
Settings.S-Mines <0/1> Enable or disable s-mines
Settings.SniperRifles <0/1> Enable or disable the use of sniper rifles
Settings.SniperScopeGlint <0/1> Turn enemy sniper scope glints on or off
Settings.SpawnProtectionTime <protection time (max 10)> Set the player spawn protection time
Settings.SpectatorOverview <0/1> Enable or disable the spectator overview
Settings.Sprint <0/1> Enable or disable sprinting
Settings.SuddenDeath <0/1> Enable or disable 'sudden death' (team games continue until
one team has taken the lead)
Settings.TNT <0/1> Enable or disable TNT
Settings.TripMines <0/1> Enable or disable trip mines
Settings.WarmupTime <warmup time> Specify the pre-game wamup time in seconds
Settings.WindStrength <0/1/2/3> Specify the wind level
The following values are
allowed:
0 - No wind
1 - Light wind
2 - Medium wind
3 - Heavy wind