Installation

Install MM-Loader on its own as a Metamod:Source plugin, and add language modules and plugins with mamba.

Requirements

Metamod:Source 2.x installed on the server.

Installation

Download

Download the archive for your platform from the MM-Loader releases: plugify-metamod-loader-build-linuxsteamrt64-<commit>.tar.bz2 or plugify-metamod-loader-build-win64-<commit>.tar.bz2.

Extract into game/

The archive holds the csgo/ folder. Extract it into the game/ folder of the server, so it merges with game/csgo/:

tar -xjf plugify-metamod-loader-build-linuxsteamrt64-<commit>.tar.bz2 -C /path/to/server/game

On Windows, extract it with any archiver that opens .tar.bz2, for example 7-Zip. The result:

On first start Plugify creates envs/, configs/, data/, logs/ and pkgs/ next to bin/.

Start the server

Start or restart the server as usual.

Check

In the server console, or over rcon:

meta list

Plugify is in the list of Metamod plugins:

Listing 1 plugin:
  [01] plugify-metamod-loader (2.1.5) by untrustedmodders

You can also check the Plugify version:

plg --version

Language modules and plugins

The host comes without language modules and plugins. Install them with mamba into the modules and plugins environments. Without a build there is no .condarc with channels, so pass the channel of each package with -c.

The base Source 2 plugins and the C++ module they need:

plg unload
mamba create -n modules
mamba install -n modules -c "https://untrustedmodders.github.io/plugify-module-cpp/" plugify-module-cpp
mamba create -n plugins
mamba install -n plugins -c "https://untrustedmodders.github.io/plugify-plugin-configs/" plugify-plugin-configs
mamba install -n plugins -c "https://untrustedmodders.github.io/plugify-plugin-polyhook/" plugify-plugin-polyhook
mamba install -n plugins -c "https://untrustedmodders.github.io/plugify-plugin-s2sdk/" plugify-plugin-s2sdk
plg load
  • plugify-module-cpp: runs plugins written in C++;
  • plugify-plugin-configs: configuration files for plugins;
  • plugify-plugin-polyhook: function hooking;
  • plugify-plugin-s2sdk: the Source 2 SDK, the game functions for plugins.

Modules for other languages, only the ones you need:

plg unload
# C#
mamba install -n modules -c "https://untrustedmodders.github.io/plugify-module-dotnet/" plugify-module-dotnet
# Python
mamba install -n modules -c "https://untrustedmodders.github.io/plugify-module-python3/" plugify-module-python3
# JavaScript
mamba install -n modules -c "https://untrustedmodders.github.io/plugify-module-v8/" plugify-module-v8
# Go
mamba install -n modules -c "https://untrustedmodders.github.io/plugify-module-golang/" plugify-module-golang
# Lua
mamba install -n modules -c "https://untrustedmodders.github.io/plugify-module-lua/" plugify-module-lua
# Rust
mamba install -n modules -c "https://untrustedmodders.github.io/plugify-module-rust/" plugify-module-rust
plg load

Check what is loaded:

plg modules
plg plugins

Troubleshooting

  • Plugify is not in meta list. Check that Metamod itself works and that csgo/addons/metamod/plugify.vdf and the library in csgo/addons/plugify/bin/<platform>/ are in place. Without micromamba next to the library the plugin doesn't load.
  • The server crashes on start. Check the server log for errors of Plugify or Metamod, and that your Metamod build is recent enough for the current game version.
  • plg is not a known command. Plugify didn't load: check meta list.