Introduction
Source2Toolkit is a server-side development toolkit for Counter-Strike 2, built on top of MetaMod:Source.
It provides a powerful scripting and extension layer that enables developers to build plugins ranging from simple gameplay tweaks to advanced engine-level modifications.
Why should you choose Source2Toolkit?
Source2Toolkit is designed with engine-level access and performance in mind. It combines low-level control with high-level utilities, allowing you to work directly with Source 2 internals while still keeping development efficient.
The toolkit focuses on:
- Direct interaction with the game’s memory and schema system
- Minimal overhead and near-native execution
- Clean and modern API design for plugin development
- Flexibility without artificial limitations
A list of features:
- Commands: Register and handle console or chat commands with full control over execution.
- ConVars: Access, modify and replicate console variables across clients.
- Entity System: Work with entities using schema-based access and native structures.
- Events: Hook engine and game-level events with pre/post execution control.
- GameEvents: Fully typed game event system for safe and predictable handling.
- Memory: Direct memory access and manipulation for advanced use cases.
- Hooks: Inline and virtual function hooking with pattern scanning support.
- Schema System: Access Source 2 SDK classes, offsets and fields through schema.
- Scheduler: Timers and next-frame execution utilities.
- Tracing: Built-in trace utilities for raycasts and collision queries.
- GameConfig: Signature and offset management system for cross-version compatibility.
- Dynamic Libraries: Load and interact with external modules and engine interfaces.
Source2Toolkit is an open-source project, designed to give developers full control over their server environment without unnecessary restrictions.