Basic TF2 Admin Commands (sourcemod)

These are basic commands found in plugins that have been deemed safe for War Mode; they provide simple functionality for administering your server.

Command Plugin Access Format Description

sm_addban basebans rcon [reason] Adds a Steam ID to Source’s ban list.
sm_admin adminmenu admin Displays the admin menu.
sm_ban basebans ban [reason] Bans a client.
sm_banip basebans ban [reason] Adds an IP address to Source’s ban list. Only someone with rcon access can ban an arbitrary IP.
sm_cancelvote basecommands vote Cancels any vote in progress.
sm_cvar basecommands cvar [value] 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 basecommands config Executes a config file (path not needed, but extension is).
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_kick basecommands kick [reason] Kicks a player.
sm_map basecommands map Changes the current map.
sm_rcon basecommands rcon Executes the argument string via rcon. You will only see RCON output on SourceMod 1.4 or above.
sm_reloadadmins basecommands config Refreshes the Admin cache from all sources.
sm_unban basebans unban Unbans a Steam ID or an IP.

sm_who basecommands admin [#userid|name] Lists all users and their access rights, or a specific user’s access rights.

Leave a Comment

%d bloggers like this: