Instead of searching for the various commands that you can use when you have Sourcemod installed on your server, i am going to compile a list of useful commands all in one place.
I am aware that this may not be an exhaustive list of the commands, but if you know of any others that are not on the list, let me know and i will happily add it to the list. Here goes…
As you can see, this is a long list and may be a little difficult to find exactly what you are looking for. What i would suggest is using your find function and searching for key words (e.g. search for ban) which will highlight items that are related to your search.
Basic Commands
Command | Access | Description |
sm_addban | rcon | Adds a Steam ID to Source’s ban list. |
sm_admin | admin | Displays the admin menu. |
sm_ban | ban | Bans a client. |
sm_banip | rcon | Adds an IP address to Source’s ban list. Only someone with |
rcon access can ban an arbitrary IP. | ||
sm_cancelvote | vote | Cancels any vote in progress. |
sm_cvar | cvar | Retrieves or changes a cvar value. Protected cvars can only |
be accessed with rcon access, and sv_cheats can only be | ||
accessed with cheat access. | ||
sm_execcfg | config | Executes a config file (path not needed, but extension is). |
sm_help | admin | 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_kick | kick | Kicks a player. |
sm_map | map | Changes the current map. |
sm_rcon | rcon | Executes the argument string via rcon. Due to Source |
limitations, you cannot see any RCON output. | ||
sm_reloadadmins | config | Refreshes the Admin cache from all sources. |
sm_unban | unban | Unbans a Steam ID. |
sm_who | admin | Lists all users and their access rights, or a specific user’s |
access rights. | ||
sm_beacon | slay | Adds a ring around each target, making them easily visible. |
sm_burn | slay | 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_chat | chat | Sends a say-chat message to all admins. |
sm_csay | chat | Sends a centered message to all players. |
sm_gag | chat | Prevents the target(s) from using messagemode/say chat. |
sm_hsay | chat | Sends a message to all players via a center-bottom hint box. |
sm_msay | chat | Sends a message as a menu panel (only meaningful on |
games that support radio menus). | ||
sm_mute | chat | Prevents the target(s) from using voice chat. |
sm_play | admin | Plays a sound file on the server to each target. |
sm_psay | chat | Sends a private chat message to a single target. |
sm_rename | slay | Changes the name of a player. |
sm_resetcvar | cvar | Resets CVAR value back to default. |
sm_say | chat | Sends a say-chat message to all players. |
sm_silence | chat | Performs both a gag and mute on the target(s). |
sm_slap | slay | 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_slay | slay | Kills a player. |
sm_tsay | chat | 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. | ||
sm_ungag | chat | Allows the target(s) to use messagemode/say chat again. |
sm_unmute | chat | Allows the target(s) to use voice chat again. |
sm_unsilence | chat | Perfoms both an ungag and unmute on the target(s). |
Vote Commands
Command | Access | Description |
sm_vote | vote | Starts an arbitrary vote with the given arguments as answers. |
sm_votealltalk | vote | Starts a vote to change the value of sv_alltalk. |
sm_voteban | vote, ban | Starts a vote to ban a single player for thirty minutes. |
sm_voteburn | vote, slay | Starts a vote to burn a single player. |
sm_voteff | vote | Starts a vote to change the value of mp_friendlyfire. |
sm_votegravity | vote | Initiates a vote to change the value of sv_gravity. |
sm_votekick | vote, kick | Starts a vote to kick a single player. |
sm_votemap | vote, map | Starts a vote to change the map. |
sm_voteslay | vote, slay | Starts a vote to slay a single player. |