Skip to content

Releases: Source2ZE/MultiAddonManager

v1.4

04 May 17:15
Compare
Choose a tag to compare

Changelog

  • The plugin can now define addons to be mounted by all or specific clients, for example this can be used in servers (with custom plugin logic) that have content addons in different languages.

    An important distinction is that such addons will not be mounted or downloaded by the server; they're strictly client-only addons.

    To facilitate this new functionality, several new cvars and commands were added:

mm_client_extra_addons <ids> // The workshop IDs of extra client-side only addons that will be loaded by all clients, separated by commas. These addons are not loaded or downloaded by the server. Changes will only apply to future clients.
mm_cache_clients_duration <0/seconds> (default 0) How long to cache clients' downloaded addons list, pass 0 for forever.

mm_add_client_addon <id> Add a workshop ID to the global client-only addon list.
mm_remove_client_addon <id> Remove a workshop ID from the global client-only addon list.

Adding an addon to a specific client's addon list can only be done via the interface, which has the following new functions:

// Check whether the server is connected to the game coordinator, and therefore is capable of downloading addons.
// Should be called before calling DownloadAddon.
virtual bool HasUGCConnection() = 0;
	
// Functions to manage addons to be loaded only by a client. 
// Pass a steamID value of 0 to perform the operation on a global list instead, and bRefresh to 'true' to trigger a reconnect if necessary.
virtual void AddClientAddon(const char *pszAddon, uint64 steamID64 = 0, bool bRefresh = false) = 0;
virtual void RemoveClientAddon(const char *pszAddon, uint64 steamID64 = 0) = 0;
virtual void ClearClientAddons(uint64 steamID64 = 0) = 0;

v1.3.5

17 Feb 08:00
Compare
Choose a tag to compare

Changelog

  • The plugin will now take into account multi-chunk vpk addons that Valve introduced after the 13/02/2025 update.

NOTE: If you are running metamod older than version 1323 you will want to get the pre1323 release instead.

v1.3.4

03 Feb 12:05
Compare
Choose a tag to compare

Changelog

  • Added functionality to block all "loop shutdown" disconnect messages, enabled with mm_block_disconnect_messages 1 in the config.

v1.3.3

24 Oct 20:55
Compare
Choose a tag to compare

Changelog

  • Potentially fixed an uncommon crash whenever a map is loaded or templates within a map are spawned.

v1.3.2

03 Oct 22:30
Compare
Choose a tag to compare

Changelog

  • Fix for 02/10/2024 update
  • IMPORTANT: The binaries are now in bin/ instead of bin/<platform>/, make sure you replace all the files in the release zips.

v1.3.1

13 Sep 03:37
Compare
Choose a tag to compare

Changelog

  • Fixed a mistake that made mm_cache_clients_with_addons useless.

v1.3

12 Sep 15:38
Compare
Choose a tag to compare

Changelog

  • IMPORTANT: Moved the binary builds under bin/ instead of bin/<platform>/, make sure you replace all the files in the release zips.

  • Added mm_cache_clients_with_addons (default 0) which will cache client SteamIDs when they get all addons, this will prevent reconnects if they rejoin the server or the map changes. The client cache is reset if the server changes its addon list or restarts.

v1.2.12

09 Aug 18:12
Compare
Choose a tag to compare

Changelog

  • Fix for 08/08/2024 update

v1.2.11

31 Jul 03:14
Compare
Choose a tag to compare

Changelog

  • Fixed a regression when using 1 addon on a default map.

v1.2.10

28 Jul 00:47
Compare
Choose a tag to compare

Changelog

  • Potentially fix the "limbo" bug caused by the 25/07/2024 CS2 update.