A MetaMod plugin that allows you to use multiple workshop addons at once and have clients download them.
-
mm_extra_addons <ids>
The workshop IDs of extra addons separated by commas, addons will be downloaded (if not present) and mounted (e.g. "3090239773,3070231528"). Once downloads are done, the map is automatically reloaded so content can be precached. -
mm_extra_addons_timeout <seconds> (default 10)
How long until clients are timed out in between connects for extra addons, timed out clients will reconnect for their current pending download. -
mm_print_searchpaths
Print all the search paths currently mounted by the server. -
mm_addon_mount_download <0/1> (default 0)
If enabled, the plugin will initiate an addon download every time even if it's already installed, this will guarantee that updates are applied immediately. -
mm_cache_clients_with_addons <0/1> (default 0)
If enabled, the plugin will keep track of client SteamIDs that have fully joined to prevent sending them addons when they already have them (i.e. when they rejoin or the map changes). -
mm_block_disconnect_messages <0/1> (default 0)
If enabled, the plugin will block ALL disconnect events with the "loop shutdown" reason. This will prevent disconnect chat messsages whenever someone reconnects because they're getting an addon. -
mm_download_addon <id>
Download an addon manually.
Both of these commands require a map reload to apply changes.
mm_add_addon <id>
Add an addon to the list, but don't mount.mm_remove_addon <id>
Remove an addon from the list, but don't unmount.
- Include the public header.
- Query the interface in
AllPluginsLoaded
like this:
IMultiAddonManager *pInterface = (IMultiAddonManager*)g_SMAPI->MetaFactory(MULTIADDONMANAGER_INTERFACE, nullptr, nullptr);
- Install Metamod
- Download the latest release package for your OS
- Extract the package contents into
game/csgo
on your server - Edit the config file at
game/csgo/cfg/multiaddonmanager/multiaddonmanager.cfg