You don’t need all the plug-ins included in Lange’s release, MatchMod will handle the functions in the soap_tournament.smx file and it is recommended you disable it to prevent conflicts as shown below.
- /addons/sourcemod/config
- soap.cfg
- /addons/sourcemod/plugins
- soap_tf2dm.smx
- /addons/sourcemod/plugins/disabled
-
- soap_tournament.smx
Now to utilize this with MatchMod, you will want to unload the plugin before a match begins. This is what the prematch.cfg is designed for.
The Prematch.cfg should look like:
sm plugins unload soap_tf2dm
sm plugins load_lock
say Disabled SOAP DM
What that file just did, was unload the TF2DM plugin, then cause a lock to occur to prevent them from loading.
After the match completed we want to restore the server plugins, so postmatch.cfg should look like:
sm plugins load_unlock
sm plugins refresh
say Enabling SOAP DM
We simply removed the lock and have Sourcemod refresh the plugins to reload anything that isn’t already loaded.
What this feature is really designed to do, is allow server operators who have public server or more social focused community the ability to use their existing servers to run a match, temporarily disabling any plugins that might interfere with the match, then re-enabling then after its over.