A server-side modding framework for Counter-Strike 2 implementing a .NET 10 scripting layer on top of Metamod:Source.
This is a maintained fork of roflmuffin/CounterStrikeSharp, tailored for modern server environments and extended stability:
- .NET 10 Runtime: Updated scripting layer running on .NET 10.
- Extended Platform Support: Built and tested for Windows, Debian 13, and Ubuntu 24.04.
- CommandLine API: Added support for
GetCommandLineString. - Automatic GameData Updates: Keeps offsets and signatures up-to-date automatically after CS2 updates.
- Download the latest build for your OS from the Releases page.
(Choose the
with-runtimearchive if this is your first time installing or if you don't have the .NET 10 runtime installed globally). - Extract the contents into your server's
game/csgo/directory. - Ensure Metamod:Source is installed and configured properly.
For general plugin development and configuration guides, refer to the official CounterStrikeSharp Documentation.
Need help, found a bug, or have a feature idea? Join the community Discord server:
- Questions & Setup Help: Ask in the support channels on Discord.
- Bug Reports: Open a GitHub Issue with your server logs, plugin version, and steps to reproduce. (Feel free to do a quick check on Discord first).
- Feature Requests: Post them on Discord or open an issue.
Please do not send support requests via direct message. Asking in public channels ensures others can help and find the answers later.
Building requires CMake and a compatible C++ compiler along with the .NET 10 SDK.
# Clone the repository
git clone [https://github.com/mrc4tt/CounterStrikeSharp.git](https://github.com/mrc4tt/CounterStrikeSharp.git)
cd CounterStrikeSharp
# Initialize and update submodules
git submodule update --init --recursive
# Generate CMake build files
mkdir build && cd build
cmake ..
# Build the project
cmake --build . --config Release- roflmuffin for creating the original CounterStrikeSharp framework.
- SourceMod & Source.Python for pioneering Source engine plugin architecture.
- FiveM for inspiration on the scripting context and native system.
- CS2Fixes for early CS2 reverse-engineering work.
CounterStrikeSharp is licensed under the GNU General Public License v3.0. A special exemption is outlined regarding published plugins, which you can find in the LICENSE file.