VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches

VoltMod is a C++23 framework for Counter-Strike 2 server plugins. The engine loads it as server_valve, with or without Metamod, and one process-wide host, voltmod.dll / voltmod.so, loads your plugins from addons/voltmod/plugins/<name>/. Each plugin gets one VoltMod::Runtime per load cycle with commands, players, menus, messages, engine access, HTTP and an optional database.

Public APIs may change between versions.

Start here

  • Getting started - create a plugin, build it, install it, load it
  • Writing a plugin - the plugin entry point, plugin.json, the load report, logging, install layout
  • Running the host - the volt commands, dependencies, refusals, troubleshooting
  • Architecture - modules, the host/plugin model, lifetimes and boundaries
  • CS2 plugin frameworks - compare languages, runtimes and tooling with other CS2 frameworks

Writing a plugin

Game API

Tooling

License

VoltMod is released under the MIT License.