Skip to content

A set of utilities for players and admins.

Notifications You must be signed in to change notification settings

Serider-Lounge/SM-Utilities

Repository files navigation

SM Utilities

Useful commands and includes for server owners & plugin developers alike.

Includes

Serider

Include Description
chat.inc Chat utilities
steam.inc Steam utilities
tf2.inc Team Fortress 2 utilities
ℹ️ Compatible with mods too!
shared.inc Source Engine utilities

Plugins

TF2 Classified Tools

ConVars

ConVar Default Description
sm_convert_mobster_vip 1 Convert Mobster VIP to TF2C VIP.
sm_truce_active 0 Toggle truce mode.

Admin Commands

Command Usage Description
sm_setteam / sm_team [target] <team> Set player's team
sm_setclass / sm_class [target] <class> Set player's class
sm_respawn [target] Force respawn player(s)
sm_health [target] <amount> Set player's health
sm_maxhealth [target] <amount> Set player's max health
sm_currency [target] <amount> Set player's currency
sm_scale [target] <amount> Set player's scale
sm_addattr / sm_addattribute [target] <attribute> [value] [duration] Add attribute to player
sm_removeattr / sm_removeattribute [target] <attribute> Remove attribute from player
sm_getattr / sm_getattribute [target] <attribute> Get attribute value from player
sm_fireinput <target> <input> <value> Fire entity input on player
sm_hint <target> <message> <duration> [icon] Show instructor hint to player
sm_addcond [target] <condition> [duration] Add condition to player
sm_removecond [target] <condition> Remove condition from player

Player Commands

Command Description
sm_fp / sm_firstperson Switch to first-person view
sm_tp / sm_thirdperson Switch to third-person view

Target Filters

Filter Description
@red Target red players
@blue Target blue players
@green Target green players
@yellow Target yellow players
@vips Target civilian players (VIPs)

🗺️ Map Utilities

Admin Commands

Command Description
sm_reloadmap Reloads the current map

Server Commands

Removed FCVAR_CHEATS flags off the following commands:

Command
nav_generate
nav_generate_incremental
sm_nav_generate
sm_nav_generate_incremental
bot_kick

🖥️ Server Utilities

Automatically reconnects clients on server restart.

⚔️ Friendly-Fire

Automatically toggles friendly-fire between rounds for supported games.

About

A set of utilities for players and admins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published