Sourcemod plugins for Team Fortress 2
Extension of F2's Pause plugin that automatically pauses the game when a player disconnects. Allows for players to reconnect in a similar state as when they DC'd.
Fixed issue where plugin did not disable after matches ending due to time limit
Initial upload
Place AdvancedPause.smx in /tf/addons/sourcemod/plugins/
Allows players to use !gg or /gg command to concede a match. The match will end after 10 seconds unless someone on the team enters !cancel or /cancel to stop the countdown. Enable or disable with gg_enabled
ConVars for customization
gg_enabled - Sets whether calling gg is enabled.
gg_vote - Sets whether a team must vote on gg.
gg_winnerconcede - Sets whether the winning team can call gg.
gg_winthreshold - Sets the number of round wins a team must win before their opponents may call gg.
gg_windifference - Sets the difference in round wins required for the losing team to call gg.
gg_timeleft - Sets the number of minutes left in the game before a team can call gg.
Place ggconcede.smx in /tf/addons/sourcemod/plugins/
Added gg_vote ConVar and voting functionality. Fixed similar bug in which plugin would stay active after games ending due to time limit.
Initial upload
Allows players to add a prefix / clan tag to all members of your team using /prefix [tag]
Clear prefix with /prefix
Enable / disable with sm_teamprefixes_enabled
Plugin may be disabled on map change with sm_teamprefixes_mapchange_disabled
Initial upload
Applies prefix to players after they manually change their name
Added sm_teamprefixes_mapchange_disabled convar to disable plugin on map change
SOAPDM + Reserved slots plugin:
when soap_tournament detects the round start, it executes tf/cfg/sourcemod/soap_live.cfg which unloads a number of plugins. If reservedslots is unloaded, the cvar sm_teamprefixes_enabled will be set to 0. To fix this, comment out the line:
//sm plugins unload reservedslots
Place TeamPrefixes.smx in /tf/addons/sourcemod/plugins/
Use sm_jc to surprise your friends with John Cena. Players must have the custom files downloaded for the effect to work.
Remember, with great power comes great responsibility.
Initial upload
Place JohnCena.smx in /tf/addons/sourcemod/plugins/
Add jc.mp3, jcm.vtf, jcm.vmt to your server in the following locations:
tf/materials/custom/jc.vtf
tf/materials/custom/jc.vmt
tf/sound/custom/jc.mp3
Use sm_downloader plugin to allow players to download these files