Directory Structure

Where Plugify, its packages, your settings, plugin data and logs live on a Counter-Strike 2 server.

Everything Plugify uses lives in one folder of the server: game/csgo/addons/plugify/.

Folders

FolderWhat it holdsWho writes it
bin/The package manager micromamba. With the Metamod host, the Plugify library is here as wellThe host
envs/Language modules and plugins. Each subfolder is searched for manifests (*.pmodule, *.pplugin)mamba and you
configs/Your settings, one folder per pluginYou
data/Translations and saved state of plugins, one folder per pluginPlugins and you
logs/Log files. Plugify itself writes to the server consolePlugins, and the crash reporting of S2-Launcher
pkgs/Downloaded packages and temporary files of plugins. Safe to deletemamba and plugins

The envs folder

Each folder inside envs/ is one place where Plugify looks for modules and plugins:

  • envs/modules and envs/plugins are conda environments. mamba installs packages into them, and one environment holds many plugins side by side. The conda-meta/ folder inside records what is installed.
  • Any other folder works too. A plugin without a package goes into a folder of its own, for example envs/my_plugin/, with its manifest in the root of that folder.

Manifests are found in the root of each folder in envs/, not deeper. Folders named disabled, temp and tmp are skipped, so moving a plugin into envs/disabled/ turns it off without deleting it.

Files of a plugin

A plugin named <name> keeps its files in fixed places:

PathPurposeOn update
envs/<environment>/<name>.<kind>.jsoncDefaults from the packageReplaced
configs/<name>/<name>.<kind>.jsoncYour editsKept
data/<name>/<name>.<kind>.jsoncTranslations and saved stateKept
pkgs/<name>/Temporary filesMay be deleted

<kind> is settings, gamedata or translations. How these files override each other is described on the Configuration page.

Files in the root

  • .condarc: the channels mamba installs and updates packages from.
  • build.json: which build the host came with, and the host and core versions.

Outside the Plugify folder

The host itself lives next to the game binaries, and its place depends on the host:

HostFiles
Launchergame/bin/<platform>/s2launcher and libplugify
Runtimegame/csgo/bin/linuxsteamrt64/libserver_valve.so, game/bin/linuxsteamrt64/libplugify.so
Metamodgame/csgo/addons/metamod/plugify.vdf, the library in addons/plugify/bin/<platform>/