Insurgency

Insurgency

42 ratings
Insurgency/Source Admin Commands
By Sherlock
List of Source commands.
   
Award
Favorite
Favorited
Unfavorite
List of Commands
Admin commands (sourcemod)

Some Commands may not work with insurgency as many are general source commands.

Console is opened with the ~ key
(key) means any key of your choosing


This page lists all of the major admin commands in SourceMod.
Chat Triggers: Remember that commands do not have to be entered through the console; they can be entered via chat triggers. For example, saying "!ban bail" in chat will execute the same command as "sm_ban" and forward the output to chat. You can also use "/" instead of "!" to suppress your

How to Target
General targets:
• name - Exact name match, or partial name match (if the partial string is unique).
• #userid - If userid is numeric, the player will be targeted by their userid (found via the "users" command).
• #steamid - Matches by Steam ID. If you use colons (:), you must enclose in quotes. Otherwise, you can use an underscore (_) instead. Examples: "#STEAM_0:1:4433", #STEAM_0_1_4433
• #<name> - Exact name match after the # sign.
Note that name matches occur last, "magic targets" (such as # and @) are processed first. This means that "@all" will target @all players, even if there is a player named "@all". You should target "#@all" instead.


Basic Commands:
bind (key) slot(same key) This is used to reset buttons, mainly in unresponsive admin menus.
snd_restart resets and fixes sound
sm_help adminhelp admin search] Lists all admin commands. Output is paginated and a page number can be specified. Alternately, a search term can be specified to search for a specific command.
sm_admin Displays the admin menu.
status displays steam ID's
sm_map basecommands map <map> Changes the current map.


Fun Commands:
bind (key) jihad Explode keybind on jihad enabled maps
!jihad Explodes character on jihad enabled maps
sm_slap playercommands slay <target> [damage] "Slaps" a player, emitting a noise and throwing them in a random direction. If specified, the damage amount will be subtracted from each target's health.
sm_burn funcommands slay <target> [time] Sets the target(s) on fire for the specified amount of time. This may or may not work fully on certain games (for example, TF2 is missing the fire sprite, but clients will bleed/lose health). If specified, burning effect will stop after the [time] seconds.
sm_rename playercommands slay <#userid|name> Changes the name of a player.


Chat Commands:
sm_say Sends an admin messaqge to all players
sm_chat basechat chat <message> Sends a say-chat message to all admins.
sm_csay basechat chat <message> Sends a centered message to all players.
sm_psay basechat chat <target> <message> Sends a private chat message to a single target.
sm_hsay basechat chat <message> Sends a message to all players via a center-bottom hint box.
sm_msay basechat chat <message> Sends a message as a menu panel (only meaningful on games that support radio menus).
sm_psay basechat chat <target> <message> Sends a private chat message to a single target.
sm_tsay basechat chat [color] <message> Sends a top-left message to all players. If no color is specified, the text will be white. Colors available are: white, red, green, blue, yellow, purple, cyan, orange, pink, olive, lime, violet, lightblue. The names are not case sensitive.


Punishment Commands:
sm_kick basecommands kick <#userid|name> [reason] Kicks a player.
sm_slay playercommands slay <target> Kills a player.
sm_ban basebans ban <#userid|name> <minutes|0> [reason] Bans a client.
sm_unban basebans unban <steamid|ip> Unbans a Steam ID or an IP.
!unban SteamID Reason
sm_addban (ID) (Time) (Reason) Adds a Steam ID to Source's ban list.
!addban SteamID time reason
sm_mute basecomm chat <target> Prevents the target(s) from using voice chat.
sm_unmute basecomm chat <target> Allows the target(s) to use voice chat again.
sm_gag basecomm chat <target> Prevents the target(s) from using messagemode/say chat.
sm_ungag basecomm chat <target> Allows the target(s) to use messagemode/say chat again.
sm_silence basecomm chat <target> Performs both a gag and mute on the target(s).
sm_unsilence basecomm chat <target> Perfoms both an ungag and unmute on the target(s).
sm_banip basebans ban <ip|#userid|name> <time> [reason] Adds an IP address to Source's ban list. Only someone with rcon access can ban an arbitrary IP.



Most of the info is from: https://wiki.alliedmods.net/Admin_commands_%28sourcemod%29
2 Comments
Hakurei Reimu Feb 24, 2022 @ 10:18pm 
epic
TheBergenstein May 27, 2016 @ 7:48am 
thanks