|
CS2-Kit
C++23 library for CS2 Metamod:Source plugin development
|
Work in Progress — This library is under active development. The API is unstable and subject to breaking changes. Features may be added, removed, or redesigned without notice.
CS2-Kit is a C++23 library for building Counter-Strike 2 server plugins with Metamod:Source 2.0. It provides reusable abstractions over the HL2SDK so plugin developers can focus on game logic instead of engine internals.
| Module | Namespace | Description |
|---|---|---|
| Core | CS2Kit::Core | Singleton base, scheduler, logging (built-in ConsoleLogger), path resolution |
| Commands | CS2Kit::Commands | Chat command system with fluent builder, permissions, and dispatch |
| Menu | CS2Kit::Menu | WASD-navigated center-HTML menu framework with builder pattern |
| Players | CS2Kit::Players | Connected-player tracking with slot and SteamID lookup |
| Sdk | CS2Kit::Sdk | Engine SDK wrappers: entities, schema, signatures, convars, events, messages |
| Utils | CS2Kit::Utils | SteamID conversions, string utilities, time formatting, translations, colored chat output |
CS2-Kit is released under the MIT License.