A Competitive Team Fortress 2 Plugin
Admin Commands
- sm_matchmod_version
- Outputs version number of mod (useful when the automatic update feature is used)
- Example: sm_matchmod_version
- sm_matchmod_begin
- Begins match sequence. This causes all the configuration variables to be read. Most cannot be changed once the sequence has begun.
- Example: sm_matchmod_begin
- sm_matchmod_end
- Ends the match sequence during the pre-game phase since mp_tournament_restart will not trigger it in this phase.
- Example: sm_matchmod_end
- sm_matchmod_config
- Sets the matchmod configuration. Must be done before the sm_matchmod_begin command. This calls files that reside in cfg/matchmod folder.
- Syntax: sm_matchmod_config <configname>
- Example: sm_matchmod_config pug-push
- sm_matchmod_teamname
- Allows an admin to set either team name up until the beginning of the first period of play.
- Syntax: sm_matchmod_teamname <team> “<team name>”
- Example: sm_matchmod_teamname red “Red Dragons”
- sm_scrim
- Allows an admin to start a scrim immediately on the “pug” ruleset.
- Syntax: sm_scrim <password>
- Example: sm_scrim scrimpw
- sm_match
- Allows an admin to start a match immediately on any given ruleset.
- Syntax: sm_match <league> <password>
- Example: sm_match cevo cevomatch
- sm_extend
- Allows an admin to extend the current match by the time specified
- Syntax: sm_extend <time>
- Extend: sm_extend 10
Client Commands
- sm_teamname
- Allows players to set their own team name until beginning of first half. A player on red and only change the red teams name.
- Syntax: sm_teamname “<Team Name>”
- Example: sm_teamname “Red Dragons”
- sm_readystatus
- Allows a player to check the ready status of all players via a menu.
- Example: sm_readystatus
- sm_ready
- Issued by a player to flag his or her self as ready for the match to begin.
- Example: sm_ready
- sm_notready or sm_unready
- Issued by a player to flag his or her self as not ready for the match to begin
- Example: sm_notready
- sm_start
- Issued by a player to allow his team to begin the match even if they are a player down.
- Example: sm_start