Getting started
s2script is a TypeScript plugin runtime for Source 2 games (Counter-Strike 2 first), loaded via Metamod:Source.
Prerequisites
- A Counter-Strike 2 dedicated server (Linux x86-64).
- Metamod:Source 2.0 installed under
game/csgo/addons/metamod/.
Install the runtime
- Download the latest
s2script-cs2-linux-*.zipfrom the Download page (or GitHub Releases). - Extract into
game/csgo/soaddons/overlays in place. - Patch
gameinfo.giso Metamod is the first SearchPath:
Game csgo/addons/metamod - Ensure
addons/s2script/configsandaddons/s2script/dataare writable. - 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.