Getting started

Getting started

s2script is a TypeScript plugin runtime for Source 2 games (Counter-Strike 2 first), loaded via Metamod:Source.

Prerequisites

  1. A Counter-Strike 2 dedicated server (Linux x86-64).
  2. Metamod:Source 2.0 installed under game/csgo/addons/metamod/.

Install the runtime

  1. Download the latest s2script-cs2-linux-*.zip from the Download page (or GitHub Releases).
  2. Extract into game/csgo/ so addons/ overlays in place.
  3. Patch gameinfo.gi so Metamod is the first SearchPath:
Game    csgo/addons/metamod
  1. Ensure addons/s2script/configs and addons/s2script/data are writable.
  2. Restart the server and confirm with meta list.

Base plugins

The release zip includes the SourceMod-parity suite (basecommands, basechat, playercommands, antiflood, adminhelp, basecomm, basebans, reservedslots, basetriggers, funcommands, clientprefs, adminmenu, basevotes, zones).

Opt-in plugins (nominations, rockthevote, nextmap, funvotes) ship under disabled/ in the repo — build and drop the .s2sp yourself.

Next

s2script — Source 2 plugin framework

GitHub