# roflmuffin/CounterStrikeSharp

CounterStrikeSharp allows you to write server plugins in C# for Counter-Strike 2/Source2/CS2

Repository: https://github.com/roflmuffin/CounterStrikeSharp
Canonical: https://ross.abutalabs.com/products/counterstrikesharp
Homepage: https://docs.cssharp.dev
Language: C#
License: NOASSERTION
License Family: other
Topics: counter-strike-2, metamod-source, source2, cs2
Last push: 2026-08-26T13:33:51+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 75
- inputs: {"age_days": 1063, "days_push": 7, "days_rel": 8, "gap_med": 2.0, "n_releases_24m": 109}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1339, forks 222 (observed 2026-08-28T04:04:25.952287+00:00)

## What it is
CounterStrikeSharp is a server-side modding framework for Counter-Strike 2 that implements a .NET 8 scripting layer on top of a Metamod:Source plugin. It lets developers write CS2 game server plugins in C# with access to commands, events, timers, listeners, and schema data.

## Use cases
- write cs2 server plugins in c#
- create custom chat and console commands for counter-strike 2
- handle game events like player_death on a cs2 server
- build server-side mods for counter-strike 2
- run timers and listeners on a cs2 gameserver
- access player data like weapons and money from a plugin

## When to choose
- you want to develop CS2 server plugins in C# instead of C++
- you need a maintained, testable scripting layer over Metamod:Source for Source 2
- you want hot-reloadable plugins with events, timers, and command handling

## When to avoid
- you are modding CS:GO or Source 1 games rather than CS2
- you need client-side mods or skin changers
- you require fully reverse-engineered ConVar behavior, which is not yet supported

## Facets
- artifact type: framework
- maturity: active
- function: plugin-system, sdk, developer-tools
- domain: gaming-tools, developer-tools
- platform: windows, cpp, dotnet
- tags: counter-strike-2, cs2, metamod-source, source2, server-plugins, c-sharp, game-server-modding, game-development, linux

## Member repositories
- roflmuffin/CounterStrikeSharp (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:25.952287+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:43:56.257570+00:00, confidence not recorded.
  - readme: https://github.com/roflmuffin/CounterStrikeSharp (fetched 2026-08-28T04:04:25.952287+00:00, sha f4b4d0f1eda6)
  - homepage: https://docs.cssharp.dev (fetched 2026-08-29T12:02:57.485149+00:00, sha efd1704e5623)
  - site_page: https://docs.cssharp.dev/docs/guides/getting-started.html (fetched 2026-08-29T12:02:57.494839+00:00, sha a62d2b90cf6d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
