sws2-authoring
Create, extend, port or structure SwiftlyS2 C# plugins for Counter-Strike 2 (CS2). Covers the swplugin template, reusing existing framework methods and object properties, feature folders and partial classes, commands and permissions, events and game hooks, per-player state, network messages, convars, JSONC configuration, databases, shared plugin APIs, dependency injection, Steamworks, tests, build and publish. Use for any SwiftlyS2 or CS2 server plugin work, including porting from CounterStrikeSharp and reviewing plugin code for redundant IsValid/IsAlive/team checks, even if the user only says "make a plugin", "add a command", "clean this up" or describes a gameplay feature.
Pinned to revision b8ce269292be, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/sws2-authoring/SKILL.md
- skills/sws2-authoring/references/architecture/convars.md
- skills/sws2-authoring/references/architecture/csharp.md
- skills/sws2-authoring/references/architecture/dependency-injection.md
- skills/sws2-authoring/references/architecture/framework-reuse.md
- skills/sws2-authoring/references/architecture/game-values.md
- skills/sws2-authoring/references/architecture/guarantees.md
- skills/sws2-authoring/references/architecture/integration.md
- skills/sws2-authoring/references/architecture/layout.md
- skills/sws2-authoring/references/commands-permissions.md
- skills/sws2-authoring/references/delivery.md
- skills/sws2-authoring/references/events-hooks.md
- skills/sws2-authoring/references/netmessages.md
- skills/sws2-authoring/references/player-state.md
- skills/sws2-authoring/references/porting.md
- skills/sws2-authoring/references/server-resources.md
- skills/sws2-authoring/references/steamworks.md
- skills/sws2-authoring/references/terminology.md
Every link opens the file at its source, pinned to the revision this page describes.